File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 branches : ["main"]
88 workflow_dispatch :
99
10- jobs :
11- build-headful :
12- uses : ./.github/workflows/chromium-headful-image.yaml
13- secrets : inherit
14-
15- build-headless :
16- uses : ./.github/workflows/chromium-headless-image.yaml
17- secrets : inherit
10+ concurrency :
11+ group : ${{ github.workflow }}-${{ github.ref }}
12+ cancel-in-progress : true
1813
14+ jobs :
1915 test :
2016 runs-on : ubuntu-latest
21- needs : [build-headful, build-headless]
17+ timeout-minutes : 45
2218 permissions :
2319 contents : read
2420
@@ -45,20 +41,24 @@ jobs:
4541 go-version-file : " server/go.mod"
4642 cache : true
4743
48- - name : Compute short SHA for images
49- id : vars
44+ - name : Build chromium-headless image
5045 shell : bash
51- run : echo "short_sha=${GITHUB_SHA::7}" >> "$GITHUB_OUTPUT"
46+ env :
47+ UKC_TOKEN : dummy
48+ UKC_METRO : ci
49+ run : |
50+ bash images/chromium-headless/build-docker.sh
5251
53- - name : Login to Docker Hub
54- uses : docker/login-action@v3
55- with :
56- username : ${{ vars.DOCKERHUB_USERNAME }}
57- password : ${{ secrets.DOCKERHUB_TOKEN }}
52+ - name : Build chromium-headful image
53+ shell : bash
54+ env :
55+ UKC_TOKEN : dummy
56+ UKC_METRO : ci
57+ run : |
58+ bash images/chromium-headful/build-docker.sh
5859
5960 - name : Run server Makefile tests
6061 run : make test
6162 working-directory : server
6263 env :
63- # Prefer explicit images if passed from the caller; otherwise use the commit short sha
64- E2E_IMAGE_TAG : ${{ steps.vars.outputs.short_sha }}
64+ E2E_IMAGE_TAG : latest
You can’t perform that action at this time.
0 commit comments