-
Notifications
You must be signed in to change notification settings - Fork 12
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 #167 from covalenthq/develop
CI Improvements and reporting
- Loading branch information
Showing
8 changed files
with
56 additions
and
24 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 |
---|---|---|
|
@@ -13,6 +13,11 @@ jobs: | |
deploy-test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
with: | ||
access_token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Login to Artifact Registry/GCR | ||
uses: docker/login-action@v2 | ||
with: | ||
|
@@ -30,13 +35,22 @@ jobs: | |
- name: Create .env file | ||
run: | | ||
GIT_BRANCH=${GITHUB_BASE_REF:-${GITHUB_REF#refs/heads/}} | ||
echo "GIT_BRANCH=$GIT_BRANCH" >> $GITHUB_ENV | ||
touch .env | ||
echo WEB3_JWT=${{ secrets.WEB3_JWT }} >> .env | ||
echo IPFS_PINNER_URL=${{ secrets.IPFS_PINNER_URL }} >> .env | ||
echo ERIGON_NODE=${{ secrets.ERIGON_NODE }} >> .env | ||
echo NODE_ETHEREUM_MAINNET=${{ secrets.NODE_ETHEREUM_MAINNET }} >> .env | ||
echo BLOCK_RESULT_OPERATOR_PRIVATE_KEY=${{ secrets.BLOCK_RESULT_OPERATOR_PRIVATE_KEY }} >> .env | ||
echo EVM_SERVER_URL=${{ secrets.EVM_SERVER_URL }} >> .env | ||
echo CI=${{ secrets.CI }} >> .env | ||
echo CODECOV_TOKEN=${{ secrets.CODECOV_TOKEN }} >> .env | ||
echo GITHUB_REF=${{ github.ref_name }} >> .env | ||
echo CODECOV_SLUG=covalenthq/rudder >> .env | ||
echo GITHUB_SHA=$GITHUB_SHA >> .env | ||
echo GITHUB_HEAD_REF=$GITHUB_HEAD_REF >> .env | ||
echo GITHUB_ENV=$GITHUB_ENV >> .env | ||
cat .env | ||
- name: Load .env file | ||
|
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
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
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
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
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
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
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