ops: adding refs back and quicker clones

This commit is contained in:
Hunter Miller 2023-02-02 16:35:42 -06:00
parent af7f89ad26
commit b06af1a5be
5 changed files with 6 additions and 8 deletions

View File

@ -16,11 +16,9 @@ cmdfile=$(mktemp "${TMPDIR:-/tmp/}janeway.XXXXXXXXX")
# mktemp only used for generating a random folder name below
cmds='
source_repo=$(mktemp --dry-run /tmp/repo.janeway.XXXXXXXXX)
echo $source_repo;
git clone git@github.com:'$repo'.git $source_repo
git clone --depth 1 git@github.com:'$repo'.git $source_repo
urbit_repo=$(mktemp --dry-run /tmp/repo.urbit.XXXXXXXXX)
echo $urbit_repo;
git clone git@github.com:urbit/urbit.git $urbit_repo
git clone --depth 1 git@github.com:urbit/urbit.git $urbit_repo
cd $source_repo
git checkout '$ref'
cd /home/urb || return

View File

@ -21,7 +21,7 @@ jobs:
- id: deploy
name: Deploy
run:
./.github/helpers/deploy.sh tloncorp/landscape garden binnec-dozzod-marzod us-west1-b
./.github/helpers/deploy.sh tloncorp/landscape garden binnec-dozzod-marzod us-west1-b ${{ github.event.inputs.tag }}
env:
SSH_SEC_KEY: ${{ secrets.JANEWAY_SSH_SEC_KEY }}
SSH_PUB_KEY: ${{ secrets.JANEWAY_SSH_PUB_KEY }}

View File

@ -21,7 +21,7 @@ jobs:
- id: deploy
name: Deploy
run:
./.github/helpers/deploy.sh tloncorp/landscape garden doznec-dozzod-marzod us-west1-b
./.github/helpers/deploy.sh tloncorp/landscape garden doznec-dozzod-marzod us-west1-b ${{ github.event.inputs.tag }}
env:
SSH_SEC_KEY: ${{ secrets.JANEWAY_SSH_SEC_KEY }}
SSH_PUB_KEY: ${{ secrets.JANEWAY_SSH_PUB_KEY }}

View File

@ -21,7 +21,7 @@ jobs:
- id: deploy
name: Deploy
run:
./.github/helpers/deploy.sh tloncorp/landscape garden marnec-dozzod-marzod us-west1-b
./.github/helpers/deploy.sh tloncorp/landscape garden marnec-dozzod-marzod us-west1-b ${{ github.event.inputs.tag }}
env:
SSH_SEC_KEY: ${{ secrets.JANEWAY_SSH_SEC_KEY }}
SSH_PUB_KEY: ${{ secrets.JANEWAY_SSH_PUB_KEY }}

View File

@ -21,7 +21,7 @@ jobs:
- id: deploy
name: Deploy
run:
./.github/helpers/deploy.sh tloncorp/landscape garden mister-dister-dozzod-dozzod us-central1-a
./.github/helpers/deploy.sh tloncorp/landscape garden mister-dister-dozzod-dozzod us-central1-a ${{ github.event.inputs.tag }}
env:
SSH_SEC_KEY: ${{ secrets.JANEWAY_SSH_SEC_KEY }}
SSH_PUB_KEY: ${{ secrets.JANEWAY_SSH_PUB_KEY }}