Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/gha update #639

Merged
merged 6 commits into from
Aug 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 14 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,33 +21,38 @@ concurrency:
jobs:
lint:
name: Run Lint
uses: codecov/gha-workflows/.github/workflows/lint.yml@v1.2.22

uses: codecov/gha-workflows/.github/workflows/lint.yml@v1.2.23

build:
name: Build Worker
uses: codecov/gha-workflows/.github/workflows/build-app.yml@v1.2.22
uses: codecov/gha-workflows/.github/workflows/build-app.yml@v1.2.23

secrets: inherit
with:
repo: ${{ vars.CODECOV_IMAGE_V2 || 'codecov/self-hosted-worker' }}

codecovstartup:
name: Codecov Startup
needs: build
uses: codecov/gha-workflows/.github/workflows/codecov-startup.yml@v1.2.22
uses: codecov/gha-workflows/.github/workflows/codecov-startup.yml@v1.2.23

secrets: inherit

test:
name: Test
needs: [build]
uses: codecov/gha-workflows/.github/workflows/run-tests.yml@v1.2.22
uses: codecov/gha-workflows/.github/workflows/run-tests.yml@v1.2.23

secrets: inherit
with:
repo: ${{ vars.CODECOV_IMAGE_V2 || 'codecov/self-hosted-worker' }}

build-self-hosted:
name: Build Self Hosted Worker
needs: [build, test]
uses: codecov/gha-workflows/.github/workflows/self-hosted.yml@v1.2.22

uses: codecov/gha-workflows/.github/workflows/self-hosted.yml@v1.2.23
secrets: inherit
with:
repo: ${{ vars.CODECOV_IMAGE_V2 || 'codecov/self-hosted-worker' }}
Expand All @@ -56,7 +61,7 @@ jobs:
name: Push Staging Image
needs: [build, test]
if: ${{ github.event_name == 'push' && (github.event.ref == 'refs/heads/main' || github.event.ref == 'refs/heads/staging') && github.repository_owner == 'codecov' }}
uses: codecov/gha-workflows/.github/workflows/push-env.yml@v1.2.22
uses: codecov/gha-workflows/.github/workflows/push-env.yml@v1.2.23
secrets: inherit
with:
environment: staging
Expand All @@ -66,7 +71,7 @@ jobs:
name: Push Production Image
needs: [build, test]
if: ${{ github.event_name == 'push' && github.event.ref == 'refs/heads/main' && github.repository_owner == 'codecov' }}
uses: codecov/gha-workflows/.github/workflows/push-env.yml@v1.2.22
uses: codecov/gha-workflows/.github/workflows/push-env.yml@v1.2.23
secrets: inherit
with:
environment: production
Expand All @@ -77,7 +82,7 @@ jobs:
needs: [build-self-hosted, test]
secrets: inherit
if: ${{ github.event_name == 'push' && github.event.ref == 'refs/heads/main' && github.repository_owner == 'codecov' }}
uses: codecov/gha-workflows/.github/workflows/self-hosted.yml@v1.2.22
uses: codecov/gha-workflows/.github/workflows/self-hosted.yml@v1.2.23
with:
push_rolling: true
repo: ${{ vars.CODECOV_IMAGE_V2 || 'codecov/self-hosted-worker' }}
Expand Down Expand Up @@ -119,4 +124,4 @@ jobs:
# make test_env.prepare
# - name: Run mutations
# run: |
# make test_env.run_mutation
# make test_env.run_mutation
Loading