- Allow setting different image versions for kubernetes
- Set a matrix for kubernetes version on CI
- Use kubectl wait to wait for control panel to be ready
- Set default kubernetes version to latest rancher ready (v1.22.7)
Signed-off-by: Itxaka <igarcia@suse.com>
- Also add nginx as ingress as is more compliant to kind
- Move out some common code pieces
- Address points from review
Signed-off-by: Ettore Di Giacinto <edigiacinto@suse.com>
There was a mix of ros-operator and rancheros-operator.
This patch fixes it so its always rancheros-operator, even
changing the repos to have the full name so everything matches
Signed-off-by: Itxaka <igarcia@suse.com>
- Run it only under PRs for testing
- The docker job is the one that pushes the images tot he proper repo
- Integration will only push to the ros-operator-ci registry
Signed-off-by: Itxaka <igarcia@suse.com>
- Drops everything not needed for ros-operator
- New simple Dockerfile
- New jobs based on ros-operator only
- Remove uneeded tests
- Remove dependency on os2 images for integration tests
- Use gorelease to release ros-operator binaries
- Use docker to push ci images to ros-operator-ci registry on PR
- Use docker to push master/tag images to ros-operator registry
- Build chart indepently
- Have a null test CI job for future integration tests
Signed-off-by: Itxaka <igarcia@suse.com>
* Allow to specify a upgradeContainerSpec on ManagedOS
https://github.com/rancher-sandbox/os2/issues/59
Signed-off-by: Ettore Di Giacinto <edigiacinto@suse.com>
* Run go generate and update wrangler
Also pin golang.org/x/tools to latest, to workaround
https://github.com/golang/go/issues/37617
Signed-off-by: Ettore Di Giacinto <edigiacinto@suse.com>
* Update docs
Signed-off-by: Ettore Di Giacinto <edigiacinto@suse.com>
* Adapt to new wrangler signal context
9460166aed
Signed-off-by: Ettore Di Giacinto <edigiacinto@suse.com>
* Fixup license headers
Signed-off-by: Ettore Di Giacinto <edigiacinto@suse.com>
* ci: add installation test with Rancher
* ci: add auto-provisioning of the VM
* ci: install Rancher on GH runner
* ci: move rancher installation+configuration in scripts
* ci: define our own MachineRegistration
* ci: install generated RancherOS Operator chart
* ci: don't use default namespace for test cluster
* ci: add TPM device to VM
* ci: refactoring + add OS installation and config
* ci: use iPXE to install the OS
* ci: keep artifacts and cleanup at the end
* ci: use 'script -e -c` to simulate a TTY
* ci: add check on cluster creation
* ci: fix SERVER_ID
* ci: specify that RKE2 can be installed too
* ci: use container image on self-hosted runner
* ci: add missing packages in container
* ci: upload needed logs
* fix/ci: use quays.io and official repos
* fix/ci: '\n' is not needed when assigned to a var
* ci: move bootstrapping node test in tests folder
* ci: add 'make' package
Signed-off-by: Loic Devulder <ldevulder@suse.com>
Upload iso, qcow, box and chart images individually so they can be
downloaded easier during development.
Fixes: #37
Signed-off-by: Ettore Di Giacinto <edigiacinto@suse.com>
* Disable mtree
Fixes: https://github.com/rancher-sandbox/os2/issues/49
Signed-off-by: Ettore Di Giacinto <edigiacinto@suse.com>
* Add installation test suite
Move the installation setup for tests to leverage ros-installer and
reworks it to be run as a suite.
At the moment only covers installation with container images, but is a
setup that would work as well for other scenarios.
Signed-off-by: Ettore Di Giacinto <edigiacinto@suse.com>
* Bump cOS
Signed-off-by: Ettore Di Giacinto <edigiacinto@suse.com>
* Disable mirror override
Signed-off-by: Ettore Di Giacinto <edigiacinto@suse.com>
* fix: Set 0 size for max autogrow
Signed-off-by: Ettore Di Giacinto <edigiacinto@suse.com>
* Do not require a container image or isoURL
During automated installation it was previously required to specify
either a containerImage or a isoUrl, but this is something we impose
ourselves, as elemental otherwise would install from the booting source.
Fixes: https://github.com/rancher-sandbox/cOS-toolkit/issues/1166
Signed-off-by: Ettore Di Giacinto <edigiacinto@suse.com>
* Add simple unit test
Signed-off-by: Ettore Di Giacinto <edigiacinto@suse.com>
For some reason the installer was assuming that if you dont do an
automatic installation, your "extra data" from the config file should be
gone.
I do not understand why as automatic is not the same as providing a
config file with values which may have nothing to do with the
installation.
This patch removes the nulling of the extra data
Signed-off-by: Itxaka <igarcia@suse.com>