This target (ab)uses the ginkgo BeforeSuite to have a ready-to-test
cluster with all prerequisites installed for easy testing.
It will build the docker image for the operator, build the chart
pointing to that image, setup a kind cluster, load the docker image
locally built into the cluster and run an empty test which is done so
the BeforeSuite is run, which installs all the needed charts and the
operator into the system.
Signed-off-by: Itxaka <igarcia@suse.com>
Remove all the mentions to rancheros-operator in tests, imports and
dependencies.
Restore e2e scripts and test targets on makefile
Fix all lint issues
Signed-off-by: Itxaka <igarcia@suse.com>
* Move main into a cmd/operator package
* Add elemental-installer
* Adding installer unit tests
* Update Makefile
* Update .github/workflows/unit-tests.yaml
* Adapat Dockerfile and golreleaser to keep releasing and building elemental-operator as they used to
Signed-off-by: David Cassany <dcassany@suse.com>
Co-authored-by: Itxaka <igarcia@suse.com>
- 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>
- 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>
- Add test and static analysis workflows
- Add test/release workflow
- Add smoke integration tests
- Support specifying a docker registry.
- Scope release test runs to pkg
- Add DOCKER_REGISTRY to dapper env
Signed-off-by: Ettore Di Giacinto <edigiacinto@suse.com>