Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit a7c3ed3

Browse files
authored
Merge pull request #210 from docker/split-build-tests
ci: split build and tests on weekly job
2 parents 141d783 + 67af07b commit a7c3ed3

1 file changed

Lines changed: 18 additions & 2 deletions

File tree

.github/workflows/release-weekly-build.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,29 @@ jobs:
6969
- name: Download binaries
7070
run: make -f builder.Makefile download
7171

72-
- name: Build binary and run tests
72+
- name: Build binary
7373
env:
7474
E2E_TEST_AUTH_TOKEN: ${{ secrets.E2E_TEST_AUTH_TOKEN }}
7575
E2E_HUB_URL: ${{ secrets.E2E_HUB_URL }}
7676
E2E_HUB_USERNAME: ${{ secrets.E2E_HUB_USERNAME }}
7777
E2E_HUB_TOKEN: ${{ secrets.E2E_HUB_TOKEN }}
78-
run: make TAG_NAME=${{ github.event.inputs.tag }} -f builder.Makefile build test-unit e2e
78+
run: make TAG_NAME=${{ github.event.inputs.tag }} -f builder.Makefile build
79+
80+
- name: E2E
81+
env:
82+
E2E_TEST_AUTH_TOKEN: ${{ secrets.E2E_TEST_AUTH_TOKEN }}
83+
E2E_HUB_URL: ${{ secrets.E2E_HUB_URL }}
84+
E2E_HUB_USERNAME: ${{ secrets.E2E_HUB_USERNAME }}
85+
E2E_HUB_TOKEN: ${{ secrets.E2E_HUB_TOKEN }}
86+
run: make TAG_NAME=${{ github.event.inputs.tag }} -f builder.Makefile e2e
87+
88+
- name: Unit test
89+
env:
90+
E2E_TEST_AUTH_TOKEN: ${{ secrets.E2E_TEST_AUTH_TOKEN }}
91+
E2E_HUB_URL: ${{ secrets.E2E_HUB_URL }}
92+
E2E_HUB_USERNAME: ${{ secrets.E2E_HUB_USERNAME }}
93+
E2E_HUB_TOKEN: ${{ secrets.E2E_HUB_TOKEN }}
94+
run: make TAG_NAME=${{ github.event.inputs.tag }} -f builder.Makefile test-unit
7995

8096
- name: Build Mac arm64 binary
8197
if: ${{ matrix.os == 'macos-latest' }}

0 commit comments

Comments
 (0)