Commit Graph

40 Commits

Author SHA1 Message Date
SPEARS, DUSTIN (ds443n) 7c1865b7db Update helm to v3.14.2
Change-Id: I6952261625d74a7a2205b34b3fe08b02afab6089
2024-03-15 14:04:42 -04:00
SPEARS, DUSTIN (ds443n) ea56249752 Update helm to v3.13.2
Change-Id: I6f235d1fba8d9c1c47a1dcf655e35b97e0382763
2023-11-15 09:27:52 -05:00
SPEARS, DUSTIN (ds443n) 4f43e2cc55 Update helm to 3.12.2
Also this PS updates airskiff deployment playbook based on the latest
treasuremap changes and makes sure the airskiff deployment uses freshly
built armada image.

Change-Id: I913f93d695e4068199e193a5839bf27e257a535e
2023-08-03 16:29:51 +00:00
Sergiy Markin 812546c875 Update armada image run test
This PS improves armada image run test by enriching it with config
generator. Also this test was removed from make images section of
Makefile. Build images zuul gate has make run_images task to test
the freshly built image now.

Change-Id: I87e089e5d268d248cda1dad1cd417694d166fdfb
2023-05-24 20:14:32 +00:00
Sergiy Markin 966742ec74 Restored ubuntu_bionic image build
This PS restores image build for ubuntu_bionic and adds appropriate
gates to keep it tested by appropriate functional and integratinal
tests.

Also the latest osh-infra commit was used with kubernetes 1.27.1 or
integration tests.

Make images section of Makefile was enriched with run_armada step in
order to quicktest the freshly built images - this is vital for focal
and bionic images differences.

Change-Id: Ida43eebd4aa51fff6261ac9cf5f8259359bc99a9
2023-05-19 13:52:30 +00:00
Yuvraj Singh (ys542d) 3c3a20addb 111596: [CPDEFECT-4365] helm binary to v3.11.1
Change-Id: I078e995d5f1ef794b106e196d37f49fce519fcfd
2023-05-15 11:05:11 -07:00
SPEARS, DUSTIN (ds443n) 0e9d828fe6 Update armada to focal
Update kubernetes client to v26.1.0
Updating armada to focal base image
Remove xenial and opensuse dockerfiles
Update tox python from py35 to py38
Add apparmor for docker build
Uplift HTK chart version 0.2.52
Bumping up some python dependencies to get in sync with shipyard
Added clear-firewall role for airskiff-deploy playbook

Change-Id: If06a3f60466702d05a21c24a7cb8041bed41507a
2023-03-20 11:30:37 -04:00
Ruslan Aliev 379c88d619 Bump helm to v3.9.4 and k8s client to 24.2.0
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
Change-Id: I55d7b34e7525fe6359157d0fa042332a91ac9c95
2022-09-19 11:21:50 -05:00
Ruslan Aliev ef0ac2f252 Bump helm version from 3.6.3 to 3.8.2
Also bump k8s dependency to v1.23.

Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
Change-Id: I188788a41419184cc3dd9172f54ab3a290cabe83
2022-06-30 22:19:56 -05:00
Sean Eagan a5730f8db8 Remove Tiller
For now we leave the tiller status enpdpoint, until
Shipyard has had a release to stop depending on it [0].

[0]: https://review.opendev.org/c/airship/shipyard/+/802718

Signed-off-by: Sean Eagan <seaneagan1@gmail.com>
Change-Id: If8a02d7118f6840fdbbe088b4086aee9a18ababb
2021-10-05 02:41:32 +00:00
Sean Eagan f3842f9fe1 Use helm 3 in chart build
`helm serve` is removed in helm 3 so this moves
to using local `file://` dependencies [0] instead.

[0]: https://helm.sh/docs/chart_best_practices/dependencies/#repository-urls

Signed-off-by: Sean Eagan <seaneagan1@gmail.com>
Change-Id: I2282e231591a89073e65d9db3f59e1baea707380
2021-10-05 02:41:21 +00:00
Sean Eagan 4260e5335c Add Helm 3 CLI to images
Change-Id: Ibd0b585c458b55008f014f245a2781fad8d055f3
Signed-off-by: Sean Eagan <seaneagan1@gmail.com>
2021-10-04 18:20:24 -05:00
Roman Gorshunov 243022d16c Fix: Armada Exceptions docs rendering on RTD
Readthedocs failed to render Armada exceptions with error:

> WARNING: autodoc: failed to import exception ... from module
> 'armada'; the following exception was raised: No module named 'armada'

