Commit 3b134998 by Arve Knudsen Committed by GitHub

CircleCI: Increase memory/CPU for some jobs (#23035)

* CircleCI: Increase resource class for some jobs
parent ce8df91c
...@@ -116,6 +116,7 @@ jobs: ...@@ -116,6 +116,7 @@ jobs:
parameters: parameters:
edition: edition:
type: string type: string
resource_class: large
executor: grafana-build executor: grafana-build
steps: steps:
- run: - run:
...@@ -204,6 +205,7 @@ jobs: ...@@ -204,6 +205,7 @@ jobs:
build-oss-windows-installer: build-oss-windows-installer:
executor: windows-installer executor: windows-installer
resource_class: large
steps: steps:
- attach_workspace: - attach_workspace:
at: /tmp/workspace at: /tmp/workspace
...@@ -236,6 +238,7 @@ jobs: ...@@ -236,6 +238,7 @@ jobs:
build-enterprise-windows-installer: build-enterprise-windows-installer:
executor: windows-installer executor: windows-installer
resource_class: large
steps: steps:
- run: - run:
name: Exit if forked PR name: Exit if forked PR
...@@ -309,6 +312,7 @@ jobs: ...@@ -309,6 +312,7 @@ jobs:
package-oss: package-oss:
executor: grafana-build executor: grafana-build
resource_class: large
steps: steps:
- attach_workspace: - attach_workspace:
at: /tmp/workspace at: /tmp/workspace
...@@ -361,6 +365,7 @@ jobs: ...@@ -361,6 +365,7 @@ jobs:
package-enterprise: package-enterprise:
executor: grafana-build executor: grafana-build
resource_class: large
steps: steps:
- run: - run:
name: Exit if forked PR name: Exit if forked PR
...@@ -415,6 +420,7 @@ jobs: ...@@ -415,6 +420,7 @@ jobs:
publish-packages: publish-packages:
description: "Publish packages" description: "Publish packages"
resource_class: large
parameters: parameters:
edition: edition:
type: string type: string
...@@ -497,6 +503,7 @@ jobs: ...@@ -497,6 +503,7 @@ jobs:
build-docker-images: build-docker-images:
description: "Build Docker images" description: "Build Docker images"
resource_class: large
parameters: parameters:
edition: edition:
type: string type: string
...@@ -553,6 +560,7 @@ jobs: ...@@ -553,6 +560,7 @@ jobs:
publish-docker-images: publish-docker-images:
description: Publish Docker images description: Publish Docker images
resource_class: large
parameters: parameters:
edition: edition:
type: string type: string
...@@ -597,6 +605,7 @@ jobs: ...@@ -597,6 +605,7 @@ jobs:
when: on_success when: on_success
end-to-end-tests: end-to-end-tests:
resource_class: large
docker: docker:
- image: circleci/node:12-browsers - image: circleci/node:12-browsers
steps: steps:
...@@ -632,6 +641,7 @@ jobs: ...@@ -632,6 +641,7 @@ jobs:
destination: logs destination: logs
mysql-integration-test: mysql-integration-test:
resource_class: large
docker: docker:
- image: circleci/golang:1.13.4 - image: circleci/golang:1.13.4
- image: circleci/mysql:5.6-ram - image: circleci/mysql:5.6-ram
...@@ -663,6 +673,7 @@ jobs: ...@@ -663,6 +673,7 @@ jobs:
when: on_success when: on_success
postgres-integration-test: postgres-integration-test:
resource_class: large
docker: docker:
- image: circleci/golang:1.13.4 - image: circleci/golang:1.13.4
- image: circleci/postgres:9.3-ram - image: circleci/postgres:9.3-ram
...@@ -711,6 +722,7 @@ jobs: ...@@ -711,6 +722,7 @@ jobs:
lint-go: lint-go:
docker: docker:
- image: circleci/golang:1.13.4 - image: circleci/golang:1.13.4
resource_class: large
working_directory: /go/src/github.com/grafana/grafana working_directory: /go/src/github.com/grafana/grafana
environment: environment:
# we need CGO because of go-sqlite3 # we need CGO because of go-sqlite3
...@@ -734,9 +746,9 @@ jobs: ...@@ -734,9 +746,9 @@ jobs:
name: Lint Go name: Lint Go
command: | command: |
go vet ./pkg/... go vet ./pkg/...
golangci-lint run -v -j 2 --config scripts/go/configs/ci/.golangci.yml -E deadcode -E gofmt \ golangci-lint run -v -j 4 --config scripts/go/configs/ci/.golangci.yml -E deadcode -E gofmt \
-E gosimple -E ineffassign -E structcheck -E typecheck ./pkg/... -E gosimple -E ineffassign -E structcheck -E typecheck ./pkg/...
golangci-lint run -v -j 2 --config scripts/go/configs/ci/.golangci.yml -E unconvert -E unused \ golangci-lint run -v -j 4 --config scripts/go/configs/ci/.golangci.yml -E unconvert -E unused \
-E varcheck -E goconst -E errcheck -E staticcheck ./pkg/... -E varcheck -E goconst -E errcheck -E staticcheck ./pkg/...
./scripts/go/bin/revive -formatter stylish -config ./scripts/go/configs/revive.toml ./pkg/... ./scripts/go/bin/revive -formatter stylish -config ./scripts/go/configs/revive.toml ./pkg/...
./scripts/go/bin/revive -formatter stylish ./pkg/services/alerting/... ./scripts/go/bin/revive -formatter stylish ./pkg/services/alerting/...
...@@ -744,6 +756,7 @@ jobs: ...@@ -744,6 +756,7 @@ jobs:
-conf=./scripts/go/configs/gosec.json ./pkg/... -conf=./scripts/go/configs/gosec.json ./pkg/...
test-frontend: test-frontend:
resource_class: large
docker: docker:
- image: circleci/node:12 - image: circleci/node:12
steps: steps:
...@@ -1217,6 +1230,7 @@ workflows: ...@@ -1217,6 +1230,7 @@ workflows:
- end-to-end-tests - end-to-end-tests
- build-docs-website: - build-docs-website:
filters: *filter-not-release-or-master filters: *filter-not-release-or-master
nightly: nightly:
triggers: triggers:
- schedule: - schedule:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment