1875 Commits

Author SHA1 Message Date
Zuul
057d391901 Merge "Add updated Tigera Operator and Project Calico" 2021-03-19 10:15:10 +00:00
Zuul
86bd2c9984 Merge "Get-kubeconfig return all cluster contexts" 2021-03-19 01:20:48 +00:00
Zuul
c3e5355322 Merge "Kubeconf builder to return single cluster kubeconf" 2021-03-18 20:55:57 +00:00
Ruslan Aliev
8f1d0e0a75 Remove obsolete directory in manifests
Since we switched to tigera operator to deploy calico, the directory
manifests/composite/infra/replacements became obsolete since it contains
link to cni/calico, which is no longer exists. Also, this directory
isn't used anywhere in manifests, so it can be safely removed.

Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
Relates-To: #492
Closes: #492
Change-Id: I14d9b9ba192aa9546e198300f81045cc035fe13a
2021-03-18 11:23:43 -05:00
Zuul
7f95156110 Merge "Suppress the "go command not found" message" 2021-03-18 03:06:37 +00:00
Hemachandra Reddy
8d904c2354 Increase required disk size to 80GB
The existing recommendation of 60GB disk space is not enough to configure
all-in-one airshitpctl. It is not easy to expand disk space in virtual box
and other envivonrments and developer needs to recreate the environment from
scratch again.

Change-Id: Ifdb260e443647eb4dc942674ee495c9790e28fe6
2021-03-17 21:57:54 +00:00
Kostiantyn Kalynovskyi
f24bf00d17 Get-kubeconfig return all cluster contexts
Now if we run `airshipctl cluster get-kubeconfig` without args
it will return kubeconfig for the entire site, which will have
contexts for every cluster defined in cluster map.

Relates-To: #460
Closes: #460

Change-Id: Icf1f09724a5c60ac520b1dbcbda69c3280ac4c7e
2021-03-17 19:27:14 +00:00
Zuul
d2da9c3d4c Merge "Point calico to quay.io" 2021-03-17 19:23:36 +00:00
Zuul
d407142498 Merge "Add v prefix to semver image tags" 2021-03-17 17:49:42 +00:00
Zuul
04149bd8ae Merge "Ensure semver publishing for all krm functions" 2021-03-17 17:49:20 +00:00
Zuul
b34d0ba918 Merge "Fix calculation of previous tag for release notes gen" 2021-03-17 17:49:14 +00:00
Zuul
7277a8492a Merge "Remove clusterctl command related functionality" 2021-03-17 17:48:49 +00:00
Zuul
f73e1dccb3 Merge "Higher priority for kubeconfig from bundle" 2021-03-17 17:07:02 +00:00
Sean Eagan
f1e42b8444 Add v prefix to semver image tags
This adds some context e.g. `v1` instead of just `1`, and matches
what some nearby projects use, such as the kpt container functions [0].

[0]: https://github.com/GoogleContainerTools/kpt/issues/1358

Change-Id: I2026fba873a0f074233e7628de35e53f1f880027
Signed-off-by: Sean Eagan <seaneagan1@gmail.com>
2021-03-17 08:36:25 -05:00
Sean Eagan
b4ffab50f9 Ensure semver publishing for all krm functions
Instead of a static list, read list of krm-functions from containing directory.
This mirrors what we do for git SHA tag publishing for these images upon merge.

Before this, the cloud-init krm function was missing from the list.

Change-Id: Iacb5bbcc84c5eeb9a6bb6cebbf674c3068f103b0
Signed-off-by: Sean Eagan <seaneagan1@gmail.com>
2021-03-17 08:27:54 -05:00
Zuul
3bc529fc93 Merge "Revert "Adding encryption config to airshipctl config"" 2021-03-17 04:02:50 +00:00
Zuul
98c50e1464 Merge "Revert "Adding commands to get and set encryption configs"" 2021-03-17 00:22:09 +00:00
Zuul
deb817ea6b Merge "move ipam from url to local" 2021-03-16 20:20:17 +00:00
Kostiantyn Kalynovskyi
580b37b2a0 Higher priority for kubeconfig from bundle
Cluster-Api kubeconfig source for target-cluster has higher
priority, airshipctl waits 300 timeout before proceeding
to next source each phase run. This commit will give bundle
higher priority, this will speed up deployments by 5 minutes
per each airshipctl phase run, when ephemeral cluster-api is
unavailable.