and others.

Trying to add Armada requirements to the installed requirements list,
so that Readthedocs has all modules, including those needed for the
Armada itself.

Cosmetic readability changes:
1. combined all Makefile .PHONY targets into one
2. merged multiple LABEL instructions in Dockerfile into one

Change-Id: I3f88fa3abf66e5d6a2f9e57f6f1514a03a0c5a30
2019-08-27 22:57:52 +02:00
HUGHES, ALEXANDER (ah8742) b787c418e3 Standardize Armada code with YAPF
From recently merged document updates in [0] there is a desire to
standardize the Airship project python codebase.  This is the effort
to do so for the Armada project.

[0] https://review.opendev.org/#/c/671291/

Change-Id: I4fe916d6e330618ea3a1fccfa4bdfdfabb9ffcb2
2019-07-31 10:16:15 -05:00
rajdharwadkar 2d82080249 Support armada to run on opensuse image leap15
Added Dockerfile for opensuse so it builds leap15 image
Modified to support multiple distros for image building.

Change-Id: Iffa7d0dbe4bc301e78a0bba1adc927d8aa2cbdcc
2019-05-06 10:06:46 -07:00
Sean Eagan 8e32f62bbf Revert "Revert "Use UBUNTU_BASE_IMAGE instead of BASE_IMAGE""
Jenkins has now been updated to pass UBUNTU_BASE_IMAGE to armada [0].

[0]: https://review.gerrithub.io/c/att-comdev/cicd/+/443953

This reverts commit 074e36ee43.

Change-Id: I00e57fb64989bd949548a9c9e08ec89762cb8144
2019-02-20 22:34:47 +00:00
Sean Eagan 074e36ee43 Revert "Use UBUNTU_BASE_IMAGE instead of BASE_IMAGE"
This reverts commit 5071ef0ca5.

Change-Id: Ic319728902d772e2c3d34a702839501d0d3fdca9
2019-02-08 19:16:04 +00:00
Bryan Strassner 5071ef0ca5 Use UBUNTU_BASE_IMAGE instead of BASE_IMAGE
Offering better alignment with some downstream build jobs.

Change-Id: Ide49c08df1f1d0ff8cf570500f2285bc152ed32a
2019-02-06 17:04:02 -06:00
Sean Eagan 259ca27a4f Switch to ubuntu base image
Change to use ubuntu base image instead of python. Also refactor Dockerfile
to remove unnecessary build dependencies to reduce size.

BREAKING CHANGE: The `make images` PYTHON_BASE_IMAGE arg is now renamed to BASE_IMAGE.

Change-Id: I63556290d8e007bfac4315529261d75e362806d6
2019-01-30 14:29:07 -06:00
Dimitrios Markou 269589512a Create Makefile target to install Helm binary
In Makefile there is no target which actually installs
Helm binary. Because of that the execution of the
"make charts" target fails

Story: 2004304

Change-Id: I16687802855e5fef63f69eeb365204fe064996a5
Signed-off-by: Dimitrios Markou <dm844v@att.com>
2018-11-13 10:27:38 -06:00
Roman Gorshunov 94df4daeb6 Minor: meaningful default label
Making default label meaningful and conformant to "key=value" requirement.

Change-Id: I93e2254314775cd96d7eb31c6d696430c8871808
2018-11-08 19:32:19 +01:00
Roman Gorshunov b04c7b8256 Fix: adding back the possibility to add arbitrary labels
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: I3c10db9e3511bb20a8d9dd13545f7e2336904eca
2018-10-24 18:28:52 +02:00
j330k fb88969c91 Making Python version uniform across all airship components.
Change-Id: Ia6ee58fd11a83151b1011b2a21779f8a17edad0c
2018-10-20 12:07:57 +00:00
Zuul 7c1d81f86c Merge "Fix: git commit id labels on images" 2018-09-25 16:45:38 +00:00
Roman Gorshunov eee43c42a8 Unify publishing of docs
Unified publishing to the readthedocs with other Airship projects.

