Skip to content

Commit

Permalink
Copy VERSION file to Bastion
Browse files Browse the repository at this point in the history
This file is read from the `versions` Python module, so we need to copy
it along with the test sources.
Note that we squash previous `scp` occurences into a single `tar` copy
over SSH, which allows us to preserve symlinks.

Issue: #640
  • Loading branch information
gdemonet committed Jul 29, 2019
1 parent bc37029 commit 62fdd15
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions eve/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -383,9 +383,8 @@ stages:
SSH_CONFIG: >-
eve/workers/openstack-multiple-nodes/terraform/ssh_config
command: >
ssh -F $SSH_CONFIG bastion mkdir metalk8s &&
scp -F $SSH_CONFIG tox.ini bastion:metalk8s/ &&
scp -F $SSH_CONFIG -r tests bastion:metalk8s/
tar cfp - tox.ini VERSION tests/ buildchain/buildchain/versions.py
| ssh -F $SSH_CONFIG bastion '(mkdir metalk8s; cd "$_"; tar xf -)'
- ShellCommand:
name: Run tests on the bastion
# yamllint disable rule:line-length
Expand Down

0 comments on commit 62fdd15

Please sign in to comment.