Skip to content

Commit

Permalink
test: enable force-aws-upload for testing farm tests
Browse files Browse the repository at this point in the history
Add the AWS secrets to the testing farm action and enable
`force-aws-upload` on the pytest call in the testing farm plan.

Run these only in testing farm which runs on pull_request_target and can
access GitHub secrets.
  • Loading branch information
achilleas-k authored and ondrejbudai committed Jan 12, 2024
1 parent fd98eec commit 73330dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plans/all.fmf
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ prepare:
- qemu-kvm
execute:
how: tmt
script: pytest -s -vv
script: pytest -s -vv --force-aws-upload
2 changes: 1 addition & 1 deletion test/vm.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def start(self):
self._ec2_instance.wait_until_running()
self._ec2_instance.reload() # make sure the instance info is up to date
self._address = self._ec2_instance.public_ip_address
self._log("Instance is running")
self._log(f"Instance is running at {self._address}")
self.wait_ssh_ready()
self._log("SSH is ready")
except ClientError as err:
Expand Down

0 comments on commit 73330dd

Please sign in to comment.