File tree Expand file tree Collapse file tree 4 files changed +23
-7
lines changed
Expand file tree Collapse file tree 4 files changed +23
-7
lines changed Original file line number Diff line number Diff line change 3737
3838 - name : Publish images
3939 run : just publish registry ${{ inputs.VERSION || github.ref_name }}
40+
41+ - name : Publish image (tedge-main branch)
42+ env :
43+ IMAGE : tedge-container-bundle-main
44+ TEDGE_IMAGE : tedge-main
45+ TEDGE_TAG : latest
46+ run : just publish registry ${{ inputs.VERSION || github.ref_name }}
Original file line number Diff line number Diff line change 2323 run : echo "Approved"
2424
2525 test :
26- name : Test ${{ matrix.job.name }}
26+ name : Test ${{ matrix.job.name }} (${{ matrix.build.image }}@${{ matrix.build.tag }})
2727 runs-on : ubuntu-latest
2828 needs : approve
2929 environment :
3434 strategy :
3535 fail-fast : false
3636 matrix :
37+ build :
38+ - { image: tedge, tag: latest }
39+ - { image: tedge-main, tag: latest }
3740 job :
3841 # docker
3942 - { target: tedge-container-bundle, name: "docker v27", image: "docker:27-dind" }
7881 tests/requirements.txt
7982
8083 - name : Install dependencies
84+ env :
85+ TEDGE_IMAGE : ${{ matrix.build.image }}
86+ TEDGE_TAG : ${{ matrix.build.tag }}
8187 run : |
8288 just venv
8389 just build-test
8995 uses : actions/upload-artifact@v4
9096 if : always()
9197 with :
92- name : reports-${{ matrix.job.name }}
98+ name : reports-${{ matrix.job.name }}-${{ matrix.build.image }}@${{ matrix.build.tag }}
9399 path : output
94100
95101 - name : Send report to commit
Original file line number Diff line number Diff line change 11set dotenv-load
22set export
33
4- IMAGE := " tedge-container-bundle"
5- TEDGE_IMAGE := " tedge"
6- TEDGE_TAG := " 1.4.2"
4+ IMAGE := env_var_or_default ( " IMAGE" , " tedge-container-bundle")
5+ TEDGE_IMAGE := env_var_or_default ( " TEDGE_IMAGE" , " tedge")
6+ TEDGE_TAG := env_var_or_default ( " TEDGE_TAG" , " 1.4.2")
77
88REGISTRY := " ghcr.io"
99REPO_OWNER := " thin-edge"
@@ -81,7 +81,9 @@ lint *ARGS:
8181# Build test images
8282build-test : build-test-bundles
8383 echo " Creating test infrastructure image"
84- [ -d " ./test-images/{{ TEST_IMAGE}} " ] && docker build --load -t {{ TEST_IMAGE}} -f ./ test-images/ {{ TEST_IMAGE}} / Dockerfile . || docker pull " {{ TEST_IMAGE}} "
84+ [ -d " ./test-images/{{ TEST_IMAGE}} " ] && docker build \
85+ - -load -t {{ TEST_IMAGE}} \
86+ - f ./ test-images/ {{ TEST_IMAGE}} / Dockerfile . || docker pull " {{ TEST_IMAGE}} "
8587
8688build-test-bundles :
8789 echo " Building tedge-container-bundle images"
Original file line number Diff line number Diff line change @@ -4,7 +4,8 @@ Library DateTime
44
55Test Teardown Stop Device
66
7- Test Tags self-update
7+ # Retry due to a problem with the older tedge-container-bundle images
8+ Test Tags self-update test:retry(3)
89
910
1011*** Test Cases ***
You can’t perform that action at this time.
0 commit comments