From bc555a96eed7f4c1ece8d0f7dad85706b90138bc Mon Sep 17 00:00:00 2001 From: David Colburn Date: Wed, 19 Jun 2024 11:56:17 -0700 Subject: [PATCH] try authorized users --- .github/workflows/publish-chrome.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish-chrome.yaml b/.github/workflows/publish-chrome.yaml index 486a5d1a..e8b0c398 100644 --- a/.github/workflows/publish-chrome.yaml +++ b/.github/workflows/publish-chrome.yaml @@ -24,7 +24,8 @@ jobs: id: create_builder run: | builder_info="$(linode-cli linodes create \ - --authorized_keys '${{ secrets.LINODE_SSH_PUBLIC_KEY }}' \ + --authorized_users dclivekit \ + --backups_enabled false \ --booted true \ --image linode/ubuntu22.04 \ --label chrome-builder \ @@ -48,7 +49,7 @@ jobs: while [ "$status" == "provisioning" ] || [ "$status" == "booting" ]; do \ status=$(linode-cli linodes view ${{ steps.create_builder.outputs.builder_id }} --json | jq -r '.[0].status'); \ echo "Builder status: $status"; \ - sleep 5; \ + sleep 15; \ done env: LINODE_CLI_TOKEN: ${{ secrets.LINODE_PAT }} @@ -61,7 +62,7 @@ jobs: chmod 600 ~/.ssh/linode_ed25519.pub echo "${{ secrets.LINODE_SSH_PRIVATE_KEY }}" > ~/.ssh/linode_ed25519 chmod 600 ~/.ssh/linode_ed25519 - echo "${{ steps.create_builder.outputs.builder_ip }} ssh-ed25519 ${{ secrets.LINODE_SSH_PUBLIC_KEY }}" >> ~/.ssh/known_hosts + ssh-keyscan -H ${{ steps.create_builder.outputs.builder_ip }} > ~/.ssh/known_hosts - name: Setup run: |