1225 Commits

Author SHA1 Message Date
Sirajudeen
afe9121169 Uplift cli-utils from 0.18.1 to 0.20.6
* uplift of cli-utils had changes with signature of Applier.
  So had to update the impacted go code and cleanup the
  unwanted parameters.

Change-Id: I6f3018d1fd4cac2e1a328e50c44ad0f51bb0e16f
Closes: #367
2020-10-21 18:15:03 +00:00
Zuul
37ce87edfb Merge "Add timestamp for events" 2020-10-21 11:28:53 +00:00
Zuul
d812b6c165 Merge "Introduce Replacement Transformer plugin container" 2020-10-19 18:51:49 +00:00
Zuul
ab6d9ed311 Merge "Support rotation of svc account tokens" 2020-10-19 15:41:32 +00:00
Vladislav Kuzmin
f9f8c43e8a Add timestamp for events
Relates-To: #339
Change-Id: Iec939e167b6ae3c72aa31e102407d0fffc370766
2020-10-19 18:04:57 +04:00
Guhan Eswaran
b7dd46c4e6 Support rotation of svc account tokens
This patchset introduces airshipctl command
- airshipctl cluster rotate-sa-token which basically rotates SA tokens

Previous work: https://review.opendev.org/#/c/749470/

Change-Id: Ibe932fa8d2831979e5b2ac2781f746e8ec2fdc3c
2020-10-19 07:06:58 +00:00
Ruslan Aliev
0c870e5244 Remove clustertype-related functions
We don't use clustertype anymore, so all the related functions must
be deleted or adjusted as well as appropriate config fields.

Change-Id: I3931fdc71d4318e916f8bbc2d94e062c9df5f641
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
Relates-To: #349
2020-10-16 11:31:58 -05:00
Zuul
23224e57c5 Merge "Phase docs are targetPath + phaseRepo + phase.DocumentEntrypoint" 2020-10-16 15:02:04 +00:00
Dmitry Ukov
d783d71f05 Introduce Replacement Transformer plugin container
Relates-To: #341
Change-Id: I65a5b8cf3bcf94321fc02f240b1d8075bca45c0c
2020-10-16 16:00:56 +04:00
Vladimir Kozhukalov
dc68640389 Phase docs are targetPath + phaseRepo + phase.DocumentEntrypoint
Change-Id: I1d5ea75d1c19eb4ebaf37b28918ccde771bcef85
Relates-To: #356
2020-10-15 13:55:59 +03:00
Matt McEuen
d5ec4ecbd2 Refactor kustomization of env vars
This tweaks the generation of the env-vars catalogue to be done in
the airshipctl-catalogues function itself, resulting in a vanilla
catalogue that can be imported as a resource across the phases that
need it.

Change-Id: I40fe9369ad2d5f4b58123f67ac90511db6a2fd12
2020-10-14 17:43:44 -05:00
Zuul
d9206c2121 Merge "Enable voting of gate tests" 2020-10-14 20:17:32 +00:00
Zuul
6390d90617 Merge "Add additional versions replacements" 2020-10-14 18:48:56 +00:00
Zuul
f681da04f2 Merge "Add RAID to example hardwareprofile" 2020-10-14 14:53:01 +00:00
Ruslan Aliev
a6363f1c1e Run image build command like a phase
We perform almost the same activities prior calling createBootstrapIso
function like we do that in phase executor, also image build command
now is techically outdated since it doesn't work because it fails with
"phase document was not found" error. This patch removes unnecessary
functions like GenerateBootstrapIso and runs image build command in
a phase way. Test coverage increases slightly (by 0.2%) by removing
partially duplicating code which was not tested properly. Minor bug
fixes included.

Change-Id: I545004cea721164838b296ae647a7651cde248ff
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
2020-10-13 17:48:55 -05:00
Kostiantyn Kalynovskyi
81de5ee252 Enable voting of gate tests
Opendev infra 16G flavors are much more stable now and we can
enable this test again.

