@ -122,14 +122,14 @@ steps:
- commands:
- yarn install --immutable
depends_on : [ ]
image : node:18.12 .0-alpine
image : node:20.9 .0-alpine
name : yarn-install
- commands:
- apk add --update git bash
- yarn betterer ci
depends_on:
- yarn-install
image : node:18.12 .0-alpine
image : node:20.9 .0-alpine
name : betterer-frontend
- commands:
- apk add --update curl jq bash
@ -158,7 +158,7 @@ steps:
- yarn-install
environment:
TEST_MAX_WORKERS : 50 %
image : node:18.12 .0-alpine
image : node:20.9 .0-alpine
name : test-frontend
trigger:
event:
@ -222,7 +222,7 @@ steps:
- commands:
- yarn install --immutable
depends_on : [ ]
image : node:18.12 .0-alpine
image : node:20.9 .0-alpine
name : yarn-install
- commands:
- yarn run prettier:check
@ -232,7 +232,7 @@ steps:
- yarn-install
environment:
TEST_MAX_WORKERS : 50 %
image : node:18.12 .0-alpine
image : node:20.9 .0-alpine
name : lint-frontend
- commands:
- apk add --update git
@ -247,7 +247,7 @@ steps:
- yarn run i18n:compile
depends_on:
- yarn-install
image : node:18.12 .0-alpine
image : node:20.9 .0-alpine
name : verify-i18n
trigger:
event:
@ -529,7 +529,7 @@ steps:
- commands:
- yarn install --immutable
depends_on : [ ]
image : node:18.12 .0-alpine
image : node:20.9 .0-alpine
name : yarn-install
- commands:
- apk add --update jq bash
@ -540,7 +540,7 @@ steps:
- yarn-install
environment:
NODE_OPTIONS : --max_old_space_size=8192
image : node:18.12 .0-alpine
image : node:20.9 .0-alpine
name : build-frontend-packages
- failure : ignore
image : grafana/drone-downstream
@ -678,7 +678,7 @@ steps:
- build-frontend-packages
environment:
NODE_OPTIONS : --max_old_space_size=4096
image : node:18.12 .0-alpine
image : node:20.9 .0-alpine
name : build-storybook
when:
paths:
@ -1035,7 +1035,7 @@ steps:
- commands:
- yarn install --immutable
depends_on : [ ]
image : node:18.12 .0-alpine
image : node:20.9 .0-alpine
name : yarn-install
- commands:
- pip3 install codespell
@ -1048,7 +1048,7 @@ steps:
- yarn-install
environment:
NODE_OPTIONS : --max_old_space_size=8192
image : node:18.12 .0-alpine
image : node:20.9 .0-alpine
name : lint-docs
- commands:
- mkdir -p /hugo/content/docs/grafana/latest
@ -1388,7 +1388,7 @@ steps:
- commands:
- yarn install --immutable
depends_on : [ ]
image : node:18.12 .0-alpine
image : node:20.9 .0-alpine
name : yarn-install
- commands:
- pip3 install codespell
@ -1401,7 +1401,7 @@ steps:
- yarn-install
environment:
NODE_OPTIONS : --max_old_space_size=8192
image : node:18.12 .0-alpine
image : node:20.9 .0-alpine
name : lint-docs
- commands:
- mkdir -p /hugo/content/docs/grafana/latest
@ -1462,14 +1462,14 @@ steps:
- commands:
- yarn install --immutable
depends_on : [ ]
image : node:18.12 .0-alpine
image : node:20.9 .0-alpine
name : yarn-install
- commands:
- apk add --update git bash
- yarn betterer ci
depends_on:
- yarn-install
image : node:18.12 .0-alpine
image : node:20.9 .0-alpine
name : betterer-frontend
- commands:
- yarn run ci:test-frontend
@ -1477,7 +1477,7 @@ steps:
- yarn-install
environment:
TEST_MAX_WORKERS : 50 %
image : node:18.12 .0-alpine
image : node:20.9 .0-alpine
name : test-frontend
trigger:
branch : main
@ -1519,7 +1519,7 @@ steps:
- commands:
- yarn install --immutable
depends_on : [ ]
image : node:18.12 .0-alpine
image : node:20.9 .0-alpine
name : yarn-install
- commands:
- yarn run prettier:check
@ -1529,7 +1529,7 @@ steps:
- yarn-install
environment:
TEST_MAX_WORKERS : 50 %
image : node:18.12 .0-alpine
image : node:20.9 .0-alpine
name : lint-frontend
- commands:
- apk add --update git
@ -1544,7 +1544,7 @@ steps:
- yarn run i18n:compile
depends_on:
- yarn-install
image : node:18.12 .0-alpine
image : node:20.9 .0-alpine
name : verify-i18n
trigger:
branch : main
@ -1778,7 +1778,7 @@ steps:
- commands:
- yarn install --immutable
depends_on : [ ]
image : node:18.12 .0-alpine
image : node:20.9 .0-alpine
name : yarn-install
- commands:
- apk add --update jq
@ -1789,7 +1789,7 @@ steps:
- yarn install --mode=update-lockfile
depends_on:
- yarn-install
image : node:18.12 .0-alpine
image : node:20.9 .0-alpine
name : update-package-json-version
- commands:
- apk add --update jq bash
@ -1801,7 +1801,7 @@ steps:
- update-package-json-version
environment:
NODE_OPTIONS : --max_old_space_size=8192
image : node:18.12 .0-alpine
image : node:20.9 .0-alpine
name : build-frontend-packages
- commands:
- /src/grafana-build package --distro=linux/amd64,linux/arm64 --go-version=1.20.10
@ -1926,7 +1926,7 @@ steps:
- build-frontend-packages
environment:
NODE_OPTIONS : --max_old_space_size=4096
image : node:18.12 .0-alpine
image : node:20.9 .0-alpine
name : build-storybook
when:
paths:
@ -1976,7 +1976,7 @@ steps:
GRAFANA_MISC_STATS_API_KEY:
from_secret : grafana_misc_stats_api_key
failure : ignore
image : node:18.12 .0-alpine
image : node:20.9 .0-alpine
name : publish-frontend-metrics
when:
repo:
@ -2058,7 +2058,7 @@ steps:
environment:
NPM_TOKEN:
from_secret : npm_token
image : node:18.12 .0-alpine
image : node:20.9 .0-alpine
name : release-canary-npm-packages
when:
paths:
@ -2686,7 +2686,7 @@ steps:
- commands:
- yarn install --immutable
depends_on : [ ]
image : node:18.12 .0-alpine
image : node:20.9 .0-alpine
name : yarn-install
- commands:
- ./bin/build artifacts npm retrieve --tag ${DRONE_TAG}
@ -2953,14 +2953,14 @@ steps:
- commands:
- yarn install --immutable
depends_on : [ ]
image : node:18.12 .0-alpine
image : node:20.9 .0-alpine
name : yarn-install
- commands:
- apk add --update git bash
- yarn betterer ci
depends_on:
- yarn-install
image : node:18.12 .0-alpine
image : node:20.9 .0-alpine
name : betterer-frontend
- commands:
- yarn run ci:test-frontend
@ -2968,7 +2968,7 @@ steps:
- yarn-install
environment:
TEST_MAX_WORKERS : 50 %
image : node:18.12 .0-alpine
image : node:20.9 .0-alpine
name : test-frontend
trigger:
event:
@ -3365,14 +3365,14 @@ steps:
- commands:
- yarn install --immutable
depends_on : [ ]
image : node:18.12 .0-alpine
image : node:20.9 .0-alpine
name : yarn-install
- commands:
- apk add --update git bash
- yarn betterer ci
depends_on:
- yarn-install
image : node:18.12 .0-alpine
image : node:20.9 .0-alpine
name : betterer-frontend
- commands:
- yarn run ci:test-frontend
@ -3380,7 +3380,7 @@ steps:
- yarn-install
environment:
TEST_MAX_WORKERS : 50 %
image : node:18.12 .0-alpine
image : node:20.9 .0-alpine
name : test-frontend
trigger:
cron:
@ -4386,7 +4386,7 @@ steps:
- commands:
- trivy --exit-code 0 --severity UNKNOWN,LOW,MEDIUM alpine/git:2.40.1
- trivy --exit-code 0 --severity UNKNOWN,LOW,MEDIUM golang:1.20.10-alpine
- trivy --exit-code 0 --severity UNKNOWN,LOW,MEDIUM node:18.12 .0-alpine
- trivy --exit-code 0 --severity UNKNOWN,LOW,MEDIUM node:20.9 .0-alpine
- trivy --exit-code 0 --severity UNKNOWN,LOW,MEDIUM google/cloud-sdk:431.0.0
- trivy --exit-code 0 --severity UNKNOWN,LOW,MEDIUM grafana/grafana-ci-deploy:1.3.3
- trivy --exit-code 0 --severity UNKNOWN,LOW,MEDIUM alpine:3.18.3
@ -4420,7 +4420,7 @@ steps:
- commands:
- trivy --exit-code 1 --severity HIGH,CRITICAL alpine/git:2.40.1
- trivy --exit-code 1 --severity HIGH,CRITICAL golang:1.20.10-alpine
- trivy --exit-code 1 --severity HIGH,CRITICAL node:18.12 .0-alpine
- trivy --exit-code 1 --severity HIGH,CRITICAL node:20.9 .0-alpine
- trivy --exit-code 1 --severity HIGH,CRITICAL google/cloud-sdk:431.0.0
- trivy --exit-code 1 --severity HIGH,CRITICAL grafana/grafana-ci-deploy:1.3.3
- trivy --exit-code 1 --severity HIGH,CRITICAL alpine:3.18.3
@ -4667,6 +4667,6 @@ kind: secret
name : gcr_credentials
---
kind : signature
hmac : 29a933affceb9cc39b285d936de9e6327deedbb80f1285fa645d596f89ede442
hmac : 975f4bc4ea819f11b9abf46a1e17fc55161551ab02b5c6a905393def886ad4ae
...