Skip to content

Commit

Permalink
🌱 Update ci-global.yml use ttl.sh and global-ci-bundle.yml
Browse files Browse the repository at this point in the history
With `upload-artifact@v3` deprecated and shut off, move to use the
`global-ci-bundle.yml` workflow for global CI. This change drops the
need for artifacts and just uses the ttl.sh service. This technique
is already being used in a few other Konveyor projects as well.

Ref: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
Ref: https://ttl.sh

Requires: konveyor/ci#76
Signed-off-by: Scott J Dickerson <[email protected]>
  • Loading branch information
HadasahR authored and sjd78 committed Feb 1, 2025
1 parent a5bb449 commit 66d5c4a
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/ci-global.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,24 +39,24 @@ concurrency:
jobs:
build-and-upload-for-global-ci:
runs-on: ubuntu-latest
outputs:
IMG_NAME: ${{ steps.container.outputs.IMG_NAME }}
steps:
- uses: actions/checkout@v4

- name: save tackle2-ui image
- id: container
name: build the tackle2-ui container for ${{ github.sha }}
env:
IMG_NAME: ttl.sh/tackle2-ui-${{ github.sha }}:2h
run: |
docker build . -t quay.io/konveyor/tackle2-ui:latest
docker save -o /tmp/tackle2-ui.tar quay.io/konveyor/tackle2-ui:latest
- name: Upload tackle2-ui image as artifact
uses: actions/upload-artifact@v3
with:
name: tackle2-ui
path: /tmp/tackle2-ui.tar
retention-days: 1
echo "IMG_NAME=${IMG_NAME}" >> "$GITHUB_OUTPUT"
docker build . -t $IMG_NAME
docker push
run-global-ci:
needs: build-and-upload-for-global-ci
uses: konveyor/ci/.github/workflows/global-ci.yml@main
uses: konveyor/ci/.github/workflows/global-ci-bundle.yml@main
with:
component_name: tackle2-ui
tackle2-ui: ${{ needs.build-and-upload-for-global-ci.outputs.IMG_NAME }}
run_api_tests: false
run_ui_tests: true

0 comments on commit 66d5c4a

Please sign in to comment.