Commit Graph

28 Commits

Author SHA1 Message Date
Wahlstedt, Walter (ww229g) 8ce937a9f7 updates for focal
add focal dockerfile
update zuul jobs for focal
update tox for tox4 changes
update all requirements to latest and match deckhand
update cfssl from R1.2 to v1.6.3
fixed local gates for focal
updated examples promenade manifests to run on focal

Change-Id: I2af4043784766d36588c6f738053ad66e7b89a90
2023-02-27 12:11:07 -05:00
Ruslan Aliev c10165c144 K8S upgrade 1.24
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
Change-Id: Iaa0c5f57ac621f2b91f525da423db0acd9d8ea99
2022-09-14 19:34:02 -05:00
Ruslan Aliev e207bbe966 k8s upgrade to v1.23.7
Address changes and deprecations in Kubernetes v1.21=>v1.23

controller-manager:
* --authorization-kubeconfig and --authentication-kubeconfig must be set
* liveness/readiness probes must use HTTPS
* the default port has been changed to 10257

kubelet:
* --dynamic-config-dir has been deprecated, will not move to GA
* --cni-bin-dir has been deprecated, will be removed with dockershim
* --cni-conf-dir has been deprecated, will be removed with dockershim
* --network-plugin has been deprecated, will be removed with dockershim

https: //github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.23.md#deprecation
https: //kubernetes.io/docs/tasks/administer-cluster/reconfigure-kubelet/
https: //github.com/kubernetes/enhancements/tree/master/keps/sig-node/281-dynamic-kubelet-configuration
Change-Id: Ia996d7c14d81d1d8b8067f11c02ffb4ce90eb49a
2022-06-29 00:21:45 -05:00
Phil Sphicas 57c3615617 Make xenial jobs non-voting
Change-Id: I116faeae697cd2c004da05a20a2b073ae917ea5e
2022-03-21 08:32:39 -07:00
Rick Bartra 9853fcfbee fix - pep8 and image build gates
This commit updates the Pegleg pep8 gate to use Ubuntu 18.04 (bionic) as
the base Ubuntu image for the job. Upstream CI has a community goal to
use Ubuntu 20.04 (focal) which defaults to python3.8. By moving to
python3.8, some of the pip packages need to be updated but until pip
conflicts are resolved, it is difficult to do so.

Additionally, update the deb-docker path to fix the docker image build
jobs.

Change-Id: I263c646f9fbf14cb65267df586c524de3da2878f
2020-09-22 08:42:40 -05:00
anthony.bellino 0e8b5cfe59 Uplift Promenade image to address CVEs
The current Promenade image is vulnerable to several CVEs:
CVE-2019-3462
CVE-2018-16865
CVE-2018-16864

Which Ubuntu 16.04/18.04 addresses.
This patchset makes the following changes:
1. Adds new distro specific dockerfiles for xenial/bionic.
2. Updates gates to be specific about the ubuntu image being
   checked.
3. Updates .zuul.yaml checks/gates/post jobs for xenial/bionic.
4. Updates build-image.sh docker build for specific dockerfile
   specified in config.sh (IMAGE_PROMENADE_DISTRO).

Change-Id: I89e5297a3baa8c2d2c142e5e29932476fc628398
2020-05-28 16:09:40 +00:00
NarlaSandeepNarlaSaibaba fc331e5124 Add Docker default AppArmor profile to promenade
Change-Id: Ic3983f963ae5003445642f842a9c550cf49d4d34
2020-02-12 01:19:30 -06:00
KHIYANI, RAHUL (rk0850) 41c5bb8e23 Promenade: Add Docker default AppArmor profile to controller_manager anchor
Also added AppArmor to promenade genesis gates in order to test apparmor changes
to promenade charts

Change-Id: Ib393306dabf40ef9817072aaa9824c22e60626dc
2020-02-04 22:52:27 +00:00
Egorov, Stanislav 66cb4d2367 containerd support
Introduced new name for the field to define package that has files
which will be used as runtime for UCP containers.

Prepared set of yaml files as an example of containerd usage.

Prepared zuul job to use containerd in simple deployment.

Change-Id: Ifc82a505d064c4f13efccfd92ffc336a510220bf
2019-11-20 16:31:30 -08:00
Doug Aaser 4773f86dd5 Add debug reporting to genesis gate
This patch adds a post-run step to the genesis gate to allow for easier
debugging of failed gate runs
This patch also brings the genesis gate HostSystem configuration up to
date with the proper schema as defined here:

aea0c9d1e9

Change-Id: Iccd971010217709fc3f1047f64fc22e9829b2f36
2019-11-20 19:50:22 +00:00
Scott Hussey b037267203 (promenade) Support genesis on 18.04
- Cleanup the genesis.sh template to support Ubuntu Bionic

Change-Id: I33d4731bbadfc3ec54b43606184a40d7597e9831
2019-10-01 03:28:28 -05:00
Roman Gorshunov d12927a156 Fix: Promenade Exceptions docs rendering on RTD
Readthedocs failed to render Promenade exceptions with error:
> WARNING: autodoc: failed to import exception 'xxx' from module
> 'promenade'; the following exception was raised: No module
> named 'falcon'

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

Unify docs building by utilizing Zuul docs-on-readthedocs template job.

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

