Add n3000-opae docker image to system downloads

We want to download the n3000-opae docker image and push it to
the local registry in order to ensure it's available since it's
needed by sysinv-fpga-agent.

Change-Id: I63cfa7698285a1a43f1e9e4b98e9a536fc3dc682
Story: 2006740
Task: 39910
This commit is contained in:
Chris Friesen 2020-05-26 17:10:06 -04:00
parent 1735710886
commit 741c057769
3 changed files with 7 additions and 5 deletions

View File

@ -1,2 +1,2 @@
SRC_DIR="src"
TIS_PATCH_VER=9
TIS_PATCH_VER=PKG_GITREVCOUNT

View File

@ -64,9 +64,10 @@
- "{{ multus_img }}"
- "{{ sriov_cni_img }}"
- "{{ sriov_network_device_img }}"
tiller_armada_images:
static_images:
- "{{ tiller_img }}"
- "{{ armada_img }}"
- "{{ n3000_opae_img }}"
storage_images:
- "{{ snapshot_controller_img }}"
when: kubernetes_version is defined
@ -75,16 +76,16 @@
- name: Set download images list
set_fact:
download_images_list:
"{{ (kubernetes_images + networking_images + tiller_armada_images + storage_images + additional_local_registry_images)
"{{ (kubernetes_images + networking_images + static_images + storage_images + additional_local_registry_images)
if (additional_local_registry_images is defined and additional_local_registry_images|length > 0)
else (kubernetes_images + networking_images + tiller_armada_images + storage_images) }}"
else (kubernetes_images + networking_images + static_images + storage_images) }}"
when: mode == 'bootstrap' or
mode == 'restore'
# Only download static images if static images upgrade
- name: Set download images list to static images if upgrading static images
set_fact:
download_images_list: "{{ download_images_list|default([]) + tiller_armada_images }}"
download_images_list: "{{ download_images_list|default([]) + static_images }}"
when: mode == 'upgrade_static_images'
# Only download k8s networking images if k8s networking upgrade

View File

@ -1,5 +1,6 @@
---
# System images that are pre-pulled and pushed to local registry
n3000_opae_img: docker.io/starlingx/n3000-opae:stx.4.0-v1.0.0
tiller_img: gcr.io/kubernetes-helm/tiller:v2.13.1
armada_img: quay.io/airshipit/armada:8a1638098f88d92bf799ef4934abe569789b885e-ubuntu_bionic
calico_cni_img: quay.io/calico/cni:v3.12.0