Skip to content

Commit

Permalink
chore: add more deploy keys
Browse files Browse the repository at this point in the history
  • Loading branch information
johnletey committed Oct 17, 2023
1 parent 28509a0 commit 33a993b
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 12 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/docker-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,10 @@ jobs:
- GOPRIVATE=github.com/circlefin/noble-cctp,github.com/noble-assets/cctp
pre-build: |
mkdir -p ~/.ssh
echo "${{ secrets.GITAUTH }}" | base64 -d > ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519
echo "${{ secrets.SSH_CIRCLE }}" | base64 -d > ~/.ssh/id_ed25519_circle
echo "${{ secrets.SSH_NOBLE }}" | base64 -d > ~/.ssh/id_ed25519_noble
chmod 600 ~/.ssh/id_ed25519_circle
chmod 600 ~/.ssh/id_ed25519_noble
apk add openssh
git config --global --add url."[email protected]:circlefin/noble-cctp.git".insteadOf "https://github.com/circlefin/noble-cctp"
git config --global --add url."[email protected]:noble-assets/cctp.git".insteadOf "https://github.com/noble-assets/cctp"
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/draft-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,10 @@ jobs:
- GOPRIVATE=github.com/circlefin/noble-cctp,github.com/noble-assets/cctp
pre-build: |
mkdir -p ~/.ssh
echo "${{ secrets.GITAUTH }}" | base64 -d > ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519
echo "${{ secrets.SSH_CIRCLE }}" | base64 -d > ~/.ssh/id_ed25519_circle
echo "${{ secrets.SSH_NOBLE }}" | base64 -d > ~/.ssh/id_ed25519_noble
chmod 600 ~/.ssh/id_ed25519_circle
chmod 600 ~/.ssh/id_ed25519_noble
apk add openssh
git config --global --add url."[email protected]:circlefin/noble-cctp.git".insteadOf "https://github.com/circlefin/noble-cctp"
git config --global --add url."[email protected]:noble-assets/cctp.git".insteadOf "https://github.com/noble-assets/cctp"
Expand Down
18 changes: 12 additions & 6 deletions .github/workflows/e2e-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,10 @@ jobs:
- GOPRIVATE=github.com/circlefin/noble-cctp,github.com/noble-assets/cctp
pre-build: |
mkdir -p ~/.ssh
echo "${{ secrets.GITAUTH }}" | base64 -d > ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519
echo "${{ secrets.SSH_CIRCLE }}" | base64 -d > ~/.ssh/id_ed25519_circle
echo "${{ secrets.SSH_NOBLE }}" | base64 -d > ~/.ssh/id_ed25519_noble
chmod 600 ~/.ssh/id_ed25519_circle
chmod 600 ~/.ssh/id_ed25519_noble
apk add openssh
git config --global --add url."[email protected]:circlefin/noble-cctp.git".insteadOf "https://github.com/circlefin/noble-cctp"
git config --global --add url."[email protected]:noble-assets/cctp.git".insteadOf "https://github.com/noble-assets/cctp"
Expand Down Expand Up @@ -62,8 +64,10 @@ jobs:
- name: CCTP private repo auth
run: |
mkdir -p ~/.ssh
echo "${{ secrets.GITAUTH }}" | base64 -d > ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519
echo "${{ secrets.SSH_CIRCLE }}" | base64 -d > ~/.ssh/id_ed25519_circle
echo "${{ secrets.SSH_NOBLE }}" | base64 -d > ~/.ssh/id_ed25519_noble
chmod 600 ~/.ssh/id_ed25519_circle
chmod 600 ~/.ssh/id_ed25519_noble
ssh-keyscan github.com >> ~/.ssh/known_hosts
export GOPRIVATE=github.com/circlefin/noble-cctp,github.com/noble-assets/cctp
git config --global --add url."[email protected]:circlefin/noble-cctp.git".insteadOf "https://github.com/circlefin/noble-cctp"
Expand Down Expand Up @@ -99,8 +103,10 @@ jobs:
- name: CCTP private repo auth
run: |
mkdir -p ~/.ssh
echo "${{ secrets.GITAUTH }}" | base64 -d > ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519
echo "${{ secrets.SSH_CIRCLE }}" | base64 -d > ~/.ssh/id_ed25519_circle
echo "${{ secrets.SSH_NOBLE }}" | base64 -d > ~/.ssh/id_ed25519_noble
chmod 600 ~/.ssh/id_ed25519_circle
chmod 600 ~/.ssh/id_ed25519_noble
ssh-keyscan github.com >> ~/.ssh/known_hosts
export GOPRIVATE=github.com/circlefin/noble-cctp,github.com/noble-assets/cctp
git config --global --add url."[email protected]:circlefin/noble-cctp.git".insteadOf "https://github.com/circlefin/noble-cctp"
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@ jobs:
- name: CCTP private repo auth
run: |
mkdir -p ~/.ssh
echo "${{ secrets.GITAUTH }}" | base64 -d > ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519
echo "${{ secrets.SSH_CIRCLE }}" | base64 -d > ~/.ssh/id_ed25519_circle
echo "${{ secrets.SSH_NOBLE }}" | base64 -d > ~/.ssh/id_ed25519_noble
chmod 600 ~/.ssh/id_ed25519_circle
chmod 600 ~/.ssh/id_ed25519_noble
ssh-keyscan github.com >> ~/.ssh/known_hosts
export GOPRIVATE=github.com/circlefin/noble-cctp,github.com/noble-assets/cctp
git config --global --add url."[email protected]:circlefin/noble-cctp.git".insteadOf "https://github.com/circlefin/noble-cctp"
Expand Down

0 comments on commit 33a993b

Please sign in to comment.