Airskiff based drydock deployment job
Change-Id: I3e016ad08017633315bd12203598c1c50212cae7 Signed-off-by: Sergiy Markin <smarkin@mirantis.com>
This commit is contained in:
23
.zuul.yaml
23
.zuul.yaml
@@ -27,6 +27,7 @@
|
|||||||
- airship-drydock-chart-build-gate
|
- airship-drydock-chart-build-gate
|
||||||
- airship-drydock-chart-build-latest-htk
|
- airship-drydock-chart-build-latest-htk
|
||||||
- airship-drydock-docker-build-gate-ubuntu_jammy
|
- airship-drydock-docker-build-gate-ubuntu_jammy
|
||||||
|
- drydock-airskiff-deployment-jammy-kubeadm
|
||||||
|
|
||||||
gate:
|
gate:
|
||||||
jobs:
|
jobs:
|
||||||
@@ -114,6 +115,28 @@
|
|||||||
vars:
|
vars:
|
||||||
HTK_COMMIT: 49c117443391cec75e0bd52bb4a9d033325927ad
|
HTK_COMMIT: 49c117443391cec75e0bd52bb4a9d033325927ad
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: drydock-airskiff-deployment-jammy-kubeadm
|
||||||
|
# Pinned for now due to Ansible 11 stopped verbosive output.
|
||||||
|
ansible-version: 9
|
||||||
|
description: |
|
||||||
|
Deploy drydock using Airskiff and submitted Shipyard changes.
|
||||||
|
parent: treasuremap-airskiff-deploy-maas-drydock-base
|
||||||
|
nodeset: treasuremap-airskiff-1node-32GB-ubuntu_jammy
|
||||||
|
required-projects:
|
||||||
|
- name: airship/treasuremap
|
||||||
|
override-checkout: v1.9
|
||||||
|
roles:
|
||||||
|
- zuul: airship/treasuremap
|
||||||
|
vars:
|
||||||
|
treasuremap_ref: v1.9
|
||||||
|
CLONE_DRYDOCK: false
|
||||||
|
MAKE_DRYDOCK_IMAGES: true
|
||||||
|
MAKE_MAAS_IMAGES: false
|
||||||
|
DOCKER_REGISTRY: localhost:5000
|
||||||
|
gate_scripts_relative_path: ../../airship/treasuremap
|
||||||
|
zuul_treasuremap_relative_path: ../../airship/treasuremap
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: airship-drydock-chart-build-latest-htk
|
name: airship-drydock-chart-build-latest-htk
|
||||||
description: |
|
description: |
|
||||||
|
2
Makefile
2
Makefile
@@ -29,7 +29,7 @@ PUSH_IMAGE ?= false
|
|||||||
LABEL ?= org.airshipit.build=community
|
LABEL ?= org.airshipit.build=community
|
||||||
COMMIT ?= $(shell git rev-parse HEAD)
|
COMMIT ?= $(shell git rev-parse HEAD)
|
||||||
IMAGE ?= ${DOCKER_REGISTRY}/${IMAGE_PREFIX}/${IMAGE_NAME}:${IMAGE_TAG}-${DISTRO}
|
IMAGE ?= ${DOCKER_REGISTRY}/${IMAGE_PREFIX}/${IMAGE_NAME}:${IMAGE_TAG}-${DISTRO}
|
||||||
IMAGE_ALIAS := ${DOCKER_REGISTRY}/${IMAGE_PREFIX}/${IMAGE_NAME}:${IMAGE_TAG}-${DISTRO_ALIAS}
|
IMAGE_ALIAS ?= ${DOCKER_REGISTRY}/${IMAGE_PREFIX}/${IMAGE_NAME}:${IMAGE_TAG}-${DISTRO_ALIAS}
|
||||||
|
|
||||||
export
|
export
|
||||||
|
|
||||||
|
@@ -20,7 +20,7 @@
|
|||||||
# You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit
|
# You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit
|
||||||
ARG FROM=quay.io/airshipit/ubuntu:jammy
|
ARG FROM=quay.io/airshipit/ubuntu:jammy
|
||||||
|
|
||||||
FROM quay.io/airshipit/golang:1.23.8-bullseye as baclient_builder
|
FROM quay.io/airshipit/golang:1.24.6-bullseye AS baclient_builder
|
||||||
|
|
||||||
COPY ./tools/baclient_build.sh /tmp/drydock/
|
COPY ./tools/baclient_build.sh /tmp/drydock/
|
||||||
COPY ./go /tmp/drydock/go
|
COPY ./go /tmp/drydock/go
|
||||||
@@ -44,10 +44,10 @@ ARG ALLOW_UNAUTHENTICATED=false
|
|||||||
ARG PIP_TRUSTED_HOST=foo.com
|
ARG PIP_TRUSTED_HOST=foo.com
|
||||||
ARG PIP_INDEX_URL=https://pypi.org/simple
|
ARG PIP_INDEX_URL=https://pypi.org/simple
|
||||||
ARG BUILD_DIR
|
ARG BUILD_DIR
|
||||||
ENV container docker
|
ENV container=docker
|
||||||
ENV PORT 9000
|
ENV PORT=9000
|
||||||
ENV LC_ALL C.UTF-8
|
ENV LC_ALL=C.UTF-8
|
||||||
ENV LANG C.UTF-8
|
ENV LANG=C.UTF-8
|
||||||
|
|
||||||
|
|
||||||
# COPY ./bindep-python.txt /tmp/drydock/
|
# COPY ./bindep-python.txt /tmp/drydock/
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
# Copyright 2017 The Openstack-Helm Authors.
|
|
||||||
#
|
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
# You may obtain a copy of the License at
|
# You may obtain a copy of the License at
|
||||||
@@ -12,4 +10,10 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
null: null
|
docker_daemon:
|
||||||
|
group: zuul
|
||||||
|
registry-mirrors:
|
||||||
|
- "http://{{ zuul_site_mirror_fqdn }}:8082/"
|
||||||
|
storage-driver: overlay2
|
||||||
|
ansible_python_interpreter: python3
|
||||||
|
...
|
Reference in New Issue
Block a user