17 Commits

Author SHA1 Message Date
Zuul
517cf775c9 Merge "[#39] Add Zuul job for GitHub Issues integration" 2020-03-02 22:38:53 +00:00
Ian H. Pittwood
25691da17a [#39] Add Zuul job for GitHub Issues integration
Adds a post job to update related issues in Github on change merges. If
a change contains a "Closes: #X" tag, issue X will be closed on merge.
If a change contains a "Relates-To: #X" or "[#X]" tag, a comment will be
made on the associated issue to indicate the change was merged and that
the issue may be closeable.

Closes: #39

Change-Id: Ide9a4d53de7be0e467422938e4e8067fb41ce036
2020-03-02 09:49:27 -06:00
Clark Boylan
417abc581e Fix read the docs post job
The previous setup here was rejected by zuul as an invalid
configureation because trigger-readthedocs-webhook is defined as a final
job. Final jobs cannot be modified or parented (which is what the old
config was doing). Unfortunately, this prevented Zuul from running any
post jobs as it has to read the configuration for all jobs in a pipeline
as a whole.

We can fix this by feeding the trigger-readthedocs-webhook job the
necessary vars to run from project level vars. This doesn't modify the
job itself and only serves to add inputs to it.

Change-Id: Ibc3a62db4277aaf31956783aaef52be6f7a247b5
2020-02-28 14:42:27 -08:00
Drew Walters
bcfcd6f9a0 [#33] Publish airshipctl image on Quay
This change introduces a job that publishes the latest airshipctl image
to quay.io/airshipit/airshipctl each time a new change is merged.

Closes #33

Change-Id: I8468b10a8064333d1749015960151e98adb2be97
Signed-off-by: Drew Walters <andrew.walters@att.com>
2020-02-26 10:49:22 -06:00
Kostiantyn Kalynovskyi
23c9d7f33a Add role to deploy ephemeral node
With the role comes libvirt gate that is used as base infra to
deliver ephemeral node to

Change-Id: Idd3f1c867af46118e3af16f8aa746288d282bbfc
2020-02-25 19:27:48 -06:00
Kostiantyn Kalynovskyi
eedeef4958 Add role to build ephemeral iso image
This role uses config files from default directories to generate
iso for ephemeral node. Unfortunately docker image to build iso is
not yet available in upstream, hence we are currently using private
repository of the developer

Change-Id: I475fefe38a89466f782ece0a7ceb9952980f98c4
2020-02-25 15:47:51 -06:00
Drew Walters
2c0ff2be2e [#59] Fix docs publish job
This is a fix of [0]. The publication job expects secrets that are
included in another Openstack job. This change updates the airshipctl
publish job to use that job [1] as a parent.

[0] https://review.opendev.org/708941
[1] https://opendev.org/openstack/project-config/src/branch/master/zuul.d/jobs.yaml#L1054

Change-Id: Ibfd739bf761b3cb14ce96b754b808dc4570a737e
Signed-off-by: Drew Walters <andrew.walters@att.com>
2020-02-25 14:28:06 -06:00
Drew Walters
5c63b5ce5a [#59] Publish airshipctl docs to RTD
This change adds a CI job to publish airshipctl documentation changes to
Read the Docs.

Closes #59

Change-Id: Ie958eb242189b5168d1fd43dce005b883695be0e
Signed-off-by: Drew Walters <andrew.walters@att.com>
2020-02-25 13:34:42 -06:00
Alexander Hughes
d5e28362f2 [#62] Standardize yaml file extensions
Currently we have mixed extensions of .yml and .yaml, this patch is
an effort to standardize all yaml documents as .yaml

Change-Id: I7eb815584de5856bbdac9a828ccad8518e8c1729
2020-02-24 14:50:32 +00:00
Drew Walters
86ae398e20 [#59] Add documentation build gate
This change introduces a job to build airshipctl documentation and
publish a preview for each new PS.

Related #59

Change-Id: I741c59f2c1dc50e66bf3cacfc8cb385ec9ec223d
Signed-off-by: Drew Walters <andrew.walters@att.com>
2020-02-20 11:21:26 -06:00
Drew Walters
5aebf87fc2 [#33] Add image build gate
This change adds a voting job that builds the airshipctl docker image on
each patch set. The same job will be updated in a later commit to
publish the image to the quay.io/airshipit/airshipctl repository.

Related #33

Change-Id: I202da62c77ec277312518fead09f0f3ef32ccde8
Signed-off-by: Drew Walters <andrew.walters@att.com>
2020-02-14 10:17:15 -06:00
Kostiantyn Kalynovskyi
d7df2fb571 Moving roles from zuul-airship-roles.
Changes is needed because we can not make dependencies on PRs from
other repositories such as zuul-airship-roles, this would allow more
robust development in the stage we currently are in. When there will
be less activity on gating roles will be moved back to separate repo.

Change-Id: I85c9bdd47b5aaba90df5458b20c90ff5c912c05f
2020-02-12 22:52:17 +00:00
Roman Gorshunov
d6eba660f5 Add new nodesets to the gates configuration
Change-Id: Iaee19752fe99cc7f048f72ca2912714e2b7f1146
2020-02-10 17:43:52 +01:00
Kostiantyn Kalynovskyi
16af49c265 Roles to genreate base config and build airshipctl
These roles will allow to generate base airship and kubeconfigs

Change-Id: I8e93dbeaf1aef2f51db5ed9e807f58999ebe97f7
2020-02-05 20:59:20 +00:00
Kaspars Skels
acdedaafe3 Add Zull job for mirroring to GitHub
Change-Id: Ifb343826b96fbbf83b960d8eafdb70c7701f0867
2019-07-16 16:50:49 -05:00
Pete Birley
5cf0b2327c CI: Add a functional test for interacting with a existing k8s cluster
This adds Ansible playbooks to install kubernetes using minikube and
then assert that airshipctl is able to communicate with the cluster.

Change-Id: Ice5cf3de8d9192d508c79c68caf8f5a61896da9c
Signed-off-by: Pete Birley <pete@port.direct>
2019-07-09 21:04:15 +00:00
Ian Howell
d6b06a8787 Zuul: Switch from travis to zuul
This PS adds the skeleton for a set of zuul checks and gates for
airshipctl and removes the travis config.

This PS also removes some dead code from the util package. This change
is required to get unit tests passing.

Change-Id: Ifb1be49cb1bb82c62a0085b6da9b8ff1b261a95b
2019-07-01 11:00:26 -05:00