Non-Ubuntu based container builds

Added section describing container builds with non-Ubuntu based
images in mind.

Change-Id: I477ff5a1662747a4962d82332171861ea6e93e3c
This commit is contained in:
Roman Gorshunov 2019-03-13 18:15:28 +01:00
parent d2ff0bc768
commit 3034e4e5ca
1 changed files with 33 additions and 0 deletions

View File

@ -61,6 +61,32 @@ Most Airship components will be impacted by this spec:
Proposed change
===============
Container Builds
----------------
- As for now, Ubuntu-based containers remain to be default to be built
- CI system for the Ubuntu-based containers must not be affected by
implementation of this spec (Zuul jobs, Makefile, etc.)
- Distributive-dependant ``Dockerfile`` naming convention is to add a
distributive flavour suffix, optionally specifying version after underscore:
``Dockerfile.<distributive flavour>[_<version>]``; e.g.
``Dockerfile.opensuse``
- Public non-Ubuntu container images are to be published along with Ubuntu-based
images on `quay.io`_ under
`airshipit/ <https://quay.io/organization/airshipit>`_ organization
- Non-Ubuntu container images repository naming convention is to add a dash
separator, following with a distributive flavour, optionally specifying
version after dash [#f1]_:
``airshipit/<airship component>-<distributive flavour>[-<version>]``; e.g.
``airshipit/armada-opensuse``
- Image tagging scheme remains exactly the same as it is implemented right now
with tags based on Git commit ID of the code ``:<git commit id>``, and
additional ``:master`` (branch-based) and ``:latest`` (latest master) tags
- As for now, Makefiles, Shell scripts, Shell script templates in Helm charts,
Ansible jobs, Zuul and Jenkins jobs continue to work without changes for
Ubuntu-based containers, and support non-Ubuntu containers by provision of
additional variables or command line arguments
Pegleg
------
@ -259,3 +285,10 @@ References
==========
Any external references (other than the direct links above)
.. rubric:: Footnotes
.. [#f1] Based on recommendation from `quay.io`_
technical support.
.. _quay.io: https://quay.io/