Added core18 snap path to PATH.

This should fix the issue where the configure hook doesn't run
properly on systems without netcat installed.

Also got rid of call to install netcat in tools/install_and_build.sh.

Doubled timeout in .zuul.yaml to deal with timeout that happened
during this test (I think that we were pushing the hour timeout as it was).

Change-Id: Ie9cd729109a871c32c12108163d22008d91155f9
changes/41/672541/2
Pete Vander Giessen 3 years ago
parent 8ea5dc8679
commit 65441d5b2a
  1. 2
      .zuul.yaml
  2. 2
      snapcraft.yaml
  3. 2
      tools/install_and_build.sh

@ -1,7 +1,7 @@
- job:
name: microstack-tox-snap-with-sudo
parent: openstack-tox-snap-with-sudo
timeout: 3600
timeout: 7200
nodeset: ubuntu-bionic
- project:

@ -9,7 +9,7 @@ grade: stable
confinement: classic
environment:
LD_LIBRARY_PATH: $SNAP/lib:$SNAP/lib/$SNAPCRAFT_ARCH_TRIPLET:$SNAP/usr/lib:$SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET
PATH: $SNAP/usr/sbin:$SNAP/usr/bin:$SNAP/sbin:$SNAP/bin:$PATH
PATH: $SNAP/usr/sbin:$SNAP/usr/bin:$SNAP/sbin:$SNAP/bin:/snap/core18/current/bin:$PATH
LC_ALL: C
OS_PLACEMENT_CONFIG_DIR: $SNAP/etc/nova/
# admin rc (TODO: put this someplace more sensible)

@ -4,8 +4,6 @@ set -ex
export PATH=/snap/bin:$PATH
which nc || sudo apt install -y netcat
sudo apt update
sudo apt install -y snapd

Loading…
Cancel
Save