mirror of
https://github.com/tloncorp/landscape.git
synced 2024-12-25 09:43:28 +03:00
ops: debugging weird git clone
This commit is contained in:
parent
02a0f0a13b
commit
8208407f5f
8
.github/helpers/prep-deploy.sh
vendored
8
.github/helpers/prep-deploy.sh
vendored
@ -14,19 +14,21 @@ set -o pipefail
|
|||||||
cmdfile=$(mktemp "${TMPDIR:-/tmp/}janeway.XXXXXXXXX")
|
cmdfile=$(mktemp "${TMPDIR:-/tmp/}janeway.XXXXXXXXX")
|
||||||
cmds='
|
cmds='
|
||||||
source_repo=$(mktemp --dry-run /tmp/repo.janeway.XXXXXXXXX)
|
source_repo=$(mktemp --dry-run /tmp/repo.janeway.XXXXXXXXX)
|
||||||
|
echo $source_repo;
|
||||||
git clone git@github.com:'$repo'.git $source_repo
|
git clone git@github.com:'$repo'.git $source_repo
|
||||||
urbit_repo=$(mktemp --dry-run /tmp/repo.urbit.XXXXXXXXX)
|
urbit_repo=$(mktemp --dry-run /tmp/repo.urbit.XXXXXXXXX)
|
||||||
|
echo $urbit_repo;
|
||||||
git clone git@github.com:urbit/urbit.git $urbit_repo
|
git clone git@github.com:urbit/urbit.git $urbit_repo
|
||||||
cd $source_repo
|
cd $source_repo
|
||||||
git checkout '$ref'
|
git checkout '$ref'
|
||||||
cd /home/urb || return
|
cd /home/urb || return
|
||||||
curl -s --data '"'"'{"source":{"dojo":"+hood/mount %'$desk'"},"sink":{"app":"hood"}}'"'"' http://localhost:12321
|
curl -s --data '\''{"source":{"dojo":"+hood/mount %'$desk'"},"sink":{"app":"hood"}}'\'' http://localhost:12321
|
||||||
rsync -avL --delete $source_repo/desk/ '$folder'
|
rsync -avL --delete $source_repo/desk/ '$folder'
|
||||||
rsync -avL $urbit_repo/pkg/base-dev/ '$folder'
|
rsync -avL $urbit_repo/pkg/base-dev/ '$folder'
|
||||||
curl -s --data '"'"'{"source":{"dojo":"+hood/commit %'$desk'"},"sink":{"app":"hood"}}'"'"' http://localhost:12321
|
curl -s --data '\''{"source":{"dojo":"+hood/commit %'$desk'"},"sink":{"app":"hood"}}'\'' http://localhost:12321
|
||||||
rm -rf $source_repo
|
rm -rf $source_repo
|
||||||
rm -rf $urbit_repo
|
rm -rf $urbit_repo
|
||||||
'
|
'
|
||||||
echo "$cmds" >> "$cmdfile"
|
echo "$cmds" >> "$cmdfile"
|
||||||
|
echo "$cmdfile"
|
||||||
echo "cmdfile=$(echo $cmdfile)" >> $GITHUB_OUTPUT
|
echo "cmdfile=$(echo $cmdfile)" >> $GITHUB_OUTPUT
|
Loading…
Reference in New Issue
Block a user