Change-Id: Ie6b5a97030b89e3235814e9cae8bb238b02087ce
2020-10-13 16:32:03 -05:00
Zuul
f92e8bd042 Merge "Replace PrimaryRepositoryName with PhaseRepositoryName" 2020-10-13 20:50:53 +00:00
Zuul
0f799cc0df Merge "Integrate gcp provider (capg) with airshipctl" 2020-10-13 20:03:16 +00:00
Zuul
2b7ace99ff Merge "Migrate Replacement Transformer plugin" 2020-10-13 18:39:48 +00:00
Zuul
41bf225d3b Merge "Remove clusterctl install from gate script" 2020-10-13 17:38:40 +00:00
Rishabh Kumar Jain
219b29f1a6 Integrate gcp provider (capg) with airshipctl
* add documentation for gcp provider (capg)
  * add manifests for gcp provider (capg)
  * add cluster templates for control plane and workers
  * add site definition to use gcp provider (capg) with
    control plane and workers

Zuul Gate Scripts: https://review.opendev.org/#/c/749165/
Change-Id: I3ea07fcafe49fc2698d9d961222550c45b40cd66
2020-10-13 17:34:33 +00:00
Zuul
cb8be36fdb Merge "Implement JSON path filter for kyaml.RNode" 2020-10-13 17:22:26 +00:00
Dmitry Ukov
ca1a3a2d0b Migrate Replacement Transformer plugin
Plugin extended to support new kustomize plugin framework which
consider each plugin as a container

Change-Id: If55b7093f711401165b7d4fd3f5b1059fde464ff
Relates-To: #340
2020-10-13 20:43:55 +04:00
Sirajudeen
8307148482 Remove clusterctl install from gate script
* clusterctl commands are driven through phase run.
  So removing install clusterctl CLI utility from gate
  script

Change-Id: I1c57aa07a9e19495c94c3080d0ce40dfc0e5dd47
2020-10-13 15:11:59 +00:00
Kostiantyn Kalynovskyi
7095d09de2 Fix kubeconfig flag to be passed to executor
Change-Id: I6e9951785158cecfb952255426d8b5bb40be37ea
Closes: #366
Relates-To: #366
2020-10-13 01:07:49 +00:00
Zuul
03a1e28964 Merge "Fix workload ingress controller" 2020-10-12 21:56:15 +00:00
Zuul
1e6675a941 Merge "Fix shell syntax causing gates to silently fail" 2020-10-12 21:56:04 +00:00
Kostiantyn Kalynovskyi
3964487ced Fix workload ingress controller
Change-Id: Ibcb0678400530157f911751a2cf7c0f35b21fb55
2020-10-12 13:05:29 -05:00
Vladimir Kozhukalov
0dc4ab7491 Replace PrimaryRepositoryName with PhaseRepositoryName
Change-Id: I2276a3b3ea50b8e81dd240815cd00a0a2a2af96e
Relates-To: #356
2020-10-12 15:28:27 +03:00
Zuul
3866d358b8 Merge "Integrate openstack provider(capo) with airshipctl" 2020-10-09 21:47:44 +00:00
Zuul
ce3d3b3242 Merge "Make document validatation job non voting" 2020-10-09 14:48:24 +00:00
Zuul
9ab8452a8e Merge "Add documentation for example hardwareprofile" 2020-10-09 14:11:15 +00:00
Zuul
a22c8623c1 Merge "hostgenerator-m3: make profile optional" 2020-10-09 14:05:36 +00:00
Matt McEuen
128a2e5e3f Add additional versions replacements
This adds catalogue-based version replacement to the following
functions, which were added since version replacement was
introduced:
- calico (consumed via the infra composite)
- helm-operator
- hwcc (not actually used in any site definitions yet)

