export APT_PROXY_URL=""
export K8S_CLUSTER_ENGINE="k3s"
export DEBUG_INSTALL=""
-export RELEASE="testing-daily"
+export RELEASE="releasenineteen-daily"
export INSTALL_AUX_CLUSTER="y"
export INSTALL_MGMT_CLUSTER="y"
export OSM_NAMESPACE=osm
export OSM_HELM_RELEASE=osm
-export OSM_DOCKER_TAG="testing-daily"
+export OSM_DOCKER_TAG="releasenineteen-daily"
export DOCKER_USER="opensourcemano"
export DOCKER_REGISTRY_USER=
export DOCKER_REGISTRY_PASSWORD=
export DOCKER_PROXY_URL=
export MODULES_FOR_TESTING=
export MODULE_DOCKER_TAG=
-export OSM_CLIENT_VERSION="master"
-export OSM_IM_VERSION="master"
+export OSM_CLIENT_VERSION="v19.0"
+export OSM_IM_VERSION="v19.0"
export OSM_HOME_DIR=${OSM_HOME_DIR:-"$HOME/.osm"}
export CREDENTIALS_DIR="${OSM_HOME_DIR}/.credentials"
export WORK_REPOS_DIR="${OSM_HOME_DIR}/repos"
echo "yq installed"
# OSM client
-OSM_CLIENT_VERSION=${OSM_CLIENT_VERSION:-"master"}
-OSM_IM_VERSION=${OSM_IM_VERSION:-"master"}
+OSM_CLIENT_VERSION=${OSM_CLIENT_VERSION:-"v19.0"}
+OSM_IM_VERSION=${OSM_IM_VERSION:-"v19.0"}
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y python3 python3-setuptools python3-dev python3-pip python3-venv
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y libmagic1t64
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y make
cp -r "${TEMPLATES_DIR}"/* "${SW_CATALOGS_REPO_DIR}/"
if [ -n "${OSM_DOCKER_TAG}" ]; then
# Replace the OSM Docker tag in the WF templates
- find "${SW_CATALOGS_REPO_DIR}/infra-configs/osm-workflows/templates/wf-templates/building-blocks" -type f -name "*.yaml" -exec sed -i "s|opensourcemano/osm-krm-functions:testing-daily|${DOCKER_REGISTRY_URL}${DOCKER_USER}/osm-krm-functions:${OSM_DOCKER_TAG}|g" {} +
+ find "${SW_CATALOGS_REPO_DIR}/infra-configs/osm-workflows/templates/wf-templates/building-blocks" -type f -name "*.yaml" -exec sed -i "s|opensourcemano/osm-krm-functions:releasenineteen-daily|${DOCKER_REGISTRY_URL}${DOCKER_USER}/osm-krm-functions:${OSM_DOCKER_TAG}|g" {} +
fi
if [ -n "${MGMT_CLUSTER_CA_FILE}" ]; then
# Update secret-template for Flux bootstrap to add CA file
# [ -n "${DOCKER_REGISTRY_URL}" ] && OSM_HELM_OPTS="${OSM_HELM_OPTS} --set global.image.repository=${DOCKER_REGISTRY_URL}${DOCKER_USER}"
OSM_HELM_OPTS="${OSM_HELM_OPTS} --set global.image.repositoryBase=${DOCKER_REGISTRY_URL}${DOCKER_USER}"
OSM_HELM_OPTS="${OSM_HELM_OPTS} --set airflow.defaultAirflowRepository=${DOCKER_REGISTRY_URL}${DOCKER_USER}/airflow"
-[ ! "$OSM_DOCKER_TAG" == "testing-daily" ] && OSM_HELM_OPTS="${OSM_HELM_OPTS} --set-string global.image.tag=${OSM_DOCKER_TAG}"
-[ ! "$OSM_DOCKER_TAG" == "testing-daily" ] && OSM_HELM_OPTS="${OSM_HELM_OPTS} --set-string airflow.defaultAirflowTag=${OSM_DOCKER_TAG}"
-[ ! "$OSM_DOCKER_TAG" == "testing-daily" ] && OSM_HELM_OPTS="${OSM_HELM_OPTS} --set prometheus.server.sidecarContainers.prometheus-config-sidecar.image=${DOCKER_REGISTRY_URL}${DOCKER_USER}/prometheus:${OSM_DOCKER_TAG}"
+[ ! "$OSM_DOCKER_TAG" == "releasenineteen-daily" ] && OSM_HELM_OPTS="${OSM_HELM_OPTS} --set-string global.image.tag=${OSM_DOCKER_TAG}"
+[ ! "$OSM_DOCKER_TAG" == "releasenineteen-daily" ] && OSM_HELM_OPTS="${OSM_HELM_OPTS} --set-string airflow.defaultAirflowTag=${OSM_DOCKER_TAG}"
+[ ! "$OSM_DOCKER_TAG" == "releasenineteen-daily" ] && OSM_HELM_OPTS="${OSM_HELM_OPTS} --set prometheus.server.sidecarContainers.prometheus-config-sidecar.image=${DOCKER_REGISTRY_URL}${DOCKER_USER}/prometheus:${OSM_DOCKER_TAG}"
OSM_HELM_OPTS="${OSM_HELM_OPTS} --set global.hostname=${OSM_BASE_DOMAIN}"
if [ -n "${OSM_CLUSTER_INGRESS_CLASS}" ]; then
value: "sw-catalogs-osm"
container:
- image: opensourcemano/osm-krm-functions:testing-daily
+ image: opensourcemano/osm-krm-functions:releasenineteen-daily
# imagePullPolicy: Always
env:
- name: OPENSTACK_CLOUDS_YAML
value: "sw-catalogs-osm"
container:
- image: opensourcemano/osm-krm-functions:testing-daily
+ image: opensourcemano/osm-krm-functions:releasenineteen-daily
# imagePullPolicy: Always
env:
- name: OPENSTACK_CLOUDS_YAML
value: "fleet-osm"
container:
- image: opensourcemano/osm-krm-functions:testing-daily
+ image: opensourcemano/osm-krm-functions:releasenineteen-daily
# imagePullPolicy: Always
env:
- name: DEBUG
value: "sw-catalogs-osm"
container:
- image: opensourcemano/osm-krm-functions:testing-daily
+ image: opensourcemano/osm-krm-functions:releasenineteen-daily
# imagePullPolicy: Always
env:
- name: CRED_SECRET_CONTENT
value: "sw-catalogs-osm"
container:
- image: opensourcemano/osm-krm-functions:testing-daily
+ image: opensourcemano/osm-krm-functions:releasenineteen-daily
# imagePullPolicy: Always
env:
- name: CRED_SECRET_CONTENT
value: "fleet-osm"
container:
- image: opensourcemano/osm-krm-functions:testing-daily
+ image: opensourcemano/osm-krm-functions:releasenineteen-daily
# imagePullPolicy: Always
env:
- name: DEBUG
value: "false"
container:
- image: opensourcemano/osm-krm-functions:testing-daily
+ image: opensourcemano/osm-krm-functions:releasenineteen-daily
# imagePullPolicy: Always
env:
- name: PRIVATE_KEY_NEW_CLUSTER
value: "false"
container:
- image: opensourcemano/osm-krm-functions:testing-daily
+ image: opensourcemano/osm-krm-functions:releasenineteen-daily
# imagePullPolicy: Always
env:
- name: PRIVATE_KEY_NEW_CLUSTER
value: "false"
container:
- image: opensourcemano/osm-krm-functions:testing-daily
+ image: opensourcemano/osm-krm-functions:releasenineteen-daily
# imagePullPolicy: Always
env:
- name: PRIVATE_KEY_NEW_CLUSTER
value: "false"
container:
- image: opensourcemano/osm-krm-functions:testing-daily
+ image: opensourcemano/osm-krm-functions:releasenineteen-daily
# imagePullPolicy: Always
env:
- name: PRIVATE_KEY_NEW_CLUSTER
value: "false"
container:
- image: opensourcemano/osm-krm-functions:testing-daily
+ image: opensourcemano/osm-krm-functions:releasenineteen-daily
# imagePullPolicy: Always
env:
- name: PRIVATE_KEY_NEW_CLUSTER
value: "false"
container:
- image: opensourcemano/osm-krm-functions:testing-daily
+ image: opensourcemano/osm-krm-functions:releasenineteen-daily
# imagePullPolicy: Always
env:
- name: PRIVATE_KEY_NEW_CLUSTER
value: "false"
container:
- image: opensourcemano/osm-krm-functions:testing-daily
+ image: opensourcemano/osm-krm-functions:releasenineteen-daily
# imagePullPolicy: Always
env:
- name: PRIVATE_KEY_NEW_CLUSTER
value: "false"
container:
- image: opensourcemano/osm-krm-functions:testing-daily
+ image: opensourcemano/osm-krm-functions:releasenineteen-daily
# imagePullPolicy: Always
env:
- name: DEBUG
value: "{{inputs.parameters.mgmt_cluster_name}}"
container:
- image: opensourcemano/osm-krm-functions:testing-daily
+ image: opensourcemano/osm-krm-functions:releasenineteen-daily
# imagePullPolicy: Always
command: ["/app/scripts/entrypoint.sh"]
args:
value: "{{inputs.parameters.fleet_repo_dir}}/{{inputs.parameters.project_name}}/managed-resources/_management"
container:
- image: opensourcemano/osm-krm-functions:testing-daily
+ image: opensourcemano/osm-krm-functions:releasenineteen-daily
# imagePullPolicy: Always
command: ["/app/scripts/entrypoint.sh"]
args:
- name: debug
value: "false"
container:
- image: opensourcemano/osm-krm-functions:testing-daily
+ image: opensourcemano/osm-krm-functions:releasenineteen-daily
# imagePullPolicy: Always
env:
- name: SECRET_VALUES
- name: debug
value: "false"
container:
- image: opensourcemano/osm-krm-functions:testing-daily
+ image: opensourcemano/osm-krm-functions:releasenineteen-daily
# imagePullPolicy: Always
env:
- name: SECRET_VALUES
value: "false"
container:
- image: opensourcemano/osm-krm-functions:testing-daily
+ image: opensourcemano/osm-krm-functions:releasenineteen-daily
# imagePullPolicy: Always
env:
- name: SECRET_VALUES
value: "false"
container:
- image: opensourcemano/osm-krm-functions:testing-daily
+ image: opensourcemano/osm-krm-functions:releasenineteen-daily
# imagePullPolicy: Always
env:
- name: SECRET_VALUES
- name: debug
value: "false"
container:
- image: opensourcemano/osm-krm-functions:testing-daily
+ image: opensourcemano/osm-krm-functions:releasenineteen-daily
# imagePullPolicy: Always
env:
- name: DEBUG
- name: debug
value: "false"
container:
- image: opensourcemano/osm-krm-functions:testing-daily
+ image: opensourcemano/osm-krm-functions:releasenineteen-daily
# imagePullPolicy: Always
env:
- name: DEBUG
- name: output_file
value: "/results/resourcelist.{{inputs.parameters.rand_str}}.yaml"
container:
- image: opensourcemano/osm-krm-functions:testing-daily
+ image: opensourcemano/osm-krm-functions:releasenineteen-daily
# imagePullPolicy: Always
env:
- name: INFILE
- name: output_file
value: "/results/resourcelist.{{inputs.parameters.rand_str}}.yaml"
container:
- image: opensourcemano/osm-krm-functions:testing-daily
+ image: opensourcemano/osm-krm-functions:releasenineteen-daily
# imagePullPolicy: Always
env:
- name: INFILE
- name: output_file
value: "/results/resourcelist.{{inputs.parameters.rand_str}}.yaml"
container:
- image: opensourcemano/osm-krm-functions:testing-daily
+ image: opensourcemano/osm-krm-functions:releasenineteen-daily
# imagePullPolicy: Always
env:
- name: INFILE
- name: output_file
value: "/results/resourcelist.{{inputs.parameters.rand_str}}.yaml"
container:
- image: opensourcemano/osm-krm-functions:testing-daily
+ image: opensourcemano/osm-krm-functions:releasenineteen-daily
# imagePullPolicy: Always
env:
- name: INFILE
- name: output_file
value: "/results/resourcelist.{{inputs.parameters.rand_str}}.yaml"
container:
- image: opensourcemano/osm-krm-functions:testing-daily
+ image: opensourcemano/osm-krm-functions:releasenineteen-daily
# imagePullPolicy: Always
env:
- name: INFILE
- name: output_file
value: "/results/manifest.{{inputs.parameters.rand_str}}.yaml"
container:
- image: opensourcemano/osm-krm-functions:testing-daily
+ image: opensourcemano/osm-krm-functions:releasenineteen-daily
# imagePullPolicy: Always
env:
- name: INSTREAM
- name: output_file
value: "/results/manifest.{{inputs.parameters.rand_str}}.yaml"
container:
- image: opensourcemano/osm-krm-functions:testing-daily
+ image: opensourcemano/osm-krm-functions:releasenineteen-daily
# imagePullPolicy: Always
env:
- name: INSTREAM
value: "false"
container:
- image: opensourcemano/osm-krm-functions:testing-daily
+ image: opensourcemano/osm-krm-functions:releasenineteen-daily
# imagePullPolicy: Always
env:
- name: PRIVATE_KEY_NEW_CLUSTER
value: "false"
container:
- image: opensourcemano/osm-krm-functions:testing-daily
+ image: opensourcemano/osm-krm-functions:releasenineteen-daily
# imagePullPolicy: Always
env:
- name: PRIVATE_KEY_NEW_CLUSTER
value: "{{inputs.parameters.fleet_repo_dir}}/{{inputs.parameters.project_name}}/managed-resources/_management"
container:
- image: opensourcemano/osm-krm-functions:testing-daily
+ image: opensourcemano/osm-krm-functions:releasenineteen-daily
# imagePullPolicy: Always
command: ["/app/scripts/entrypoint.sh"]
args:
value: "/oka"
container:
- image: opensourcemano/osm-krm-functions:testing-daily
+ image: opensourcemano/osm-krm-functions:releasenineteen-daily
# imagePullPolicy: Always
env:
- name: DEBUG
value: "/oka"
container:
- image: opensourcemano/osm-krm-functions:testing-daily
+ image: opensourcemano/osm-krm-functions:releasenineteen-daily
# imagePullPolicy: Always
env:
- name: DEBUG
value: "sw-catalogs-osm"
container:
- image: opensourcemano/osm-krm-functions:testing-daily
+ image: opensourcemano/osm-krm-functions:releasenineteen-daily
# imagePullPolicy: Always
env:
- name: DEBUG
persistentVolumeClaim:
claimName: '{{inputs.parameters.fleet_volume_name}}'
container:
- image: opensourcemano/osm-krm-functions:testing-daily
+ image: opensourcemano/osm-krm-functions:releasenineteen-daily
# imagePullPolicy: Always
volumeMounts:
- name: fleet-repo-volume
persistentVolumeClaim:
claimName: '{{inputs.parameters.fleet_volume_name}}'
container:
- image: opensourcemano/osm-krm-functions:testing-daily
+ image: opensourcemano/osm-krm-functions:releasenineteen-daily
# imagePullPolicy: Always
volumeMounts:
- name: fleet-repo-volume
persistentVolumeClaim:
claimName: '{{inputs.parameters.fleet_volume_name}}'
container:
- image: opensourcemano/osm-krm-functions:testing-daily
+ image: opensourcemano/osm-krm-functions:releasenineteen-daily
# imagePullPolicy: Always
volumeMounts:
- name: fleet-repo-volume
persistentVolumeClaim:
claimName: '{{inputs.parameters.fleet_volume_name}}'
container:
- image: opensourcemano/osm-krm-functions:testing-daily
+ image: opensourcemano/osm-krm-functions:releasenineteen-daily
# imagePullPolicy: Always
volumeMounts:
- name: fleet-repo-volume
Repository for the OSM SDK container image. Default is the standardized
OSM SDK operations image that provides consistent behavior across workflows.
- name: osm_sdk_image_tag
- value: "testing-daily"
+ value: "releasenineteen-daily"
description: |
Tag for the OSM SDK container image. Default is '24h' which provides
a stable, time-limited image for workflow execution.
# Installation starts here
# Get README and create OSM_TRACK_INSTALLATION_ID
-curl -s https://osm-download.etsi.org/ftp/osm-18.0-eighteen/README.txt > /dev/null 2>&1
+curl -s https://osm-download.etsi.org/ftp/osm-19.0-nineteen/README.txt > /dev/null 2>&1
export OSM_TRACK_INSTALLATION_ID="$(date +%s)-$(head /dev/urandom | tr -dc A-Za-z0-9 | head -c 16)"
# Get OS info to be tracked
$OSM_DEVOPS/installers/50-provision-osm.sh || FATAL_TRACK provision-osm "50-provision-osm.sh failed"
track provisionosm provisionosm_ok
-curl -s https://osm-download.etsi.org/ftp/osm-18.0-eighteen/README2.txt > /dev/null 2>&1
+curl -s https://osm-download.etsi.org/ftp/osm-19.0-nineteen/README2.txt > /dev/null 2>&1
track end
echo "Credentials stored under ${CREDENTIALS_DIR}"
repositoryBase: docker.io/opensourcemano
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
- tag: "testing-daily"
+ tag: "releasenineteen-daily"
imagePullSecrets: []
nameOverride: ""
worker_concurrency: 2
dags_folder: "/home/airflow/.local/lib/python3.10/site-packages/osm_ngsa"
defaultAirflowRepository: opensourcemano/airflow
- defaultAirflowTag: "testing-daily"
+ defaultAirflowTag: "releasenineteen-daily"
executor: LocalExecutor
extraEnv: |
- name: AIRFLOW__API__AUTH_BACKENDS
port: 5000
image: {}
# repository: opensourcemano/keystone
- # tag: "testing-daily"
+ # tag: "releasenineteen-daily"
# replicaCount: 1
useOsmSecret: true
# secretName: "keystone-secret"
logLevel: DEBUG
image: {}
# repository: opensourcemano/lcm
- # tag: "testing-daily"
+ # tag: "releasenineteen-daily"
# replicaCount: 1
useOsmSecret: true
# secretName: "lcm-secret"
# logLevel: DEBUG
image: {}
# repository: opensourcemano/mon
- # tag: "testing-daily"
+ # tag: "releasenineteen-daily"
# replicaCount: 1
useOsmSecret: true
# secretName: "mon-secret"
# nodePort: 9999
image: {}
# repository: opensourcemano/nbi
- # tag: "testing-daily"
+ # tag: "releasenineteen-daily"
# replicaCount: 1
useOsmSecret: true
# secretName: "nbi-secret"
# host: <IP_ADDRESS>.nip.io
image: {}
# repository: opensourcemano/ng-ui
- # tag: "testing-daily"
+ # tag: "releasenineteen-daily"
# replicaCount: 1
prometheus:
# readOnlyRootFilesystem: true
allowPrivilegeEscalation: false
# runAsNonRoot: true
- image: opensourcemano/prometheus:testing-daily
+ image: opensourcemano/prometheus:releasenineteen-daily
imagePullPolicy: IfNotPresent
command: ["/bin/sh", "-c"]
args: ["sleep 50; python -u ./app.py"]
port: 9090
image: {}
# repository: opensourcemano/ro
- # tag: "testing-daily"
+ # tag: "releasenineteen-daily"
# replicaCount: 1
useOsmSecret: true
# secretName: "ro-secret"
# replicaCount: 1
image: {}
# repository: opensourcemano/webhook
- # tag: "testing-daily"
+ # tag: "releasenineteen-daily"
ingress: {}
# host: webhook.<IP_ADDRESS>.nip.io
# replicaCount: 1
# limitations under the License.
#
-DEVOPS_GERRIT_REFSPEC="master"
-DOCKER_TAG="testing-daily"
+DEVOPS_GERRIT_REFSPEC="v19.0"
+DOCKER_TAG="19"
function usage(){
[ -z "${DEBUG_INSTALL}" ] || DEBUG beginning of function
string(defaultValue: 'OSMETSI', description: '', name: 'GPG_KEY_NAME'),
string(defaultValue: 'artifactory-osm', description: '', name: 'ARTIFACTORY_SERVER'),
string(defaultValue: 'osm-stage_4', description: '', name: 'DOWNSTREAM_STAGE_NAME'),
- string(defaultValue: 'testing-daily', description: '', name: 'DOCKER_TAG'),
+ string(defaultValue: 'releasenineteen-daily', description: '', name: 'DOCKER_TAG'),
string(defaultValue: 'ubuntu24.04', description: '', name: 'OPENSTACK_BASE_IMAGE'),
string(defaultValue: 'osm.sanity', description: '', name: 'OPENSTACK_OSM_FLAVOR'),
booleanParam(defaultValue: false, description: '', name: 'TRY_OLD_SERVICE_ASSURANCE'),