Skip to content

Commit

Permalink
another attempt to fix tox issues in focal
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Stokes <51892+adam-stokes@users.noreply.github.com>
  • Loading branch information
adam-stokes committed Nov 2, 2020
1 parent f846e1b commit aa96f76
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/lxd-launcher
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def cli():
@click.option("--ssh-import-id", help="SSH public key to import", default="cdkbot")
@click.option("--key-file", help="SSH Key to connect to container with", default="/var/lib/jenkins/.ssh/cdkbot_rsa")
def build(container_name, playbook, ssh_import_id, key_file):
cmd_ok(f"sudo lxc launch ubuntu:20.10 {container_name}")
cmd_ok(f"sudo lxc launch ubuntu:20.04 {container_name}")
lxc_ip = None
while not lxc_ip:
lxc_info = capture(f"sudo lxc info {container_name}")
Expand Down
2 changes: 1 addition & 1 deletion jobs/build-debs/debuilder-playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
tox
- name: remove apt deps
shell: |
apt-get remove -qyf python3-tox
apt remove --autoremove -qyf tox
ignore_errors: yes
- name: upgrade system pip
shell: |
Expand Down
1 change: 1 addition & 0 deletions jobs/build-debs/run.sh.j2
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ if [ "$DRY_RUN" = "true" ]; then
fi

cd /root/jenkins

tox -e py3 --workdir .tox -- python jobs/sync-upstream/sync.py debs $OPTS

0 comments on commit aa96f76

Please sign in to comment.