-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #201 from codecov/trent/update-workflows
Update workflows
- Loading branch information
Showing
3 changed files
with
12 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,11 +21,11 @@ concurrency: | |
jobs: | ||
lint: | ||
name: Run Lint | ||
uses: codecov/gha-workflows/.github/workflows/[email protected].7 | ||
uses: codecov/gha-workflows/.github/workflows/[email protected].12 | ||
|
||
build: | ||
name: Build Worker | ||
uses: codecov/gha-workflows/.github/workflows/[email protected].7 | ||
uses: codecov/gha-workflows/.github/workflows/[email protected].12 | ||
secrets: inherit | ||
with: | ||
repo: ${{ vars.CODECOV_IMAGE_V2 || 'codecov/self-hosted-worker' }} | ||
|
@@ -34,14 +34,14 @@ jobs: | |
codecovstartup: | ||
name: Codecov Startup | ||
needs: build | ||
uses: codecov/gha-workflows/.github/workflows/[email protected].7 | ||
uses: codecov/gha-workflows/.github/workflows/[email protected].12 | ||
secrets: inherit | ||
|
||
ats: | ||
name: ATS | ||
needs: [build] | ||
if: ${{ !github.event.pull_request.head.repo.fork && github.repository_owner == 'codecov' }} | ||
uses: codecov/gha-workflows/.github/workflows/[email protected].7 | ||
uses: codecov/gha-workflows/.github/workflows/[email protected].12 | ||
secrets: inherit | ||
with: | ||
repo: ${{ vars.CODECOV_IMAGE_V2 || 'codecov/self-hosted-worker' }} | ||
|
@@ -51,15 +51,15 @@ jobs: | |
test: | ||
name: Test | ||
needs: [build] | ||
uses: codecov/gha-workflows/.github/workflows/[email protected].7 | ||
uses: codecov/gha-workflows/.github/workflows/[email protected].12 | ||
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/[email protected].7 | ||
uses: codecov/gha-workflows/.github/workflows/[email protected].12 | ||
secrets: inherit | ||
with: | ||
repo: ${{ vars.CODECOV_IMAGE_V2 || 'codecov/self-hosted-worker' }} | ||
|
@@ -68,7 +68,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/[email protected].7 | ||
uses: codecov/gha-workflows/.github/workflows/[email protected].12 | ||
secrets: inherit | ||
with: | ||
environment: staging | ||
|
@@ -78,7 +78,7 @@ jobs: | |
name: Push Production Image | ||
needs: [ build, test ] | ||
if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/prod') && github.repository_owner == 'codecov' }} | ||
uses: codecov/gha-workflows/.github/workflows/[email protected].7 | ||
uses: codecov/gha-workflows/.github/workflows/[email protected].12 | ||
secrets: inherit | ||
with: | ||
environment: production | ||
|
@@ -89,7 +89,7 @@ jobs: | |
needs: [ build-self-hosted, test ] | ||
secrets: inherit | ||
if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/prod') && github.repository_owner == 'codecov' }} | ||
uses: codecov/gha-workflows/.github/workflows/[email protected].7 | ||
uses: codecov/gha-workflows/.github/workflows/[email protected].12 | ||
with: | ||
push_rolling: true | ||
repo: ${{ vars.CODECOV_IMAGE_V2 || 'codecov/self-hosted-worker' }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,5 +10,5 @@ on: | |
jobs: | ||
create-release-pr: | ||
name: Create PR for Release ${{ github.event.inputs.versionName }} | ||
uses: codecov/gha-workflows/.github/workflows/[email protected].7 | ||
uses: codecov/gha-workflows/.github/workflows/[email protected].12 | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,15 +14,15 @@ jobs: | |
create-release: | ||
name: Tag Release ${{ github.head_ref }} and Push Docker image to Docker Hub | ||
if: ${{ github.event.pull_request.merged == true && startsWith(github.head_ref, 'release/') && github.repository_owner == 'codecov' }} | ||
uses: codecov/gha-workflows/.github/workflows/[email protected].7 | ||
uses: codecov/gha-workflows/.github/workflows/[email protected].12 | ||
with: | ||
tag_to_prepend: self-hosted- | ||
secrets: inherit | ||
|
||
push-image: | ||
needs: [create-release] | ||
if: ${{ github.event.pull_request.merged == true && startsWith(github.head_ref, 'release/') && github.repository_owner == 'codecov' }} | ||
uses: codecov/gha-workflows/.github/workflows/[email protected].7 | ||
uses: codecov/gha-workflows/.github/workflows/[email protected].12 | ||
secrets: inherit | ||
with: | ||
push_release: true | ||
|