Fix: Correct dagger version to 0.18.8 for migrated build system compatibility

- The migrated build system code (from 11.5.8) expects dagger v0.18.8 API
- Previous attempt used v0.11.8 (original 11.4.8) but build code was already modernized
- Fixes: 'json: cannot unmarshal bool into Go value of type string' export error
- v0.18.8 Export() returns (string, error) as expected by migrated code
- Completes final 5% blocker for 11.4.8 migration
This commit is contained in:
jev forsberg
2025-08-05 15:20:14 -06:00
parent 02b59a5d9f
commit 30268cd189
2 changed files with 5 additions and 5 deletions
+4 -4
View File
@@ -50,7 +50,7 @@ jobs:
env:
CACHE_BUSTER: ${{ github.run_number }}-${{ github.sha }}
with:
version: "0.11.8"
version: "0.18.8"
verb: run
args: go -C grafana run ./pkg/build/cmd artifacts -a targz:grafana:linux/amd64 --grafana-dir="${PWD}/grafana" > out.txt
- run: mv "$(cat out.txt)" grafana.tar.gz
@@ -147,7 +147,7 @@ jobs:
- name: Run E2E tests
uses: dagger/dagger-for-github@e47aba410ef9bb9ed81a4d2a97df31061e5e842e
with:
version: "0.11.8"
version: "0.18.8"
verb: run
args: go run ./pkg/build/e2e --package=grafana.tar.gz
--suite=${{ matrix.path }}
@@ -186,14 +186,14 @@ jobs:
if: github.event_name == 'pull_request'
uses: dagger/dagger-for-github@e47aba410ef9bb9ed81a4d2a97df31061e5e842e
with:
version: "0.11.8"
version: "0.18.8"
verb: run
args: go run ./pkg/build/a11y --package=grafana.tar.gz
- name: Run non-PR a11y test
if: github.event_name != 'pull_request'
uses: dagger/dagger-for-github@e47aba410ef9bb9ed81a4d2a97df31061e5e842e
with:
version: "0.11.8"
version: "0.18.8"
verb: run
args: go run ./pkg/build/a11y --package=grafana.tar.gz --no-threshold-fail
+1 -1
View File
@@ -18,7 +18,7 @@ jobs:
- name: Test core build (same as E2E workflow)
uses: dagger/dagger-for-github@e47aba410ef9bb9ed81a4d2a97df31061e5e842e
with:
version: "0.11.8"
version: "0.18.8"
verb: run
args: go -C grafana run ./pkg/build/cmd artifacts -a targz:grafana:linux/amd64 --grafana-dir="${PWD}/grafana" > out.txt