- Allow the image build to support any Ubuntu release, default
to Xenial to maintain default behavior
Change-Id: Iabb54f7bdc2f6436cc8964ae9a9e971e2ce20501
Arbitrary labels could be added as `make` parameter `LABEL=`, which is used in
att-comdev/cicd Jenkins pipelines.
Sample parameter:
'LABEL=org.label-schema.vcs-url=${GERRIT_CHANGE_URL} \
--label org.label-schema.base-image=${base_sha256}'
Sample usage:
See Jenkinsfile files under images/ directory in att-comdev/cicd repo.
In addition to that, if `COMMIT` variable is undefined when invoking `make`, we
use result of `git rev-parse HEAD` command, which should output latest git
commit ID.
[0] https://github.com/att-comdev/cicd
Change-Id: Ibd4921de87b2d9cbf094c7f3378a56df470accae
1) Use OCI Image Specs for labels instead of custom 'commit-id=xxxxx'
or legacy "Label Schema"
2) Fix missing git commit id labels on images (.revision)
3) Add human-readable title (.title) of the image, URL (.url), and
a few other properties (annotations) according to the latest Specs
Change-Id: I8ee3aef8d64efe6237f630caab3683f7137d4e68
l is to let user customize the base image of the component
by passing FROM=myimage during the build process. This would let any
project leveraging Airship ensure that the base image is matching the
security requirements for that project and still use the same Dockerfile.
This will also ease the control of the /etc/apt/source.list
and thereby the result of apt-get update/upgrade procedure.
2. The above goal is achievable by using docker-ce feature such as:
ARG FROM="defaultbaseimage:xx"
FROM ${FROM}
For this reason, the installation of docker.io in the Zuul gating is beeing
replaced by docker-ce.
3. Third Goal is to bring consistency with the other compoenents leveraging
Helm such as the openstack-helm and potentially use bindep the same way
the LOCI images are to ensure
4. The new syntax in the Dockerfile is still commented out until the associated
image builder have been updated to use docker-ce as they have been for the LOCI
images.
Change-Id: I9a9d63329bea2b562f297705dc51661896a592f2
This PS updates the makefile to use host-networking, allowing
simple build on systems not using dockers iptables.
Change-Id: I71b07499ca38243ff6c7c86f6427348036384547
Signed-off-by: Pete Birley <pete@port.direct>
Create a simple Helm test to ensure the Region controller
is functional enough to allow the MaaS CLI to establish
an authenticated session with it.
- Also make image cache disabled by default
- Fix init container args for HTK
Change-Id: I67e688efb91198cd31d3972e09808cea3361570c
Updating this since the '-' in the build commands made it hard
for Jenkins to override with one variable without repeating the
maas-maas-rack-controller.
w
Change-Id: I9ef1644e25ad260b6d652d53e9d544758ced18f5
- If conf.cache.enabled is true, deploy a sidecar container
in the region pod with a simplestreams repo populated w/ a Ubuntu image
- If conf.cache.enabled is true, configure MaaS to source the image
from the sidecar
- Update README
Closes #1
Change-Id: I968614d6fb7ca86589dc6e2efd1f66ae920d03a8
- Create image with simplestreams package
- Mirror current upstream maas.io xenial images
- Run apache on port 8888 to serve the simplestreams repo
Change-Id: I121d62894464ae62a2a59bd62a2448835a1f67af
- Move Dockerfile for MaaS region controller to this repo
- Move Dockerfile for MaaS rack controller to this repo
- Create Makefile with standard UCP entrypoints for image building
- Clean up chart to pass 'make lint'
- Update Dockerfiles to pin apt packages to explicit maas version
Change-Id: I4a540b16a4f75f4a1aae1eb9cfb1bb7a16de18d6