Change-Id: I7711d0594a513b7cf9fe3197e90047a9ba96123e
2021-03-16 19:22:21 +00:00
Sreejith Punnapuzha
4f9ab7b88c Point calico to quay.io
We are hitting docker pull limit on calico images. so switching it from
docker hub to quay

Signed-off-by: Sreejith Punnapuzha <Sreejith.Punnapuzha@outlook.com>
Change-Id: If2ef94885098bd87b2441c6eeb3738076fdaee73
2021-03-16 14:08:48 -05:00
Sean Eagan
0e7e263dfa Fix calculation of previous tag for release notes gen
The gren tool uses the git tag history to calculate the previous tag
to diff against. By default, the checkout action doesn't fetch the tag
history, this configures it to do so [1].

[0]: https://github-tools.github.io/github-release-notes/options.html#tags
[1]: https://github.com/actions/checkout#fetch-all-history-for-all-tags-and-branches

Relates-To: #354
Change-Id: I90fb4deecba842517945707a12e3b1bde2610f74
Signed-off-by: Sean Eagan <seaneagan1@gmail.com>
2021-03-16 13:08:15 -05:00
Zuul
2d9de5f8b6 Merge "Revert "Adding encrypt and decrypt subcommands to secret command"" 2021-03-16 17:51:26 +00:00
Kostiantyn Kalynovskyi
e2d2607586 Kubeconf builder to return single cluster kubeconf
Now if clusterName is specified for kubebuilder, Build() method
will return kubeconfig containing only context for that cluster.
If no clusterName is specified kubeconfig will have contexts of
all clusters that builder can build. This behaviour is similar
to `kubeconfig get` command.

Relates-To: #460

Change-Id: Ib3bebf61bc60430d347ded41b2e31249b11126eb
2021-03-16 15:53:40 +00:00
Kostiantyn Kalynovskyi
6cae709dba Remove clusterctl command related functionality
It is not used anywhere anymore as commands themselves were
deprecated and removed in favor of clusterctl move and init
executors.

Change-Id: I526f75d95b70754034f0846edfc9d3e468648ced
2021-03-16 15:05:14 +00:00
Zuul
442f9965fb Merge "Remove deprecated cluster init/move commands" 2021-03-16 04:48:32 +00:00
Chris Wedgwood
68b0269088 Add updated Tigera Operator and Project Calico
Change-Id: Ia7304db232416a3687b9048576e3be84c7e8baf6
2021-03-15 23:05:10 +00:00
Zuul
f4552d3ac2 Merge "Fix tag name in release workflow" 2021-03-15 20:01:46 +00:00
Sreejith Punnapuzha
2db7d3d85c move ipam from url to local
ipam yaml was getting downloaded in customization file. This will cause
problem behind proxy. So adding the ipam yaml to respective folder

Signed-off-by: Sreejith Punnapuzha <Sreejith.Punnapuzha@outlook.com>
Change-Id: Idf0f4b13fb6380363d3cabacfeacc7179f09cff9
2021-03-12 17:00:06 -06:00
Zuul
a39d547981 Merge "Updated executor definition to introduce a status interface" 2021-03-11 21:40:43 +00:00
Ruslan Aliev
026c71ce6e Bump timeout for controlplane phases
Exceeding the timeout (2000s) for controlplane phase is one
of the common reasons of failure gate-script runner job. The new executor
with bumped timeout value was created for controlplane-* phases to help avoid
timeout error. The examples of exceeding timeout error can be found here:

[1] https://zuul.opendev.org/t/openstack/build/b26d02fda3ab4e75938bd397c618a411
[2] https://zuul.opendev.org/t/openstack/build/73ae850e150c4ce18a1153cc352cebfc
[3] https://zuul.opendev.org/t/openstack/build/7683f126b5274eb492d00d80c73c4bbb

Change-Id: I77055e25c58a4103cdbd67b09710e22829e127a0
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
2021-03-11 14:16:09 -06:00
Kostiantyn Kalynovskyi
6207e2c24d Add multiple kubeconifg sources to ClusterMap
Change ClusterMap API object to support multiple kubeconfig sources
for a cluster. If one kubeconfig source fails, kubeconfig builder
will not fail and move on to the next one. This behaviour will allow
to support cases when ephemeral cluster is not accesible anymore or
when target cluster is not yet accessible.

For more information please read issue #460 in airshipctl github

Relates-To: #460
Related-To: #460

