Skip to content

Commit

Permalink
move back ssh - new ami
Browse files Browse the repository at this point in the history
Racer159 committed Sep 6, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 546910c commit 8e22484
Showing 2 changed files with 8 additions and 7 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/nightly-testing.yaml
Original file line number Diff line number Diff line change
@@ -85,6 +85,14 @@ jobs:

- name: Test Fleeting Bundle
run: |
pushd .github/test-infra/asg-iac
tofu output -raw jumpbox_private_key > ~/.ssh/id_rsa_jump
chmod 600 ~/.ssh/id_rsa_jump
ssh -o StrictHostKeyChecking=no -i ~/.ssh/id_rsa_jump \
-R 8080:localhost:443 "ubuntu@$(tofu output -raw jumpbox_public_ip)" \
'sudo socat TCP-LISTEN:443,reuseaddr,keepalive,nodelay,fork TCP:localhost:8080' &
popd
UDS_GITLAB_RUNNER_AUTOSCALING_ROLE_ARN=$(cd .github/test-infra/asg-iac && tofu output -raw asg_role_arn) uds run test-fleeting --set FLAVOR=${{ matrix.flavor }} --no-progress
timeout-minutes: 25
env:
7 changes: 0 additions & 7 deletions tasks.yaml
Original file line number Diff line number Diff line change
@@ -88,13 +88,6 @@ tasks:
path: bundle/fleeting
- task: setup:k3d-test-cluster
- task: dependencies:deploy
- cmd: |
tofu output -raw jumpbox_private_key > ~/.ssh/id_rsa_jump
chmod 600 ~/.ssh/id_rsa_jump
nohup ssh -o StrictHostKeyChecking=no -i ~/.ssh/id_rsa_jump \
-R 8080:localhost:443 "ubuntu@$(tofu output -raw jumpbox_public_ip)" \
'sudo socat TCP-LISTEN:443,reuseaddr,keepalive,nodelay,fork TCP:localhost:8080' &
dir: .github/test-infra/asg-iac
- task: deploy:test-bundle
with:
path: bundle/fleeting

0 comments on commit 8e22484

Please sign in to comment.