Deckhand gate fix

Unpin python3-six for Opensuse image build.

Update helm-toolkit stable commit to merge of this change:
https://review.opendev.org/#/c/803654/

Update the helm installation script to download and install v2.17.0

Fix integration tests by pinning Barbican to stable commit.

Pinn jsonschema to 4.0.0a2 to fix tox tests

Change-Id: I2badd0e2f6c934098f0c9f5ef7e52354756c12e0
This commit is contained in:
anthony.bellino 2021-08-06 12:58:38 -07:00
parent d5babeaa86
commit 1328f5b568
11 changed files with 13 additions and 6 deletions

View File

@ -18,7 +18,7 @@ beaker==1.10.0
deepdiff==3.3.0
falcon==1.4.1
jsonpath-ng==1.4.3
jsonschema>=3.0.1<4
jsonschema==4.0.0a2
keystoneauth1==3.11.1
networkx==2.2
Paste==3.0.1

View File

@ -52,7 +52,7 @@ RUN set -x && \
python3-setuptools \
&& zypper --non-interactive ar -f https://download.opensuse.org/repositories/devel:languages:python/openSUSE_Leap_15.3/devel:languages:python.repo \
&& zypper --non-interactive --gpg-auto-import-keys refresh devel_languages_python \
&& zypper --non-interactive install python3-six-1.16.0-lp153.103.1.noarch
&& zypper --non-interactive install python3-six
RUN pip3 install -U pip \
&& zypper clean -a \

View File

@ -11,7 +11,7 @@ cryptography>=2.7
deepdiff==3.3.0
falcon==1.4.1
jsonpath-ng==1.4.3
jsonschema>=3.0.1<4
jsonschema==4.0.0a2
keystoneauth1>=3.18.0
keystonemiddleware==5.3.0
kombu<4.7,>=4.6.10

View File

@ -13,6 +13,8 @@
# limitations under the License.
- hosts: all
vars_files:
- vars.yaml
roles:
- install-test-requirements
- build-images

View File

@ -13,6 +13,8 @@
# limitations under the License.
- hosts: all
vars_files:
- vars.yaml
gather_facts: False
roles:
- disable-systemd-resolved

View File

@ -12,4 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
zuul_airship_deckhand_relative_path: ../airship-deckhand
barbican_stable_commit: 3ac3caa0138d44aa6031848d5b83802128a169b5

View File

@ -15,6 +15,7 @@
- name: Deploy Barbican
shell: |
set -xe;
git reset --hard "{{ barbican_stable_commit | default('') }}"
./tools/deployment/component/barbican/barbican.sh
args:
chdir: "{{ zuul.project.src_dir }}/{{ zuul_osh_relative_path | default('') }}"

View File

@ -61,5 +61,6 @@
environment:
DECKHAND_TEST_URL: "127.0.0.1:9000"
DECKHAND_TEST_DIR: "{{ airship_deckhand_path.stdout }}/deckhand/tests/integration/gabbits"
BARBICAN_STABLE_COMMIT: "{{ barbican_stable_commit }}"
register: result
failed_when: "result.rc != 0"

View File

@ -17,7 +17,7 @@
set -x
HELM=$1
HELM_ARTIFACT_URL=${HELM_ARTIFACT_URL:-"https://storage.googleapis.com/kubernetes-helm/helm-v2.13.1-linux-amd64.tar.gz"}
HELM_ARTIFACT_URL=${HELM_ARTIFACT_URL:-"https://get.helm.sh/helm-v2.17.0-linux-amd64.tar.gz"}
function install_helm_binary {

View File

@ -18,7 +18,7 @@
HELM=$1
HTK_REPO=${HTK_REPO:-"https://github.com/openstack/openstack-helm-infra"}
HTK_PATH=${HTK_PATH:-""}
HTK_STABLE_COMMIT=${HTK_COMMIT:-"4fe6212dad6e3f07d43122485d60ab8f38642293"}
HTK_STABLE_COMMIT=${HTK_COMMIT:-"830df06628e4257ddc656a8869f3705e7b148f49"}
BUILD_DIR=${BUILD_DIR:-$(mktemp -d)}
if [[ ! -z $(echo $http_proxy) ]]

View File

@ -47,6 +47,7 @@ function deploy_osh_keystone_barbican {
fi
cd ${OSH_PATH}
git reset --hard ${BARBICAN_STABLE_COMMIT}
# Deploy required packages
./tools/deployment/common/install-packages.sh
# Deploy Kubernetes