Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions .github/workflows/api-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
name: Push Staging Image (API)
needs: [api-build, api-test]
if: ${{ inputs.skip == false && github.event_name == 'push' && github.event.ref == 'refs/heads/staging' && github.repository_owner == 'codecov' }}
uses: codecov/gha-workflows/.github/workflows/[email protected].36
uses: codecov/gha-workflows/.github/workflows/[email protected].37
secrets: inherit
with:
environment: staging
Expand All @@ -99,7 +99,7 @@ jobs:
name: Push Production Image (API)
needs: [api-build, api-test]
if: ${{ inputs.skip == false && github.event_name == 'push' && github.event.ref == 'refs/heads/main' && github.repository_owner == 'codecov' }}
uses: codecov/gha-workflows/.github/workflows/[email protected].36
uses: codecov/gha-workflows/.github/workflows/[email protected].37
secrets: inherit
with:
environment: production
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/worker-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
name: Push Staging Image (Worker)
needs: [worker-build, worker-test]
if: ${{ inputs.skip == false && 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].36
uses: codecov/gha-workflows/.github/workflows/[email protected].37
secrets: inherit
with:
environment: staging
Expand All @@ -98,7 +98,7 @@ jobs:
name: Push Production Image (Worker)
needs: [worker-build, worker-test]
if: ${{ inputs.skip == false && github.event_name == 'push' && github.event.ref == 'refs/heads/main' && github.repository_owner == 'codecov' }}
uses: codecov/gha-workflows/.github/workflows/[email protected].36
uses: codecov/gha-workflows/.github/workflows/[email protected].37
secrets: inherit
with:
environment: production
Expand Down
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ export branch := $(shell git branch | grep \* | cut -f2 -d' ')

export DOCKER_BUILDKIT=1

export SHARED_SHA := $(shell git archive --format=tar HEAD libs/shared | sha1sum | head -c 40)
# If we haven't cut over yet, this requires that the submodules are initialized.
# If you see a bunch of "tar: ...: Cannot stat: No such file or directory" errors,
# run `git submodule update --init`
export SHARED_SHA := $(shell git ls-files --recurse-submodules libs/shared | sort | xargs sha1sum | cut -d ' ' -f 1 | sha1sum | head -c 40)
export DOCKER_REQS_SHA := $(shell sha1sum docker/Dockerfile.requirements | head -c 40)

# Generic target for building a requirements image. You probably want
Expand Down
Loading