Skip to content

Commit

Permalink
reconfigure
Browse files Browse the repository at this point in the history
  • Loading branch information
boojamya committed Jan 14, 2025
1 parent a2c80de commit 391117d
Showing 1 changed file with 22 additions and 8 deletions.
30 changes: 22 additions & 8 deletions .github/workflows/e2e-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:

env:
TAR_PATH: heighliner.tar
GOPRIVATE: github.com/{organisation}

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down Expand Up @@ -54,10 +55,17 @@ jobs:
with:
go-version: '1.22'

- name: Set up SSH
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.FIAT_TF_PRIV_DPLY }}
- 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.FIAT_TF_PRIV_DPLY }}" | 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
Expand Down Expand Up @@ -94,10 +102,16 @@ jobs:
- name: Load Docker Image
run: docker image load -i ${{ env.TAR_PATH }}

- name: Set up SSH
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.FIAT_TF_PRIV_DPLY }}
- 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.FIAT_TF_PRIV_DPLY }}" | 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 }}$ .

0 comments on commit 391117d

Please sign in to comment.