Change-Id: Ibce2e138abbc9b3c08d213dcfa6358ca8134c898
2018-09-24 17:10:29 +02:00
Roman Gorshunov b6358d24b9 Fix: git commit id labels on images
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: I7029d7caf521c7f56c1046fff9ecdd4e81090618
2018-09-21 03:31:12 +02:00
Aaron Sheffield 019b3c142e Updating Quay Namespace to airshipit
Change-Id: Ia405260431819906a633cb023ab24a2773847de8
2018-08-15 09:43:30 -05:00
Jerome Brette da408ff145 Update Dockerfile to allow override of FROM variable
1. The first goal 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. 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: Id91284433d6e4c3560ce5b261f29cc5f2e8e6048
2018-07-17 13:07:12 -05:00
Roman Gorshunov eaaa3d67e5 Unifying proxy variables for tox and docker build
This patch adds proxy-related variables to tox and 'docker build'
commands.

Change-Id: Ic87aec9448a16a469bc630f76cf31ed0e34dae4e
2018-06-22 14:35:19 +02:00
Pete Birley d9d67c60cc Docker: support build behind proxy
This PS adds support to build behind a corp proxy.

Change-Id: I6dbcb84dc731084bdca29c0561c1fb3694157888
Signed-off-by: Pete Birley <pete@port.direct>
2018-06-08 09:27:03 -05:00
Felipe Monteiro 1ac92cc7f6 [trivial] Rename tox job coverage to cover
This patchset renames the tox.ini coverage job to cover to
comply with OpenStack standards [0]. This is needed so that [1]
works seamlessly (it will enable py35 and cover jobs for Armada).

[0] e.g. 04469a5181/tox.ini (L119)
[1] I174d5df008f6e000da1a3878afe75919312ea7aa

Change-Id: I353a60313bef2f8aa0319a4e89e659cd23c8a4a9
2018-05-31 21:55:08 +00:00
Pete Birley 058ea0edfb Chart: Update Armada charts and make target
This PS updates the Armada charts to be compaible with the current
helm-toolkit and also fixes the makefile.

Change-Id: Idf3113237f7fe8f80a70a727536df1419e270fc7
Signed-off-by: Pete Birley <pete@port.direct>
2018-05-21 20:05:34 +00:00
Anthony Lin c973720c07 Update HTK Path - OSH Infra
Updated configurations to point to openstack-helm-infra
for reference to helm-toolkit as helm-toolkit has been
removed from the openstack-helm repo [0]

[0] https://review.openstack.org/#/c/558065/

Change-Id: Ia7f4da6beb5df5a98a1c35e66090d82960b00a34
2018-05-16 05:02:43 +00:00
Bryan Strassner 40e0391f7f Add tests makefile target to Armada
Change-Id: I7a56585b0a9fa292eddf3f40976122813e95de54
2018-05-04 13:58:08 -05:00
One-Fine-Day ec252e7069 Updated Makefile
ARMADA-29: CI/CD Armada Testing Framework Entrypoints defined

It does not appear the the docker run command to call tox tests/unit
is necessary.  The Makefile already includes several testing checks.

Added a few additional targets as specified in the upc-integration
code-convenstions to satisfy the clcp Makefile standards.

Change-Id: Ia920a856ed6d607fcf38d5f85dbb9a0c8aae4fa6
2018-03-15 12:40:19 -04:00
Scott Hussey 59ae1fd767 Make tiller verbosity tunable
- conf.tiller.verbosity now sets the verbosity that tiller
  runs at within the pod. Default is "5".
- Update Makefile and helm_tk.sh so that 'make dry-run' and
  'make helm-lint' works for both tiller and armada charts

Change-Id: Ie1a8f2b44ea626af251915a762db3846784b4da4
2018-03-07 15:37:24 -06:00
Stacey Fletcher 18316ff6c9 Update Makefile
This ps updates the build commands to allow the same
format to be used in att-comdev projects

Change-Id: I0e200327d1ceeceaa2bfecf9a5525f25600726a4
2018-02-25 16:03:35 -05:00
Stacey Fletcher 28a866f014 Add label to image build
This ps allows labels to be added to the docker image at build
time

Change-Id: Ia4c21c790bfc10a2a433fde7df5795ff57578fe6
2018-02-17 16:23:15 -06:00
Marshall Margenau e1b64d200b style(armada): quality of life and cleanup
- adding .editorconfig file
- minor cleanup in various files related to .editorconfig
- typos, whitespace, etc.
- other general housekeeping items on the codebase

Change-Id: I104f8dcb06aafb180da12f7ee4c0ded41fc07b9d
2018-02-12 10:27:11 -05:00
Alexis Rivera DeLa Torre aeeeb23b64 feat(armada): adding makefile
- adding makefile

Change-Id: I064d2c95ebaa9fb16656ce36c9ea36c618f9bfad
2017-11-16 19:47:04 +00:00