Skip to content

Commit

Permalink
Test 2
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Heinrich <[email protected]>
  • Loading branch information
andistorm committed Oct 4, 2024
1 parent 3d5cb60 commit 8805074
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/continuous_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ jobs:
outputs:
everest_ci_version: ${{ env.EVEREST_CI_VERSION }}
workflow_path: ${{ steps.set_workflow_path.outputs.workflow_path }}
sha_reusable_workflow: ${{ steps.set_sha_reusable_workflow.outputs.sha }}
steps:
- name: Determine workflow_path
id: set_workflow_path
Expand All @@ -215,11 +216,18 @@ jobs:
with open(os.environ["GITHUB_OUTPUT"], "a") as f:
f.write(f"workflow_path={workflow_path}\n")
print(f"Set output workflow_path to {workflow_path}")
- name: Determine SHA of the reusable workflow
id: set_sha_reusable_workflow
uses: canonical/[email protected]
with:
repository-name: everest/everest-ci
file-name: continuous_integration.yml

build-and-push-build-kit:
name: Build and Push Build Kit
uses: everest/everest-ci/.github/workflows/[email protected]
needs: setup-env
needs:
- setup-env
permissions:
contents: read
packages: write
Expand All @@ -241,7 +249,9 @@ jobs:
build:
name: Build, Unit Tests and Install
needs: build-and-push-build-kit
needs:
- setup-env
- build-and-push-build-kit
runs-on: ${{ inputs.runner }}
env:
BUILD_KIT_IMAGE: ${{ needs.build-and-push-build-kit.outputs.one_image_tag_long }}
Expand Down Expand Up @@ -319,7 +329,7 @@ jobs:
id: deploy_coverage_report
if: ${{ steps.run_coverage.outcome == 'success' || steps.run_coverage.outcome == 'failure' }}
# LTODO update tag
uses: ./github-actions/deploy-ci-artifact
uses: everest/everest-ci/github-actions/deploy-ci-artifact@${{ needs.setup-env.outputs.sha }}
with:
target_repo: ${{ inputs.artifact_deploy_target_repo }}
github_token: ${{ secrets.coverage_deploy_token }}
Expand Down Expand Up @@ -366,6 +376,7 @@ jobs:
integration-tests:
name: Integration Tests
needs:
- setup-env
- build
- build-and-push-build-kit
env:
Expand Down Expand Up @@ -433,6 +444,7 @@ jobs:
create_coverage_badge:
name: Create Coverage Badge
needs:
- setup-env
- build
runs-on: ${{ inputs.runner }}
# LTODO uncomment
Expand Down

0 comments on commit 8805074

Please sign in to comment.