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
* 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
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
This commit integrates the Azure provider to the Airship 2.0 project.
It adds the following folders:
- manifest/function/capz: This folder contains all manifests required
for the integration of Azure provider.
- manifest/function/k8scontrol-capz: This folder contains the base
manifest for the Azure Workload cluster.
- manifest/site/az-test-site: This folder contains the manifests used
for initializing the CAPI and CAPZ components on the management cluster
invoking "airshipctl cluster init" and manifests used for deploying a
Workload cluster on the Azure Cloud by invoking the command
"airshipctl phase apply azure".
- tools/deployment/azure: provides the script shell that are used in the
zuul gates and local test.
Updated files:
- zuul.d/project.yaml and zuul.d/jobs.yaml have been updated to include
gates for validating the Azure provider integration.
Change-Id: Icbdc7f6f42c159f48dd11e35626da3bc016f5487
This commit uplifts cluster-api go package to 0.3.10
In new version we are now allowed to skip var subsitution completely
that is why TestAdditionalVariableSubstitutionRepoClient is changed
to relfect that.
Also some of the cluster-api constructor functions has been changed,
and we are changing our factory injection methods as well.
Change-Id: I24aa849271eb7109eb4f7d53a352ea3bb20a21a5
Change introduces evolution of airshipctl document plugins which
are compatible to the new approach for kustomize plugins.
Change-Id: I422110ba523b97c8a80a0b82cb43b70a4ee8e558
Relates-To: #322
If no name or label filter specified baremetal operation will
be performed against all nodes with baremetalhost kind. Also,
baremeral cmd code was refactored and combined, which allowed
to remove duplicated code and slighlty improve test coverage
by reducing the number of untestable lines.
Change-Id: Ieadafdb9f55b995d4b47aeff1dc7233325f3191c
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
Relates-To: #361
Closes: #361
* The idea here is to execute all the applicable small jobs first.
* If all the applicable small jobs succeeds, then proceed with the
long running gate runner job.
Change-Id: I807ad3bf725db35945e83feff0601b011c771d5a
Sometimes unit test for showProgress function fails if progress bar
was not finished before refreshing event occurs, so progress bar
prints to io.Writer its intermediate state (which is normal since
in regular terminal the output everytime overwrites by carriage
return), so expected and actual output become different. This PS
changes the concept of testing this function and adds the error
tracking of showProgress execution. Some other minor changes included.
Change-Id: I78b4fa9674d4412fa83c1e9320b686923cbe8084
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
Added patterns of files which should and should not trigger jobs on Zuul CI,
to reduce workload imposed onto the CI infrastructure.
Change-Id: I7081c7a2a4902a29e571dce1133465f2821d71a3
The controlplane phase renders node02, which for demo purposes
uses an "example" hardwareProfile. However, it doesn't kustomize in
the hardwareprofile-example, resulting in a null "firmware" attribute
in the BMH.
This change includes the hardwareprofile-example, and executes
its replacement configuration to add itself into the hostgenerator.
Change-Id: I4f7b8398384dff52011e8a034ccd798e5afaca1d
There is need to remove airshipctl artifacts in /tmp/airship,
docker containers/images and left processes which use port 8000 or 8099.
Change-Id: I682cf5a6f41875d5be77aa552e4743c9b8cf17df
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
This change adds an environment variable override to change the metadata
path in the Airship config file when using the CI-driven deployment
scripts. This will enable the Treasuremap repository to store
metadata.yaml at the site level while using the same deployment scripts
from airshipctl.
Change-Id: I0862a87417ad7a4d8666df7b34e25327bb40e251
Signed-off-by: Drew Walters <andrew.walters@att.com>
Added patterns of files which should not trigger the most resource-consuming
job (on 16GB VM) on Zuul CI.
Change-Id: I143a15f531f5179cebf2741eacd67818976fda94
The test makes sure that correct error is returned when bundle
factory fails, and increases test coverage of executor() function
Change-Id: Ibfc5d8ea1941a5d4d304a8afaedc5c89efe7c398