Change-Id: I731ee3426a631fa765f13ba7091dcb4b9ebd0353
2019-08-27 22:57:15 +02:00
Luna Das d50735681a Add facility to configure log levels in promenade
Add 'INFO' as default log level.Create logging
section in /etc/promenade/promenade.conf. Set log_level
key in the logging section of promenade.conf to override
the default log level.The allowed log_level values are
as follows:
	1. 'DEBUG'
        2. 'INFO'
        3. 'WARNING'
        4. 'ERROR'
        5. 'CRITICAL'

Add log_level under logging section in promenade charts values.yaml.

Change-Id: I9bbd36e04bbac96779d3f198b0484176e0045a4e
2019-08-07 19:53:57 +05:30
rajesh.kudaka 856b6132fa Add deploy promenade gate check
Change-Id: I47b448234f95b157e55bf649310d1ebd71abc7c0
2019-06-11 04:53:20 -05:00
Kaspars Skels 09ce03160a Encrypt git mirroring ssh_key to specific project
Change-Id: Ie616a52396628e229c2ef629e3fc32fd3913d38f
2019-05-23 13:06:49 -05:00
Kaspars Skels 122d106317 Add Zuul job for mirroring to GitHub
Change-Id: I45b1a966e66c280ac52c14830142921ed14de1a5
2019-05-22 16:12:17 -05:00
Drew Walters 93a839f588 CI: Add chart build job for latest Helm toolkit
This commit introduces a non-voting job to lint Helm charts against the
latest version of Helm toolkit from OpenStack-Helm Infra. This job
should serve as an indicator of when it's safe to advance the version of
Helm toolkit used by Airship.

Additionally, this commit modifies all Helm chart lint jobs to run on
each commit, regardless of the files modified by a change. This should
not introduce a noticeable difference in CI runtime, as these jobs
execute quicker than the tox jobs.

Change-Id: I0b38ef3388629b88ea6d6f88eabdc2d7f5f69a3b
2019-05-07 20:03:22 +00:00
Pete Birley 77073ddd6f Fix airship-promenade-unit-py35 gate job
This PS fixes the gate job. As the playbook was renamed without
updating the zuul config: https://review.openstack.org/#/c/596854/1..2

Change-Id: Ib41cfd0eac97d8104a0243e29819018f27e342cb
Signed-off-by: Pete Birley <pete@port.direct>
2018-09-12 01:37:03 -05:00
Gage Hugo f60f6d7a85 Consolidate pep8/bandit zuul gating
This change adds the global zuul pep8 tox job, which runs both
bandit and pep8 using tox. This also removes the two other airship
specific lint-pep8 and bandit zuul jobs since they are both covered
by the default openstack global one.

Also cleaned up the tox.ini by moving the requirements into the
test-requirements.txt file.

Change-Id: Iccf6228ab9e6d621d3047994b3adc192d67273c9
2018-08-21 12:57:02 -05:00
Scott Hussey 68faf5a5f6 (zuul) Update docker publish to quay.io
- Use quay.io for publishing images
- Add debug output to image build

Change-Id: I00408cc981b400cefcb4b7c4e598274b86d5fb52
2018-06-07 18:05:05 -05:00
Felipe Monteiro baadb73e4e Add irrelevant-files/files to all appropriate .zuul.yaml jobs
This patchset either expands on existing entries in irrelevant-files
or adds irrelevant-files to various jobs to save on resources
in Zuul. Ditto for files entry.

Change-Id: I50e3323d989fa0dc0087d9c5f6709425780d42be
2018-06-06 00:21:10 +00:00
Scott Hussey 59a03d5997 (zuul) Add basic gating
- Add gate for PEP8 linting
- Add gate for Helm chart linting
- Add gate for Bandit security scanning
- Add gate for document generation
- Add gate for unit tests

Change-Id: I7a9358a021dd3268eeede134fbcd68f791b83472
2018-06-01 08:48:42 -05:00
Zuul e300645cb4 Merge "Add email to docker login" 2018-05-24 20:44:56 +00:00
Mark Burnett d26274086f Add email to docker login
Change-Id: I24d524c3c2160dc116be77c05b787bf05989585a
2018-05-24 15:24:57 -05:00
Mark Burnett a119440109 Remove parent relationship for docker gates
It seems we may not be able to use child job secrets in parent-defined
playbooks.

Change-Id: Ib31e87168b4490fdf809f5bae60f26d75e0ab3b4
2018-05-24 14:47:18 -05:00
Mark Burnett c1d59bb8c8 Refactor docker login & docker push
* Use docker_login module instead of "command"
* Use docker_image module to push, instead of "command"
* Refresh credentials to rule out typos

Change-Id: I378140e806083a0c778346a71b93446f9621012b
2018-05-24 10:18:28 -05:00
Mark Burnett 57466a94bf Add docker image publishing
Change-Id: I6a09b73ffd0af6d2d23963b99c436b43410b1a46
2018-05-24 08:59:21 -05:00
Pete Birley b1c8e02f46 Zuul: Initial Airship-Promenade checks
This PS adds the skeleton for a set of zuul checks and gates for
Airship, using the framework from OpenStack-Helm.

Change-Id: Id6df20308f5568979d3ca9107aa348452b20ebf9
Signed-off-by: Pete Birley <pete@port.direct>
2018-05-17 20:46:39 +01:00