Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
Signed-off-by: chensuyue <[email protected]>
  • Loading branch information
chensuyue committed Aug 8, 2024
1 parent e0e52ef commit fc32981
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 13 deletions.
File renamed without changes.
18 changes: 5 additions & 13 deletions .github/workflows/pr-docker-compose-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,31 +27,23 @@ jobs:
with:
diff_excluded_files: '.github|README.md|*.txt|deprecate|kubernetes|manifest|gmc|assets'

mega-image-build:
needs: job1
strategy:
matrix: ${{ fromJSON(needs.job1.outputs.run_matrix) }}
uses: ./.github/workflows/_image-build.yml
with:
image_tag: ${{ github.event.pull_request.head.sha }}
mega_service: "${{ matrix.example }}"
runner_label: "docker-build-${{ matrix.hardware }}"

Example-test:
example-test:
needs: [job1]
strategy:
matrix: ${{ fromJSON(needs.job1.outputs.run_matrix) }}
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: ./.github/workflows/reuse-image-build.yml
- name: build example images
uses: ./.github/workflows/_image-build.yml
id: mega-image-build
with:
image_tag: ${{ github.event.pull_request.head.sha }}
mega_service: ${{ matrix.example }}
runner_label: docker-build-${{ matrix.hardware }}

- uses: ./.github/workflow/actions/reuse-docker-run.yaml
- name: run test
uses: ./.github/workflow/_docker-compose-run.yml
with:
registry: ${{ steps.mega-image-build.outputs.image_repo }}
tag: ${{ steps.mega-image-build.outputs.image_tag }}
Expand Down

0 comments on commit fc32981

Please sign in to comment.