未验证 提交 a1ffc096 编写于 作者: M Marcin Maciaszczyk 提交者: GitHub

Bump versions (#5497)

上级 22f6ccb5
......@@ -42,7 +42,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: 1.14.4
go-version: 1.15.1
- name: Setup NodeJS
uses: actions/setup-node@v1.4.2
......@@ -94,7 +94,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: 1.14.4
go-version: 1.15.1
- name: Setup NodeJS
uses: actions/setup-node@v1.4.2
......
......@@ -52,7 +52,7 @@ jobs:
- name: Install Dependencies
shell: bash
run: |
[ ! -d "node_modules" ] && npm ci || node aio/scripts/version.js && command -v golangci-lint >/dev/null 2>&1 || { curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.23.6; } && go mod download
[ ! -d "node_modules" ] && npm ci || node aio/scripts/version.js && command -v golangci-lint >/dev/null 2>&1 || { curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.30.0; } && go mod download
- name: Check License
shell: bash
......
......@@ -53,7 +53,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: 1.14.4
go-version: 1.15.1
- name: Setup NodeJS
uses: actions/setup-node@v1.4.2
......@@ -71,7 +71,7 @@ jobs:
- name: Install Dependencies
shell: bash
run: |
[ ! -d "node_modules" ] && npm ci || node aio/scripts/version.js && command -v golangci-lint >/dev/null 2>&1 || { curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.23.6; } && go mod download
[ ! -d "node_modules" ] && npm ci || node aio/scripts/version.js && command -v golangci-lint >/dev/null 2>&1 || { curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.30.0; } && go mod download
- name: Install Codegen
shell: bash
......@@ -104,7 +104,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: 1.14.4
go-version: 1.15.1
- name: Setup NodeJS
uses: actions/setup-node@v1.4.2
......@@ -122,7 +122,7 @@ jobs:
- name: Install Dependencies
shell: bash
run: |
[ ! -d "node_modules" ] && npm ci || node aio/scripts/version.js && command -v golangci-lint >/dev/null 2>&1 || { curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.23.6; } && go mod download
[ ! -d "node_modules" ] && npm ci || node aio/scripts/version.js && command -v golangci-lint >/dev/null 2>&1 || { curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.30.0; } && go mod download
- name: Run Frontend Unit Tests
uses: GabrielBB/xvfb-action@v1.2
......@@ -159,7 +159,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: 1.14.4
go-version: 1.15.1
- name: Setup NodeJS
uses: actions/setup-node@v1.4.2
......@@ -177,7 +177,7 @@ jobs:
- name: Install Dependencies
shell: bash
run: |
[ ! -d "node_modules" ] && npm ci || node aio/scripts/version.js && command -v golangci-lint >/dev/null 2>&1 || { curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.23.6; } && go mod download && npm install cypress
[ ! -d "node_modules" ] && npm ci || node aio/scripts/version.js && command -v golangci-lint >/dev/null 2>&1 || { curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.30.0; } && go mod download && npm install cypress
- name: Run E2E Tests
run: npm run cluster:start && npm run e2e
......@@ -2,10 +2,9 @@
# Read more at: https://github.com/golangci/golangci-lint#config-file
run:
deadline: 30m
timeout: 30m
issues-exit-code: 1
tests: true
modules-download-mode: readonly
linters:
disable-all: true
enable:
......
......@@ -19,7 +19,7 @@
# golang is based on debian:jessie
# Specify version to clarify which version we use.
FROM golang:1.13-buster
FROM golang:1.15.1-buster
# Install Node.js. Go is already installed.
# A small tweak, apt-get update is already run by the nodejs setup script,
......
......@@ -9,7 +9,7 @@ Make sure the following software is installed and added to the $PATH variable:
* Curl 7+
* Git 2.13.2+
* Docker 1.13.1+ ([installation manual](https://docs.docker.com/engine/installation/linux/docker-ce/ubuntu/))
* Golang 1.13.9+ ([installation manual](https://golang.org/dl/))
* Golang 1.15+ ([installation manual](https://golang.org/dl/))
* Dashboard uses `go mod` for go dependency management, so enable it with running `export GO111MODULE=on`.
* Node.js 12+ and npm 6+ ([installation with nvm](https://github.com/creationix/nvm#usage))
* Gulp.js 4+ ([installation manual](https://github.com/gulpjs/gulp/blob/master/docs/getting-started/1-quick-start.md))
......
module github.com/kubernetes/dashboard
go 1.13
go 1.15
replace k8s.io/apiextensions-apiserver => k8s.io/apiextensions-apiserver v0.19.0
require (
github.com/docker/distribution v2.7.1+incompatible
github.com/emicklei/go-restful v2.12.0+incompatible
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
github.com/opencontainers/go-digest v1.0.0 // indirect
github.com/prometheus/client_golang v1.7.0
github.com/prometheus/client_golang v1.7.1
github.com/spf13/pflag v1.0.5
golang.org/x/net v0.0.0-20200602114024-627f9648deb9
golang.org/x/net v0.0.0-20200707034311-ab3426394381
golang.org/x/text v0.3.3
gopkg.in/igm/sockjs-go.v2 v2.1.0
gopkg.in/square/go-jose.v2 v2.4.1
gopkg.in/yaml.v2 v2.3.0
k8s.io/api v0.18.4
k8s.io/apiextensions-apiserver v0.18.4
k8s.io/apimachinery v0.18.4
k8s.io/client-go v0.18.4
k8s.io/api v0.19.0
k8s.io/apiextensions-apiserver v0.19.0
k8s.io/apimachinery v0.19.0
k8s.io/client-go v0.19.0
k8s.io/heapster v1.5.4
)
此差异已折叠。
......@@ -36,7 +36,7 @@
"cluster:start": "./aio/scripts/start-cluster.sh",
"cluster:stop": "./aio/scripts/stop-cluster.sh",
"check": "concurrently \"npm run check:backend\" \"npm run check:codegen\" \"npm run check:frontend\" \"npm run check:i18n\"",
"check:backend": "golangci-lint run -c .golangci.yml src/app/backend/...",
"check:backend": "golangci-lint run -c .golangci.yml ./src/app/backend/...",
"check:codegen": "aio/scripts/verify-codegen.sh",
"check:frontend": "concurrently \"npm run check:frontend:ts\" \"npm run check:frontend:scss\" \"npm run check:frontend:html\"",
"check:frontend:ts": "gts check",
......@@ -45,7 +45,7 @@
"check:license": "license-check-and-add check",
"check:i18n": "ng xi18n --no-progress --outFile ../i18n/messages.xlf && aio/scripts/xliffmerge.sh",
"fix": "concurrently \"npm run fix:backend\" \"npm run fix:frontend\" \"npm run fix:license\" \"npm run fix:i18n\"",
"fix:backend": "golangci-lint run -c .golangci.yml --fix src/app/backend/...",
"fix:backend": "golangci-lint run -c .golangci.yml --fix ./src/app/backend/...",
"fix:frontend": "concurrently \"npm run fix:frontend:ts\" \"npm run fix:frontend:scss\" \"npm run fix:frontend:html\"",
"fix:frontend:ts": "gts fix",
"fix:frontend:scss": "scssfmt -r 'src/**/*.scss'",
......@@ -54,7 +54,7 @@
"fix:i18n": "ng xi18n --outFile ../i18n/messages.xlf && aio/scripts/xliffmerge.sh",
"clean": "rm -rf .go_workspace .tmp coverage dist npm-debug.log",
"postversion": "node aio/scripts/version.js",
"postinstall": "node aio/scripts/version.js && command -v golangci-lint >/dev/null 2>&1 || { curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.23.6; } && go mod download && ./aio/scripts/install-codegen.sh && ngcc"
"postinstall": "node aio/scripts/version.js && command -v golangci-lint >/dev/null 2>&1 || { curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.30.0; } && go mod download && ./aio/scripts/install-codegen.sh && ngcc"
},
"husky": {
"hooks": {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册