Skip to content

Commit

Permalink
Pass enable root auth post-install-script
Browse files Browse the repository at this point in the history
This should allow root auth on every guest, even those that
don't have it enabled by default.
This patch also pins tft github action to 1.2.10.

OAMG-6748
  • Loading branch information
fernflower committed Apr 28, 2022
1 parent 4143ad1 commit ce189eb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/tmt-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ jobs:
id: run_test_7to8
env:
ARTIFACTS: ${{ format('{0};{1}', steps.leapp_repository_pr_regex_match.outputs.match != '' && steps.copr_build_leapp_repository.outputs.copr_id || steps.get_latest_lpr_copr_build_id.outputs.copr_id, steps.copr_build.outputs.copr_id) }}
uses: sclorg/[email protected].9
uses: sclorg/[email protected].10
with:
# required
api_url: ${{ secrets.TF_ENDPOINT }}
Expand All @@ -173,12 +173,13 @@ jobs:
# preparation moved out to a different workflow and the rest split into 2 workflows - 7to8 and 8to9 that are
# triggered on a specific repository dispatch event.
update_pull_request_status: 'false'
environment_settings: '{"provisioning": {"post_install_script": "#!/bin/sh\nsudo sed -i s/.*ssh-rsa/ssh-rsa/ /root/.ssh/authorized_keys"}}'

- name: Schedule regression testing for 8to9
id: run_test_8to9
env:
ARTIFACTS: ${{ format('{0};{1}', steps.leapp_repository_pr_regex_match.outputs.match != '' && steps.copr_build_leapp_repository.outputs.copr_id || steps.get_latest_lpr_copr_build_id.outputs.copr_id, steps.copr_build.outputs.copr_id) }}
uses: sclorg/[email protected].9
uses: sclorg/[email protected].10
with:
# required
api_url: ${{ secrets.TF_ENDPOINT }}
Expand All @@ -201,3 +202,4 @@ jobs:
# preparation moved out to a different workflow and the rest split into 2 workflows - 7to8 and 8to9 that are
# triggered on a specific repository dispatch event.
update_pull_request_status: 'false'
environment_settings: '{"provisioning": {"post_install_script": "#!/bin/sh\nsudo sed -i s/.*ssh-rsa/ssh-rsa/ /root/.ssh/authorized_keys"}}'

0 comments on commit ce189eb

Please sign in to comment.