Обновить .gitea/workflows/test.yaml
Some checks failed
Test cloud-images / building (push) Failing after 22s
Some checks failed
Test cloud-images / building (push) Failing after 22s
This commit is contained in:
parent
ef9f642d31
commit
3e29a4f1dd
@ -13,6 +13,8 @@ jobs:
|
|||||||
mkdir -p ~/.ssh/
|
mkdir -p ~/.ssh/
|
||||||
echo "$SSH_KEY" > ~/.ssh/builder.key
|
echo "$SSH_KEY" > ~/.ssh/builder.key
|
||||||
chmod 600 ~/.ssh/builder.key
|
chmod 600 ~/.ssh/builder.key
|
||||||
|
echo "$SSH_T_KEY" > ~/.ssh/taishan.key
|
||||||
|
chmod 600 ~/.ssh/taishan.key
|
||||||
cat >>~/.ssh/config <<END
|
cat >>~/.ssh/config <<END
|
||||||
Host builder
|
Host builder
|
||||||
HostName $SSH_HOST
|
HostName $SSH_HOST
|
||||||
@ -23,7 +25,7 @@ jobs:
|
|||||||
HostName 127.0.0.1
|
HostName 127.0.0.1
|
||||||
User $SSH_T_USER
|
User $SSH_T_USER
|
||||||
Port $SSH_T_PORT
|
Port $SSH_T_PORT
|
||||||
IdentityFile ~/.ssh/builder.key
|
IdentityFile ~/.ssh/taishan.key
|
||||||
IdentitiesOnly yes
|
IdentitiesOnly yes
|
||||||
ProxyCommand ssh $SSH_T_USER@$SSH_T_HOST -o StrictHostKeyChecking="no" -W %h:%p
|
ProxyCommand ssh $SSH_T_USER@$SSH_T_HOST -o StrictHostKeyChecking="no" -W %h:%p
|
||||||
StrictHostKeyChecking no
|
StrictHostKeyChecking no
|
||||||
@ -31,6 +33,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
SSH_USER: ${{ secrets.BUILDER_SSH_USER }}
|
SSH_USER: ${{ secrets.BUILDER_SSH_USER }}
|
||||||
SSH_KEY: ${{ secrets.BUILDER_SSH_KEY }}
|
SSH_KEY: ${{ secrets.BUILDER_SSH_KEY }}
|
||||||
|
SSH_T_KEY: ${{ secrets.TAISHAN_SSH_KEY }}
|
||||||
SSH_HOST: ${{ secrets.BUILDER_SSH_HOST }}
|
SSH_HOST: ${{ secrets.BUILDER_SSH_HOST }}
|
||||||
SSH_T_USER: ${{ secrets.TAISHAN_SSH_USER }}
|
SSH_T_USER: ${{ secrets.TAISHAN_SSH_USER }}
|
||||||
SSH_T_PORT: ${{ secrets.TAISHAN_SSH_PORT }}
|
SSH_T_PORT: ${{ secrets.TAISHAN_SSH_PORT }}
|
||||||
|
Loading…
Reference in New Issue
Block a user