Change-Id: I7cd32f78cd7c4ad8814eac357424c24216f40d76
2021-03-10 18:22:30 +00:00
Zuul
1112c8efee Merge "Add utulity to expand tilde in file path" 2021-03-10 18:16:16 +00:00
Sean Eagan
0234731e51 Fix tag name in release workflow
The gren tool expects the tag name to not include the refs/tags prefix,
so this removes that from the `github.ref` variable.

Change-Id: Ied065b3e021841d0a04d2ccfd6e743171f2a8f54
Signed-off-by: Sean Eagan <seaneagan1@gmail.com>
2021-03-10 11:54:48 -06:00
Ruslan Aliev
159cddb269 Revert "Adding encrypt and decrypt subcommands to secret command"
This reverts commit 8fccf09753663fd83e07c01de38d3ca67d9a08d1.

Reason for revert: This change is no longer needed and never used, specified commands aren't implemented. All the encryption logic was implemented in this [1] PS chain.

[1] https://review.opendev.org/q/topic:%22generator_sops_encrypter%22+(status:open%20OR%20status:merged)
 

Change-Id: I94737137707cea63c05573147ba3bde808bf6f00
2021-03-10 11:33:49 -06:00
Ruslan Aliev
701afe4c50 Revert "Adding encryption config to airshipctl config"
This reverts commit f328c43295541dd2c855e493abd1e746216f9b24.

Reason for revert: Encryption config is no longer needed and
not used in airshipctl config.

Change-Id: I07f5fd035236b8ecbf4ad6dd164acb7e8c98deb5
2021-03-10 11:30:32 -06:00
Ruslan Aliev
e4436ca36d Revert "Adding commands to get and set encryption configs"
This reverts commit 694067492cfedd5e7b369b396bfce9923c0ca3a1.

Reason for revert: Encryption configs inside airship config are
no longer required. Encrypt feature was implemented different way.

Change-Id: I1c8feec75000402e314e815e4832ce740f0e1254
2021-03-10 11:30:32 -06:00
bijayasharma
044b636a57 Updated executor definition to introduce a status interface
Change-Id: Ib95cb2f6464b2d15ba7378e9b40a13899d273ba3
Signed-off-by: bijayasharma <vetbijaya@gmail.com>
Relates-To: #409
Closes: #409
2021-03-10 13:14:08 +00:00
Zuul
2351051ffd Merge "Remove image build command" 2021-03-10 08:23:00 +00:00
Zuul
9b0ebc0ddf Merge "Add WorkDir method to airshipctl config" 2021-03-10 03:01:08 +00:00
Kostiantyn Kalynovskyi
b53fdf48da Add utulity to expand tilde in file path
Relates-To: #460
Change-Id: I564887643388d5db32e13b3f432f3d0f1b6428e7
2021-03-09 19:45:38 +00:00
Zuul
ecb2a042dd Merge "Remove isogen executor and related code" 2021-03-09 19:21:45 +00:00
Kostiantyn Kalynovskyi
dae03cff83 Add WorkDir method to airshipctl config
The method also creates a directory if it doesn't exist.

Relates-To: #480
Closes: #480
Change-Id: I240b963c0b850bb3965396473898eb23df7c5a62
2021-03-09 17:22:30 +00:00
Zuul
f0523a3808 Merge "Fix unknown event type message in logs" 2021-03-09 16:00:01 +00:00
Zuul
98021058df Merge "Fix github release workflow" 2021-03-08 19:27:23 +00:00
Kostiantyn Kalynovskyi
9578556480 Fix unknown event type message in logs
This commit allows to normalize baremetal host events, so they
appear in logs corretly.

Change-Id: If6fb862d2baef0897a24bf6b3fdfa196f2b1ee8d
2021-03-05 19:01:14 +00:00
Zuul
749073228b Merge "Update capm3 to 0.4.0 to fix clusterctl move BMH bug" 2021-03-05 01:46:59 +00:00
Zuul
6c4caef9e6 Merge "Add NTP to k8scontrol" 2021-03-05 00:20:07 +00:00
Zuul
131bd990d6 Merge "Wait for CR tigerastatus to be available" 2021-03-04 22:49:13 +00:00
Zuul
2ac20c288f Merge "Update docker base template (CAPD)" 2021-03-04 22:18:46 +00:00
Zuul
a00fb9f602 Merge "Mount kubeconfig to GenericContainer executor" 2021-03-04 20:59:14 +00:00