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

Signed-off-by: Scott J Dickerson <[email protected]>
  • Loading branch information
sjd78 committed Feb 1, 2025
1 parent a5bb449 commit 2bebbd2
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions .github/workflows/ci-global.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,27 +36,24 @@ concurrency:
group: ci-global-${{ github.ref }}
cancel-in-progress: true

env:
IMG_NAME: ttl.sh/tackle2-ui-${{ github.sha }}:2h

jobs:
build-and-upload-for-global-ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: save tackle2-ui image
- name: build the tackle2-ui container for ${{ github.sha }}
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
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: ${{ env.IMG_NAME }}
run_api_tests: false
run_ui_test: true

0 comments on commit 2bebbd2

Please sign in to comment.