Change-Id: If4d6b9f64d7f170ddf0d79455cfd3cfce260f128
2020-10-08 14:58:48 -05:00
Roman Gorshunov
585a75acf3 Fix shell syntax causing gates to silently fail
Fix shell syntax causing gates to silently fail with error
  ./tools/deployment/35_deploy_workload.sh:
  line 33: 404: command not found

Change-Id: Id49dde7e7c50f6596359e5ec7b6643401797ac9a
2020-10-08 14:18:09 +00:00
Zuul
76e4d3f48c Merge "Remove kubeconfig from config struct" 2020-10-07 21:57:49 +00:00
Zuul
8d68515118 Merge "Use proxy settings from env vars" 2020-10-07 19:46:48 +00:00
Ruslan Aliev
fc33287204 Remove kubeconfig from config struct
Change-Id: I5ab8722dd151d9e652e0b20e1d82988cd98505af
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
2020-10-07 14:35:07 -05:00
Zuul
64ef1f9ef1 Merge "Adding encrypt and decrypt subcommands to secret command" 2020-10-07 19:21:18 +00:00
Zuul
10620da2cc Merge "Changes gating scripts to use the airshipctl move command." 2020-10-07 18:30:41 +00:00
Zuul
857b51612c Merge "Add ability to perform baremetal operation against all nodes" 2020-10-07 14:35:02 +00:00
Dmitry Ukov
025c2172d6 Implement JSON path filter for kyaml.RNode
Change introduces kyaml.RNode Pipe Filter which uses k8s go-client JSON
path parser. This enables to use JSON queries defined by
https://goessner.net/articles/JsonPath/

Change-Id: I6c2276f27652190ed9d183cea0e45eb118346c6b
Relates-To: #340
2020-10-07 15:27:19 +04:00
Ratnopam Chakrabarti
34fd3e0bfc Integrate openstack provider(capo) with airshipctl
* add documentation for openstack provider (capo)
  * add manifests for openstack provider (capo)
  * add cluster templates for control plane and workers
  * add site definition to use openstack provider (capo) with
    control plane and workers

Change-Id: I7158aa87f2ef044d0acca448e3b1c19f58416e22
2020-10-06 16:01:48 -04:00
Stanislav Egorov
bccfe4b1ff Use proxy settings from env vars
For the labs behind the corporate proxy we need to define proxy settings as env vars.
Inside Ironic pod there is init-bootstrap container which is using curl with external
URLs. This change introduces the env vars for proxy in the ConfigMap mounted to all
Ironic containers in the pod. Also Ephemeral Secret now has an option to use proxy.

Relates-To: #355

Change-Id: I4f1c61c8381d57e4ad8adc063434468fdfa0e959
2020-10-06 17:22:26 +00:00
Zuul
4b8209f100 Merge "Add CI metadata path override" 2020-10-06 16:27:39 +00:00
Zuul
9b79bbf898 Merge "Extend plugin interface with execute method" 2020-10-06 15:40:44 +00:00
uday.ruddarraju
8fccf09753 Adding encrypt and decrypt subcommands to secret command
Design document: https://docs.google.com/document/d/1EjiCuXoiy8DEEXe15KxVJ4iWrwogCyG113_0LdzcWzQ/edit?usp=drive_web&ouid=102644738301620637153

This is the third of multiple patchsets to support
encryption and decryption in airshipctl

Complete feature: https://review.opendev.org/#/c/742695/

Change-Id: Ibe1060a83d11233cccaa3d3989765968a4dbed76
2020-10-06 08:37:56 -07:00
Arvinderpal Wander
e3065784ee Changes gating scripts to use the airshipctl move command.
Change-Id: I383343f4cde3aa3d431844f5792ee75d305d5210
2020-10-06 06:57:54 -07:00
Zuul
96e88e2523 Merge "Uplift cluster-api go package to 0.3.10" 2020-10-06 00:41:28 +00:00
Zuul
c6a9082b2c Merge "Making gate runner job dependent of small jobs." 2020-10-05 22:37:29 +00:00