|
|
@ -159,22 +159,14 @@ steps: |
|
|
|
image: grafana/build-container:1.5.1 |
|
|
|
image: grafana/build-container:1.5.1 |
|
|
|
name: validate-scuemata |
|
|
|
name: validate-scuemata |
|
|
|
- commands: |
|
|
|
- commands: |
|
|
|
- '# Make sure the git tree is clean.' |
|
|
|
|
|
|
|
- '# Stashing changes, since packages that were produced in build-backend step are |
|
|
|
|
|
|
|
needed.' |
|
|
|
|
|
|
|
- git stash |
|
|
|
|
|
|
|
- ./bin/linux-amd64/grafana-cli cue gen-ts --grafana-root . |
|
|
|
|
|
|
|
- '# The above command generates Typescript files (*.gen.ts) from all appropriate |
|
|
|
|
|
|
|
.cue files.' |
|
|
|
|
|
|
|
- '# It is required that the generated Typescript be in sync with the input CUE |
|
|
|
- '# It is required that the generated Typescript be in sync with the input CUE |
|
|
|
files.' |
|
|
|
files.' |
|
|
|
- '# ...Modulo eslint auto-fixes...:' |
|
|
|
- '# To enforce this, the following command will attempt to generate Typescript |
|
|
|
- yarn run eslint . --ext .gen.ts --fix |
|
|
|
from all' |
|
|
|
- '# If any filenames are emitted by the below script, run the generator command |
|
|
|
- '# appropriate .cue files, then compare with the corresponding (*.gen.ts) file |
|
|
|
`grafana-cli cue gen-ts` locally and commit the result.' |
|
|
|
the generated' |
|
|
|
- ./scripts/clean-git-or-error.sh |
|
|
|
- '# code would have been written to. It exits 1 if any diffs are found.' |
|
|
|
- '# Un-stash changes.' |
|
|
|
- ./bin/linux-amd64/grafana-cli cue gen-ts --grafana-root . --diff |
|
|
|
- git stash pop |
|
|
|
|
|
|
|
depends_on: |
|
|
|
depends_on: |
|
|
|
- validate-scuemata |
|
|
|
- validate-scuemata |
|
|
|
image: grafana/build-container:1.5.1 |
|
|
|
image: grafana/build-container:1.5.1 |
|
|
@ -686,22 +678,14 @@ steps: |
|
|
|
image: grafana/build-container:1.5.1 |
|
|
|
image: grafana/build-container:1.5.1 |
|
|
|
name: validate-scuemata |
|
|
|
name: validate-scuemata |
|
|
|
- commands: |
|
|
|
- commands: |
|
|
|
- '# Make sure the git tree is clean.' |
|
|
|
|
|
|
|
- '# Stashing changes, since packages that were produced in build-backend step are |
|
|
|
|
|
|
|
needed.' |
|
|
|
|
|
|
|
- git stash |
|
|
|
|
|
|
|
- ./bin/linux-amd64/grafana-cli cue gen-ts --grafana-root . |
|
|
|
|
|
|
|
- '# The above command generates Typescript files (*.gen.ts) from all appropriate |
|
|
|
|
|
|
|
.cue files.' |
|
|
|
|
|
|
|
- '# It is required that the generated Typescript be in sync with the input CUE |
|
|
|
- '# It is required that the generated Typescript be in sync with the input CUE |
|
|
|
files.' |
|
|
|
files.' |
|
|
|
- '# ...Modulo eslint auto-fixes...:' |
|
|
|
- '# To enforce this, the following command will attempt to generate Typescript |
|
|
|
- yarn run eslint . --ext .gen.ts --fix |
|
|
|
from all' |
|
|
|
- '# If any filenames are emitted by the below script, run the generator command |
|
|
|
- '# appropriate .cue files, then compare with the corresponding (*.gen.ts) file |
|
|
|
`grafana-cli cue gen-ts` locally and commit the result.' |
|
|
|
the generated' |
|
|
|
- ./scripts/clean-git-or-error.sh |
|
|
|
- '# code would have been written to. It exits 1 if any diffs are found.' |
|
|
|
- '# Un-stash changes.' |
|
|
|
- ./bin/linux-amd64/grafana-cli cue gen-ts --grafana-root . --diff |
|
|
|
- git stash pop |
|
|
|
|
|
|
|
depends_on: |
|
|
|
depends_on: |
|
|
|
- validate-scuemata |
|
|
|
- validate-scuemata |
|
|
|
image: grafana/build-container:1.5.1 |
|
|
|
image: grafana/build-container:1.5.1 |
|
|
@ -1290,22 +1274,14 @@ steps: |
|
|
|
image: grafana/build-container:1.5.1 |
|
|
|
image: grafana/build-container:1.5.1 |
|
|
|
name: validate-scuemata |
|
|
|
name: validate-scuemata |
|
|
|
- commands: |
|
|
|
- commands: |
|
|
|
- '# Make sure the git tree is clean.' |
|
|
|
|
|
|
|
- '# Stashing changes, since packages that were produced in build-backend step are |
|
|
|
|
|
|
|
needed.' |
|
|
|
|
|
|
|
- git stash |
|
|
|
|
|
|
|
- ./bin/linux-amd64/grafana-cli cue gen-ts --grafana-root . |
|
|
|
|
|
|
|
- '# The above command generates Typescript files (*.gen.ts) from all appropriate |
|
|
|
|
|
|
|
.cue files.' |
|
|
|
|
|
|
|
- '# It is required that the generated Typescript be in sync with the input CUE |
|
|
|
- '# It is required that the generated Typescript be in sync with the input CUE |
|
|
|
files.' |
|
|
|
files.' |
|
|
|
- '# ...Modulo eslint auto-fixes...:' |
|
|
|
- '# To enforce this, the following command will attempt to generate Typescript |
|
|
|
- yarn run eslint . --ext .gen.ts --fix |
|
|
|
from all' |
|
|
|
- '# If any filenames are emitted by the below script, run the generator command |
|
|
|
- '# appropriate .cue files, then compare with the corresponding (*.gen.ts) file |
|
|
|
`grafana-cli cue gen-ts` locally and commit the result.' |
|
|
|
the generated' |
|
|
|
- ./scripts/clean-git-or-error.sh |
|
|
|
- '# code would have been written to. It exits 1 if any diffs are found.' |
|
|
|
- '# Un-stash changes.' |
|
|
|
- ./bin/linux-amd64/grafana-cli cue gen-ts --grafana-root . --diff |
|
|
|
- git stash pop |
|
|
|
|
|
|
|
depends_on: |
|
|
|
depends_on: |
|
|
|
- validate-scuemata |
|
|
|
- validate-scuemata |
|
|
|
image: grafana/build-container:1.5.1 |
|
|
|
image: grafana/build-container:1.5.1 |
|
|
@ -1880,22 +1856,14 @@ steps: |
|
|
|
image: grafana/build-container:1.5.1 |
|
|
|
image: grafana/build-container:1.5.1 |
|
|
|
name: validate-scuemata |
|
|
|
name: validate-scuemata |
|
|
|
- commands: |
|
|
|
- commands: |
|
|
|
- '# Make sure the git tree is clean.' |
|
|
|
|
|
|
|
- '# Stashing changes, since packages that were produced in build-backend step are |
|
|
|
|
|
|
|
needed.' |
|
|
|
|
|
|
|
- git stash |
|
|
|
|
|
|
|
- ./bin/linux-amd64/grafana-cli cue gen-ts --grafana-root . |
|
|
|
|
|
|
|
- '# The above command generates Typescript files (*.gen.ts) from all appropriate |
|
|
|
|
|
|
|
.cue files.' |
|
|
|
|
|
|
|
- '# It is required that the generated Typescript be in sync with the input CUE |
|
|
|
- '# It is required that the generated Typescript be in sync with the input CUE |
|
|
|
files.' |
|
|
|
files.' |
|
|
|
- '# ...Modulo eslint auto-fixes...:' |
|
|
|
- '# To enforce this, the following command will attempt to generate Typescript |
|
|
|
- yarn run eslint . --ext .gen.ts --fix |
|
|
|
from all' |
|
|
|
- '# If any filenames are emitted by the below script, run the generator command |
|
|
|
- '# appropriate .cue files, then compare with the corresponding (*.gen.ts) file |
|
|
|
`grafana-cli cue gen-ts` locally and commit the result.' |
|
|
|
the generated' |
|
|
|
- ./scripts/clean-git-or-error.sh |
|
|
|
- '# code would have been written to. It exits 1 if any diffs are found.' |
|
|
|
- '# Un-stash changes.' |
|
|
|
- ./bin/linux-amd64/grafana-cli cue gen-ts --grafana-root . --diff |
|
|
|
- git stash pop |
|
|
|
|
|
|
|
depends_on: |
|
|
|
depends_on: |
|
|
|
- validate-scuemata |
|
|
|
- validate-scuemata |
|
|
|
image: grafana/build-container:1.5.1 |
|
|
|
image: grafana/build-container:1.5.1 |
|
|
@ -3044,22 +3012,14 @@ steps: |
|
|
|
image: grafana/build-container:1.5.1 |
|
|
|
image: grafana/build-container:1.5.1 |
|
|
|
name: validate-scuemata |
|
|
|
name: validate-scuemata |
|
|
|
- commands: |
|
|
|
- commands: |
|
|
|
- '# Make sure the git tree is clean.' |
|
|
|
|
|
|
|
- '# Stashing changes, since packages that were produced in build-backend step are |
|
|
|
|
|
|
|
needed.' |
|
|
|
|
|
|
|
- git stash |
|
|
|
|
|
|
|
- ./bin/linux-amd64/grafana-cli cue gen-ts --grafana-root . |
|
|
|
|
|
|
|
- '# The above command generates Typescript files (*.gen.ts) from all appropriate |
|
|
|
|
|
|
|
.cue files.' |
|
|
|
|
|
|
|
- '# It is required that the generated Typescript be in sync with the input CUE |
|
|
|
- '# It is required that the generated Typescript be in sync with the input CUE |
|
|
|
files.' |
|
|
|
files.' |
|
|
|
- '# ...Modulo eslint auto-fixes...:' |
|
|
|
- '# To enforce this, the following command will attempt to generate Typescript |
|
|
|
- yarn run eslint . --ext .gen.ts --fix |
|
|
|
from all' |
|
|
|
- '# If any filenames are emitted by the below script, run the generator command |
|
|
|
- '# appropriate .cue files, then compare with the corresponding (*.gen.ts) file |
|
|
|
`grafana-cli cue gen-ts` locally and commit the result.' |
|
|
|
the generated' |
|
|
|
- ./scripts/clean-git-or-error.sh |
|
|
|
- '# code would have been written to. It exits 1 if any diffs are found.' |
|
|
|
- '# Un-stash changes.' |
|
|
|
- ./bin/linux-amd64/grafana-cli cue gen-ts --grafana-root . --diff |
|
|
|
- git stash pop |
|
|
|
|
|
|
|
depends_on: |
|
|
|
depends_on: |
|
|
|
- validate-scuemata |
|
|
|
- validate-scuemata |
|
|
|
image: grafana/build-container:1.5.1 |
|
|
|
image: grafana/build-container:1.5.1 |
|
|
@ -3561,22 +3521,14 @@ steps: |
|
|
|
image: grafana/build-container:1.5.1 |
|
|
|
image: grafana/build-container:1.5.1 |
|
|
|
name: validate-scuemata |
|
|
|
name: validate-scuemata |
|
|
|
- commands: |
|
|
|
- commands: |
|
|
|
- '# Make sure the git tree is clean.' |
|
|
|
|
|
|
|
- '# Stashing changes, since packages that were produced in build-backend step are |
|
|
|
|
|
|
|
needed.' |
|
|
|
|
|
|
|
- git stash |
|
|
|
|
|
|
|
- ./bin/linux-amd64/grafana-cli cue gen-ts --grafana-root . |
|
|
|
|
|
|
|
- '# The above command generates Typescript files (*.gen.ts) from all appropriate |
|
|
|
|
|
|
|
.cue files.' |
|
|
|
|
|
|
|
- '# It is required that the generated Typescript be in sync with the input CUE |
|
|
|
- '# It is required that the generated Typescript be in sync with the input CUE |
|
|
|
files.' |
|
|
|
files.' |
|
|
|
- '# ...Modulo eslint auto-fixes...:' |
|
|
|
- '# To enforce this, the following command will attempt to generate Typescript |
|
|
|
- yarn run eslint . --ext .gen.ts --fix |
|
|
|
from all' |
|
|
|
- '# If any filenames are emitted by the below script, run the generator command |
|
|
|
- '# appropriate .cue files, then compare with the corresponding (*.gen.ts) file |
|
|
|
`grafana-cli cue gen-ts` locally and commit the result.' |
|
|
|
the generated' |
|
|
|
- ./scripts/clean-git-or-error.sh |
|
|
|
- '# code would have been written to. It exits 1 if any diffs are found.' |
|
|
|
- '# Un-stash changes.' |
|
|
|
- ./bin/linux-amd64/grafana-cli cue gen-ts --grafana-root . --diff |
|
|
|
- git stash pop |
|
|
|
|
|
|
|
depends_on: |
|
|
|
depends_on: |
|
|
|
- validate-scuemata |
|
|
|
- validate-scuemata |
|
|
|
image: grafana/build-container:1.5.1 |
|
|
|
image: grafana/build-container:1.5.1 |
|
|
@ -4305,6 +4257,6 @@ kind: secret |
|
|
|
name: gcp_upload_artifacts_key |
|
|
|
name: gcp_upload_artifacts_key |
|
|
|
--- |
|
|
|
--- |
|
|
|
kind: signature |
|
|
|
kind: signature |
|
|
|
hmac: b92ebbf48ca675f25c96f4b182a72c08b0e79f9c50d29caaacab124e97f32b4d |
|
|
|
hmac: fb2a26bf088c9ff2b7cc63cee4fa1f1da06baf560265df4703414f4db9c90708 |
|
|
|
|
|
|
|
|
|
|
|
... |
|
|
|
... |
|
|
|