|
|
|
@ -117,14 +117,14 @@ steps: |
|
|
|
|
- commands: |
|
|
|
|
- yarn install --immutable || yarn install --immutable |
|
|
|
|
depends_on: [] |
|
|
|
|
image: node:20.9.0-alpine |
|
|
|
|
image: node:22.11.0-alpine |
|
|
|
|
name: yarn-install |
|
|
|
|
- commands: |
|
|
|
|
- yarn storybook --quiet |
|
|
|
|
depends_on: |
|
|
|
|
- yarn-install |
|
|
|
|
detach: true |
|
|
|
|
image: node:20.9.0-alpine |
|
|
|
|
image: node:22.11.0-alpine |
|
|
|
|
name: start-storybook |
|
|
|
|
- commands: |
|
|
|
|
- npx wait-on@7.2.0 -t 1m http://$HOST:$PORT |
|
|
|
@ -175,14 +175,14 @@ steps: |
|
|
|
|
- commands: |
|
|
|
|
- yarn install --immutable || yarn install --immutable |
|
|
|
|
depends_on: [] |
|
|
|
|
image: node:20.9.0-alpine |
|
|
|
|
image: node:22.11.0-alpine |
|
|
|
|
name: yarn-install |
|
|
|
|
- commands: |
|
|
|
|
- apk add --update git bash |
|
|
|
|
- yarn betterer ci |
|
|
|
|
depends_on: |
|
|
|
|
- yarn-install |
|
|
|
|
image: node:20.9.0-alpine |
|
|
|
|
image: node:22.11.0-alpine |
|
|
|
|
name: betterer-frontend |
|
|
|
|
- commands: |
|
|
|
|
- echo $(/usr/bin/github-app-external-token) > /github-app/token |
|
|
|
@ -229,7 +229,7 @@ steps: |
|
|
|
|
- yarn-install |
|
|
|
|
environment: |
|
|
|
|
TEST_MAX_WORKERS: 50% |
|
|
|
|
image: node:20.9.0-alpine |
|
|
|
|
image: node:22.11.0-alpine |
|
|
|
|
name: test-frontend |
|
|
|
|
trigger: |
|
|
|
|
event: |
|
|
|
@ -314,7 +314,7 @@ steps: |
|
|
|
|
- commands: |
|
|
|
|
- yarn install --immutable || yarn install --immutable |
|
|
|
|
depends_on: [] |
|
|
|
|
image: node:20.9.0-alpine |
|
|
|
|
image: node:22.11.0-alpine |
|
|
|
|
name: yarn-install |
|
|
|
|
- commands: |
|
|
|
|
- yarn run prettier:check |
|
|
|
@ -324,7 +324,7 @@ steps: |
|
|
|
|
- yarn-install |
|
|
|
|
environment: |
|
|
|
|
TEST_MAX_WORKERS: 50% |
|
|
|
|
image: node:20.9.0-alpine |
|
|
|
|
image: node:22.11.0-alpine |
|
|
|
|
name: lint-frontend |
|
|
|
|
- commands: |
|
|
|
|
- |- |
|
|
|
@ -337,7 +337,7 @@ steps: |
|
|
|
|
\ " |
|
|
|
|
depends_on: |
|
|
|
|
- yarn-install |
|
|
|
|
image: node:20-bookworm |
|
|
|
|
image: node:22-bookworm |
|
|
|
|
name: verify-i18n |
|
|
|
|
trigger: |
|
|
|
|
event: |
|
|
|
@ -667,7 +667,7 @@ steps: |
|
|
|
|
- commands: |
|
|
|
|
- yarn install --immutable || yarn install --immutable |
|
|
|
|
depends_on: [] |
|
|
|
|
image: node:20.9.0-alpine |
|
|
|
|
image: node:22.11.0-alpine |
|
|
|
|
name: yarn-install |
|
|
|
|
- commands: |
|
|
|
|
- apk add --update jq bash |
|
|
|
@ -678,7 +678,7 @@ steps: |
|
|
|
|
- yarn-install |
|
|
|
|
environment: |
|
|
|
|
NODE_OPTIONS: --max_old_space_size=8192 |
|
|
|
|
image: node:20.9.0-alpine |
|
|
|
|
image: node:22.11.0-alpine |
|
|
|
|
name: build-frontend-packages |
|
|
|
|
- failure: ignore |
|
|
|
|
image: grafana/drone-downstream |
|
|
|
@ -742,7 +742,7 @@ steps: |
|
|
|
|
- yarn-install |
|
|
|
|
environment: |
|
|
|
|
NODE_OPTIONS: --max_old_space_size=8192 |
|
|
|
|
image: node:20.9.0-alpine |
|
|
|
|
image: node:22.11.0-alpine |
|
|
|
|
name: build-test-plugins |
|
|
|
|
- commands: |
|
|
|
|
- apk add --update tar bash |
|
|
|
@ -870,7 +870,7 @@ steps: |
|
|
|
|
HOST: grafana-server |
|
|
|
|
PORT: "3001" |
|
|
|
|
PROV_DIR: /grafana/scripts/grafana-server/tmp/conf/provisioning |
|
|
|
|
image: node:20-bookworm |
|
|
|
|
image: node:22-bookworm |
|
|
|
|
name: playwright-plugin-e2e |
|
|
|
|
- commands: |
|
|
|
|
- apt-get update |
|
|
|
@ -960,7 +960,7 @@ steps: |
|
|
|
|
- build-frontend-packages |
|
|
|
|
environment: |
|
|
|
|
NODE_OPTIONS: --max_old_space_size=4096 |
|
|
|
|
image: node:20.9.0-alpine |
|
|
|
|
image: node:22.11.0-alpine |
|
|
|
|
name: build-storybook |
|
|
|
|
when: |
|
|
|
|
paths: |
|
|
|
@ -1307,7 +1307,7 @@ steps: |
|
|
|
|
- commands: |
|
|
|
|
- yarn install --immutable || yarn install --immutable |
|
|
|
|
depends_on: [] |
|
|
|
|
image: node:20.9.0-alpine |
|
|
|
|
image: node:22.11.0-alpine |
|
|
|
|
name: yarn-install |
|
|
|
|
- commands: |
|
|
|
|
- pip3 install codespell |
|
|
|
@ -1320,7 +1320,7 @@ steps: |
|
|
|
|
- yarn-install |
|
|
|
|
environment: |
|
|
|
|
NODE_OPTIONS: --max_old_space_size=8192 |
|
|
|
|
image: node:20.9.0-alpine |
|
|
|
|
image: node:22.11.0-alpine |
|
|
|
|
name: lint-docs |
|
|
|
|
- commands: |
|
|
|
|
- mkdir -p /hugo/content/docs/grafana/latest |
|
|
|
@ -1695,7 +1695,7 @@ steps: |
|
|
|
|
- commands: |
|
|
|
|
- yarn install --immutable || yarn install --immutable |
|
|
|
|
depends_on: [] |
|
|
|
|
image: node:20.9.0-alpine |
|
|
|
|
image: node:22.11.0-alpine |
|
|
|
|
name: yarn-install |
|
|
|
|
- commands: |
|
|
|
|
- pip3 install codespell |
|
|
|
@ -1708,7 +1708,7 @@ steps: |
|
|
|
|
- yarn-install |
|
|
|
|
environment: |
|
|
|
|
NODE_OPTIONS: --max_old_space_size=8192 |
|
|
|
|
image: node:20.9.0-alpine |
|
|
|
|
image: node:22.11.0-alpine |
|
|
|
|
name: lint-docs |
|
|
|
|
- commands: |
|
|
|
|
- mkdir -p /hugo/content/docs/grafana/latest |
|
|
|
@ -1771,14 +1771,14 @@ steps: |
|
|
|
|
- commands: |
|
|
|
|
- yarn install --immutable || yarn install --immutable |
|
|
|
|
depends_on: [] |
|
|
|
|
image: node:20.9.0-alpine |
|
|
|
|
image: node:22.11.0-alpine |
|
|
|
|
name: yarn-install |
|
|
|
|
- commands: |
|
|
|
|
- apk add --update git bash |
|
|
|
|
- yarn betterer ci |
|
|
|
|
depends_on: |
|
|
|
|
- yarn-install |
|
|
|
|
image: node:20.9.0-alpine |
|
|
|
|
image: node:22.11.0-alpine |
|
|
|
|
name: betterer-frontend |
|
|
|
|
- commands: |
|
|
|
|
- yarn run ci:test-frontend |
|
|
|
@ -1786,7 +1786,7 @@ steps: |
|
|
|
|
- yarn-install |
|
|
|
|
environment: |
|
|
|
|
TEST_MAX_WORKERS: 50% |
|
|
|
|
image: node:20.9.0-alpine |
|
|
|
|
image: node:22.11.0-alpine |
|
|
|
|
name: test-frontend |
|
|
|
|
trigger: |
|
|
|
|
branch: main |
|
|
|
@ -1829,7 +1829,7 @@ steps: |
|
|
|
|
- commands: |
|
|
|
|
- yarn install --immutable || yarn install --immutable |
|
|
|
|
depends_on: [] |
|
|
|
|
image: node:20.9.0-alpine |
|
|
|
|
image: node:22.11.0-alpine |
|
|
|
|
name: yarn-install |
|
|
|
|
- commands: |
|
|
|
|
- yarn run prettier:check |
|
|
|
@ -1839,7 +1839,7 @@ steps: |
|
|
|
|
- yarn-install |
|
|
|
|
environment: |
|
|
|
|
TEST_MAX_WORKERS: 50% |
|
|
|
|
image: node:20.9.0-alpine |
|
|
|
|
image: node:22.11.0-alpine |
|
|
|
|
name: lint-frontend |
|
|
|
|
- commands: |
|
|
|
|
- |- |
|
|
|
@ -1852,7 +1852,7 @@ steps: |
|
|
|
|
\ " |
|
|
|
|
depends_on: |
|
|
|
|
- yarn-install |
|
|
|
|
image: node:20-bookworm |
|
|
|
|
image: node:22-bookworm |
|
|
|
|
name: verify-i18n |
|
|
|
|
trigger: |
|
|
|
|
branch: main |
|
|
|
@ -2041,14 +2041,14 @@ steps: |
|
|
|
|
- commands: |
|
|
|
|
- yarn install --immutable || yarn install --immutable |
|
|
|
|
depends_on: [] |
|
|
|
|
image: node:20.9.0-alpine |
|
|
|
|
image: node:22.11.0-alpine |
|
|
|
|
name: yarn-install |
|
|
|
|
- commands: |
|
|
|
|
- yarn storybook --quiet |
|
|
|
|
depends_on: |
|
|
|
|
- yarn-install |
|
|
|
|
detach: true |
|
|
|
|
image: node:20.9.0-alpine |
|
|
|
|
image: node:22.11.0-alpine |
|
|
|
|
name: start-storybook |
|
|
|
|
- commands: |
|
|
|
|
- npx wait-on@7.2.0 -t 1m http://$HOST:$PORT |
|
|
|
@ -2148,7 +2148,7 @@ steps: |
|
|
|
|
- commands: |
|
|
|
|
- yarn install --immutable || yarn install --immutable |
|
|
|
|
depends_on: [] |
|
|
|
|
image: node:20.9.0-alpine |
|
|
|
|
image: node:22.11.0-alpine |
|
|
|
|
name: yarn-install |
|
|
|
|
- commands: |
|
|
|
|
- apk add --update jq |
|
|
|
@ -2159,7 +2159,7 @@ steps: |
|
|
|
|
- yarn install --mode=update-lockfile |
|
|
|
|
depends_on: |
|
|
|
|
- yarn-install |
|
|
|
|
image: node:20.9.0-alpine |
|
|
|
|
image: node:22.11.0-alpine |
|
|
|
|
name: update-package-json-version |
|
|
|
|
- commands: |
|
|
|
|
- apk add --update jq bash |
|
|
|
@ -2171,7 +2171,7 @@ steps: |
|
|
|
|
- update-package-json-version |
|
|
|
|
environment: |
|
|
|
|
NODE_OPTIONS: --max_old_space_size=8192 |
|
|
|
|
image: node:20.9.0-alpine |
|
|
|
|
image: node:22.11.0-alpine |
|
|
|
|
name: build-frontend-packages |
|
|
|
|
- commands: |
|
|
|
|
- docker run --privileged --rm tonistiigi/binfmt --install all |
|
|
|
@ -2226,7 +2226,7 @@ steps: |
|
|
|
|
- yarn-install |
|
|
|
|
environment: |
|
|
|
|
NODE_OPTIONS: --max_old_space_size=8192 |
|
|
|
|
image: node:20.9.0-alpine |
|
|
|
|
image: node:22.11.0-alpine |
|
|
|
|
name: build-test-plugins |
|
|
|
|
- commands: |
|
|
|
|
- apk add --update tar bash |
|
|
|
@ -2354,7 +2354,7 @@ steps: |
|
|
|
|
HOST: grafana-server |
|
|
|
|
PORT: "3001" |
|
|
|
|
PROV_DIR: /grafana/scripts/grafana-server/tmp/conf/provisioning |
|
|
|
|
image: node:20-bookworm |
|
|
|
|
image: node:22-bookworm |
|
|
|
|
name: playwright-plugin-e2e |
|
|
|
|
- commands: |
|
|
|
|
- apt-get update |
|
|
|
@ -2444,7 +2444,7 @@ steps: |
|
|
|
|
- build-frontend-packages |
|
|
|
|
environment: |
|
|
|
|
NODE_OPTIONS: --max_old_space_size=4096 |
|
|
|
|
image: node:20.9.0-alpine |
|
|
|
|
image: node:22.11.0-alpine |
|
|
|
|
name: build-storybook |
|
|
|
|
when: |
|
|
|
|
paths: |
|
|
|
@ -2494,7 +2494,7 @@ steps: |
|
|
|
|
GRAFANA_MISC_STATS_API_KEY: |
|
|
|
|
from_secret: grafana_misc_stats_api_key |
|
|
|
|
failure: ignore |
|
|
|
|
image: node:20.9.0-alpine |
|
|
|
|
image: node:22.11.0-alpine |
|
|
|
|
name: publish-frontend-metrics |
|
|
|
|
when: |
|
|
|
|
repo: |
|
|
|
@ -2536,7 +2536,7 @@ steps: |
|
|
|
|
environment: |
|
|
|
|
NPM_TOKEN: |
|
|
|
|
from_secret: npm_token |
|
|
|
|
image: node:20.9.0-alpine |
|
|
|
|
image: node:22.11.0-alpine |
|
|
|
|
name: release-canary-npm-packages |
|
|
|
|
when: |
|
|
|
|
paths: |
|
|
|
@ -2943,14 +2943,14 @@ steps: |
|
|
|
|
- commands: |
|
|
|
|
- yarn install --immutable || yarn install --immutable |
|
|
|
|
depends_on: [] |
|
|
|
|
image: node:20.9.0-alpine |
|
|
|
|
image: node:22.11.0-alpine |
|
|
|
|
name: yarn-install |
|
|
|
|
- commands: |
|
|
|
|
- apk add --update git bash |
|
|
|
|
- yarn betterer ci |
|
|
|
|
depends_on: |
|
|
|
|
- yarn-install |
|
|
|
|
image: node:20.9.0-alpine |
|
|
|
|
image: node:22.11.0-alpine |
|
|
|
|
name: betterer-frontend |
|
|
|
|
- commands: |
|
|
|
|
- yarn run ci:test-frontend |
|
|
|
@ -2958,7 +2958,7 @@ steps: |
|
|
|
|
- yarn-install |
|
|
|
|
environment: |
|
|
|
|
TEST_MAX_WORKERS: 50% |
|
|
|
|
image: node:20.9.0-alpine |
|
|
|
|
image: node:22.11.0-alpine |
|
|
|
|
name: test-frontend |
|
|
|
|
trigger: |
|
|
|
|
branch: |
|
|
|
@ -2999,7 +2999,7 @@ steps: |
|
|
|
|
- commands: |
|
|
|
|
- yarn install --immutable || yarn install --immutable |
|
|
|
|
depends_on: [] |
|
|
|
|
image: node:20.9.0-alpine |
|
|
|
|
image: node:22.11.0-alpine |
|
|
|
|
name: yarn-install |
|
|
|
|
- commands: |
|
|
|
|
- yarn run prettier:check |
|
|
|
@ -3009,7 +3009,7 @@ steps: |
|
|
|
|
- yarn-install |
|
|
|
|
environment: |
|
|
|
|
TEST_MAX_WORKERS: 50% |
|
|
|
|
image: node:20.9.0-alpine |
|
|
|
|
image: node:22.11.0-alpine |
|
|
|
|
name: lint-frontend |
|
|
|
|
- commands: |
|
|
|
|
- |- |
|
|
|
@ -3022,7 +3022,7 @@ steps: |
|
|
|
|
\ " |
|
|
|
|
depends_on: |
|
|
|
|
- yarn-install |
|
|
|
|
image: node:20-bookworm |
|
|
|
|
image: node:22-bookworm |
|
|
|
|
name: verify-i18n |
|
|
|
|
trigger: |
|
|
|
|
branch: |
|
|
|
@ -3863,7 +3863,7 @@ steps: |
|
|
|
|
- commands: |
|
|
|
|
- yarn install --immutable || yarn install --immutable |
|
|
|
|
depends_on: [] |
|
|
|
|
image: node:20.9.0-alpine |
|
|
|
|
image: node:22.11.0-alpine |
|
|
|
|
name: yarn-install |
|
|
|
|
- commands: |
|
|
|
|
- ./bin/build artifacts npm retrieve --tag ${DRONE_TAG} |
|
|
|
@ -3887,7 +3887,7 @@ steps: |
|
|
|
|
NPM_TOKEN: |
|
|
|
|
from_secret: npm_token |
|
|
|
|
failure: ignore |
|
|
|
|
image: node:20.9.0-alpine |
|
|
|
|
image: node:22.11.0-alpine |
|
|
|
|
name: release-npm-packages |
|
|
|
|
trigger: |
|
|
|
|
event: |
|
|
|
@ -3922,7 +3922,7 @@ steps: |
|
|
|
|
1\n else\n sleep 60\n fi\n done\n |
|
|
|
|
\ " |
|
|
|
|
depends_on: [] |
|
|
|
|
image: node:20.9.0-alpine |
|
|
|
|
image: node:22.11.0-alpine |
|
|
|
|
name: verify-grafanacom |
|
|
|
|
trigger: |
|
|
|
|
event: |
|
|
|
@ -4022,7 +4022,7 @@ steps: |
|
|
|
|
\ " |
|
|
|
|
depends_on: |
|
|
|
|
- publish-grafanacom |
|
|
|
|
image: node:20.9.0-alpine |
|
|
|
|
image: node:22.11.0-alpine |
|
|
|
|
name: verify-grafanacom |
|
|
|
|
trigger: |
|
|
|
|
event: |
|
|
|
@ -4446,14 +4446,14 @@ steps: |
|
|
|
|
- commands: |
|
|
|
|
- yarn install --immutable || yarn install --immutable |
|
|
|
|
depends_on: [] |
|
|
|
|
image: node:20.9.0-alpine |
|
|
|
|
image: node:22.11.0-alpine |
|
|
|
|
name: yarn-install |
|
|
|
|
- commands: |
|
|
|
|
- apk add --update git bash |
|
|
|
|
- yarn betterer ci |
|
|
|
|
depends_on: |
|
|
|
|
- yarn-install |
|
|
|
|
image: node:20.9.0-alpine |
|
|
|
|
image: node:22.11.0-alpine |
|
|
|
|
name: betterer-frontend |
|
|
|
|
- commands: |
|
|
|
|
- yarn run ci:test-frontend |
|
|
|
@ -4461,7 +4461,7 @@ steps: |
|
|
|
|
- yarn-install |
|
|
|
|
environment: |
|
|
|
|
TEST_MAX_WORKERS: 50% |
|
|
|
|
image: node:20.9.0-alpine |
|
|
|
|
image: node:22.11.0-alpine |
|
|
|
|
name: test-frontend |
|
|
|
|
trigger: |
|
|
|
|
cron: |
|
|
|
@ -5443,8 +5443,8 @@ steps: |
|
|
|
|
- trivy --exit-code 0 --severity UNKNOWN,LOW,MEDIUM docker:27-cli |
|
|
|
|
- trivy --exit-code 0 --severity UNKNOWN,LOW,MEDIUM alpine/git:2.40.1 |
|
|
|
|
- trivy --exit-code 0 --severity UNKNOWN,LOW,MEDIUM golang:1.23.1-alpine |
|
|
|
|
- trivy --exit-code 0 --severity UNKNOWN,LOW,MEDIUM node:20.9.0-alpine |
|
|
|
|
- trivy --exit-code 0 --severity UNKNOWN,LOW,MEDIUM node:20-bookworm |
|
|
|
|
- trivy --exit-code 0 --severity UNKNOWN,LOW,MEDIUM node:22.11.0-alpine |
|
|
|
|
- trivy --exit-code 0 --severity UNKNOWN,LOW,MEDIUM node:22-bookworm |
|
|
|
|
- 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.20.3 |
|
|
|
@ -5482,8 +5482,8 @@ steps: |
|
|
|
|
- trivy --exit-code 1 --severity HIGH,CRITICAL docker:27-cli |
|
|
|
|
- trivy --exit-code 1 --severity HIGH,CRITICAL alpine/git:2.40.1 |
|
|
|
|
- trivy --exit-code 1 --severity HIGH,CRITICAL golang:1.23.1-alpine |
|
|
|
|
- trivy --exit-code 1 --severity HIGH,CRITICAL node:20.9.0-alpine |
|
|
|
|
- trivy --exit-code 1 --severity HIGH,CRITICAL node:20-bookworm |
|
|
|
|
- trivy --exit-code 1 --severity HIGH,CRITICAL node:22.11.0-alpine |
|
|
|
|
- trivy --exit-code 1 --severity HIGH,CRITICAL node:22-bookworm |
|
|
|
|
- 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.20.3 |
|
|
|
@ -5751,6 +5751,6 @@ kind: secret |
|
|
|
|
name: gcr_credentials |
|
|
|
|
--- |
|
|
|
|
kind: signature |
|
|
|
|
hmac: 04ba0c9b8e69705a28a24ba03de14ece0b15c4b44f6262fcbc6a9ee874b5a9db |
|
|
|
|
hmac: 08edb24b8ec53e0ce09f525cf6fdf4ea5dc67710fe64c3ea93ceaf3af42b8305 |
|
|
|
|
|
|
|
|
|
... |
|
|
|
|