-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
25 additions
and
2 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 |
---|---|---|
|
@@ -28,10 +28,11 @@ jobs: | |
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Build and push Docker image | ||
uses: strangelove-ventures/[email protected].2 | ||
uses: strangelove-ventures/[email protected].3 | ||
with: | ||
chain: noble | ||
dockerfile: cosmos | ||
build-target: make install | ||
binaries: | | ||
- /go/bin/nobled | ||
clone-key: ${{ secrets.NOBLE_DOLLAR_DEPLOY }} |
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,7 +21,7 @@ jobs: | |
tag: local # emulate local environment for consistency in interchaintest cases | ||
tar-export-path: ${{ env.TAR_PATH }} # export a tarball that can be uploaded as an artifact for the e2e jobs | ||
platform: linux/amd64 # test runner architecture only | ||
git-ref: ${{ github.head_ref }} # source code ref | ||
clone-key: ${{ secrets.NOBLE_DOLLAR_DEPLOY}} | ||
|
||
# Heighliner chains.yaml config | ||
chain: noble | ||
|
@@ -49,6 +49,17 @@ jobs: | |
with: | ||
go-version: '1.22' | ||
|
||
- name: Add and Configure SSH Deploy Key | ||
env: | ||
SSH_AUTH_SOCK: /tmp/ssh_agent.sock | ||
run: | | ||
mkdir -p ~/.ssh | ||
ssh-keyscan github.com >> ~/.ssh/known_hosts | ||
ssh-agent -a $SSH_AUTH_SOCK > /dev/null | ||
echo "${{ secrets.NOBLE_DOLLAR_DEPLOY }}" | base64 -d | ssh-add - | ||
echo "SSH_AUTH_SOCK=$SSH_AUTH_SOCK" >> $GITHUB_ENV | ||
git config --global url."ssh://[email protected]/".insteadOf https://github.com/ | ||
- name: Generate Matrix | ||
id: set-matrix | ||
run: | | ||
|
@@ -84,5 +95,16 @@ jobs: | |
- name: Load Docker Image | ||
run: docker image load -i ${{ env.TAR_PATH }} | ||
|
||
- name: Add and Configure SSH Deploy Key | ||
env: | ||
SSH_AUTH_SOCK: /tmp/ssh_agent.sock | ||
run: | | ||
mkdir -p ~/.ssh | ||
ssh-keyscan github.com >> ~/.ssh/known_hosts | ||
ssh-agent -a $SSH_AUTH_SOCK > /dev/null | ||
echo "${{ secrets.NOBLE_DOLLAR_DEPLOY }}" | base64 -d | ssh-add - | ||
echo "SSH_AUTH_SOCK=$SSH_AUTH_SOCK" >> $GITHUB_ENV | ||
git config --global url."ssh://[email protected]/".insteadOf https://github.com/ | ||
- name: Run Tests | ||
run: cd e2e && go test -race -v -timeout 30m -run ^${{ matrix.test }}$ . |