Skip to content

Commit

Permalink
chore: another attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
johnletey committed Oct 17, 2023
1 parent 33a993b commit 5fa6207
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 36 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/docker-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,12 @@ jobs:
dockerfile: cosmos
build-target: make install
build-env: |
- GOPRIVATE=github.com/circlefin/noble-cctp,github.com/noble-assets/cctp
- GOPRIVATE=github.com/noble-assets/cctp
pre-build: |
mkdir -p ~/.ssh
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
echo "${{ secrets.SSH_NOBLE }}" | base64 -d > ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519
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"
ssh-keyscan github.com >> ~/.ssh/known_hosts
binaries: |
Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/draft-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,12 @@ jobs:
dockerfile: cosmos
build-target: make install
build-env: |
- GOPRIVATE=github.com/circlefin/noble-cctp,github.com/noble-assets/cctp
- GOPRIVATE=github.com/noble-assets/cctp
pre-build: |
mkdir -p ~/.ssh
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
echo "${{ secrets.SSH_NOBLE }}" | base64 -d > ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519
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"
ssh-keyscan github.com >> ~/.ssh/known_hosts
binaries: |
Expand Down
27 changes: 9 additions & 18 deletions .github/workflows/e2e-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,12 @@ jobs:
dockerfile: cosmos
build-target: make install
build-env: |
- GOPRIVATE=github.com/circlefin/noble-cctp,github.com/noble-assets/cctp
- GOPRIVATE=github.com/noble-assets/cctp
pre-build: |
mkdir -p ~/.ssh
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
echo "${{ secrets.SSH_NOBLE }}" | base64 -d > ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519
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"
ssh-keyscan github.com >> ~/.ssh/known_hosts
binaries: |
Expand Down Expand Up @@ -64,13 +61,10 @@ jobs:
- name: CCTP private repo auth
run: |
mkdir -p ~/.ssh
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
echo "${{ secrets.SSH_NOBLE }}" | base64 -d > ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519
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"
export GOPRIVATE=github.com/noble-assets/cctp
git config --global --add url."[email protected]:noble-assets/cctp.git".insteadOf "https://github.com/noble-assets/cctp"
- name: Generate matrix
Expand Down Expand Up @@ -103,13 +97,10 @@ jobs:
- name: CCTP private repo auth
run: |
mkdir -p ~/.ssh
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
echo "${{ secrets.SSH_NOBLE }}" | base64 -d > ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519
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"
export GOPRIVATE=github.com/noble-assets/cctp
git config --global --add url."[email protected]:noble-assets/cctp.git".insteadOf "https://github.com/noble-assets/cctp"
- name: Download Tarball Artifact
Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,10 @@ jobs:
- name: CCTP private repo auth
run: |
mkdir -p ~/.ssh
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
echo "${{ secrets.SSH_NOBLE }}" | base64 -d > ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519
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"
export GOPRIVATE=github.com/noble-assets/cctp
git config --global --add url."[email protected]:noble-assets/cctp.git".insteadOf "https://github.com/noble-assets/cctp"
- name: Run Unit Tests
Expand Down

0 comments on commit 5fa6207

Please sign in to comment.