Commit Graph

36 Commits

Author SHA1 Message Date
Michal Jura 429f86b50f
Add warning to restore procedure about rancher-system-agent (#481)
Fixes https://github.com/rancher/elemental/issues/447

Signed-off-by: Michal Jura <mjura@suse.com>

Signed-off-by: Michal Jura <mjura@suse.com>
2022-11-07 08:10:23 +01:00
Julien ADAMEK a1c49554f8
Add --ipc=host on the Cypress docker cmd line (#473)
* https://github.com/cypress-io/cypress/issues/350
* Also move the script to the right folder
2022-10-27 15:16:08 +02:00
Julien ADAMEK 3391854e8e
Migrate to Cypress 10.9 (#406) 2022-10-11 09:48:46 +00:00
Julien ADAMEK 95f7f7561a
Bootstrap a node to join UI (Cypress) (#296)
Update golang dependencies
2022-09-08 15:22:52 +02:00
Julien ADAMEK a6e3bd9b3c
Convert bash code to golang (#287) 2022-08-26 13:54:51 +00:00
Julien ADAMEK 4aa54650c8 Add Cypress tests in the CI 2022-08-24 14:49:33 +02:00
Itxaka c245ae6b82 Drop old script files
They are not used anymore

Signed-off-by: Itxaka <igarcia@suse.com>
2022-08-10 14:16:45 +02:00
Itxaka e71660b28b
Simplify building elemental iso (#167)
* Simplify building elemental iso

Drop the script, use the Makefile directly.
Set the default files used under the iso/ dir
Set proper directories for overlay and rootfs
Simplify the Dockerfile used
Allow specifying a cloud-config file by setting CLOUD_CONFIG_FILE before
building the image, otherwise default to the generic one

Signed-off-by: Itxaka <igarcia@suse.com>

* Drop iso from dapper and call it directly

Lets stop using dapper as much as we can, please?

Signed-off-by: Itxaka <igarcia@suse.com>

* Move the extraction of kernle,initrd,squash to Makefile

To be honest, not sure why we even have this in there, iso should be
enough, you can get those from the iso, so the target is there, just not
run anywhere as I dont see it as useful

Signed-off-by: Itxaka <igarcia@suse.com>

* Restore building the old iso

So tests pass, still the old iso is not really what we expect, it runs
ros-installer and tests are based on that

Signed-off-by: Itxaka <igarcia@suse.com>
2022-07-14 17:37:48 +02:00
Francesco Giudici 3ac6eed7d3 Rename Dockerfile to Dockerfile.e2e
The Dockerfile we have in the elemental repo is for testing purposes.
Rename the Dockerfile and the build makefile target to make it clear.

Fixes: #141

Signed-off-by: Francesco Giudici <francesco.giudici@suse.com>
2022-07-04 12:36:12 +02:00
Fredrik Lönnegren 5a118a0544
package-info: output package versions (#150)
Output version of packages elemental-cli, elemental-toolkit and
elemental-installer into artifact dir.

Makefile got a little verbose since I couldn't get bind-mounts to work
correctly in dapper.

Signed-off-by: Fredrik Lönnegren <fredrik.lonnegren@suse.com>
2022-06-20 09:19:35 +00:00
Ettore Di Giacinto 39ef7ed585
Teal (#119)
* Enable boot assessment

Signed-off-by: Ettore Di Giacinto <edigiacinto@suse.com>

* Switch to teal

Signed-off-by: Ettore Di Giacinto <edigiacinto@suse.com>

* Temporary disable selinux overriding bootargs

SLE Micro for Rancher has selinux supports, but we don't have profiles
for it yet.

Signed-off-by: Ettore Di Giacinto <edigiacinto@suse.com>

* Keep using leap as tool image while building qcows

Signed-off-by: Ettore Di Giacinto <edigiacinto@suse.com>

* Add go.mod into tests

Signed-off-by: Ettore Di Giacinto <edigiacinto@suse.com>

* Adapt tests

Signed-off-by: Ettore Di Giacinto <edigiacinto@suse.com>
2022-05-13 17:51:01 +02:00
Ettore Di Giacinto a4eb3ca475
Generate default upgrade channel image file in releases (#95)
* scripts: generate default upgrade channel image file in releases

Signed-off-by: Ettore Di Giacinto <edigiacinto@suse.com>

* makefile: use go install to get ginkgo

Signed-off-by: Ettore Di Giacinto <edigiacinto@suse.com>

* docs: Add documentation on how to consume os2 upgradechannel

Signed-off-by: Ettore Di Giacinto <edigiacinto@suse.com>

* tests: Cleanup double go mod

Signed-off-by: Ettore Di Giacinto <edigiacinto@suse.com>

* tests: fixup linting issues

Signed-off-by: Ettore Di Giacinto <edigiacinto@suse.com>
2022-04-21 15:49:18 +02:00
Itxaka 137758507f
Drop rancheros-operator from os2 repo (#69) 2022-03-28 10:38:13 +02:00
Ettore Di Giacinto b1331abb2a
Add upgradeContainerSpec to ManagedOS and update wrangler (#66)
* 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>
2022-03-23 18:27:39 +01:00
Itxaka 649ad79a9d
Use ros-operator image for the ros-operator chart (#40) 2022-03-08 14:18:07 +01:00
Ettore Di Giacinto 709cb9cadc
chart: generate chart image from IMAGE_REPO, use framework images
Signed-off-by: Ettore Di Giacinto <edigiacinto@suse.com>
2022-02-09 15:32:14 +01:00
Ettore Di Giacinto 97d58074ee
Refactor import paths
See: https://github.com/rancher-sandbox/cOS-toolkit/issues/1105

Signed-off-by: Ettore Di Giacinto <edigiacinto@suse.com>
2022-01-28 14:00:29 +01:00
Ettore Di Giacinto 8240a456b3
ci: move test utils inside tests
Also add rancherd smoke test

Signed-off-by: Ettore Di Giacinto <edigiacinto@suse.com>
2022-01-28 13:37:58 +01:00
Ettore Di Giacinto 2f3897eb0b
Remove -rock when creating user-data ISO
Workaround for https://github.com/rancher-sandbox/os2/issues/2

Signed-off-by: Ettore Di Giacinto <edigiacinto@suse.com>
2022-01-28 13:37:53 +01:00
Ettore Di Giacinto 1067e8f345
ci: Add pipeline to build project on GHA
- 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>
2022-01-28 13:37:52 +01:00
Darren Shepherd c35d85de48 Fix pxe install again 2021-11-30 20:19:22 -07:00
Darren Shepherd ce5c06925c Fix pxe install 2021-11-23 14:55:51 -07:00
Darren Shepherd 3f899e0784 Build custom ipxe and use hostbin for ros-operator 2021-11-08 22:16:28 -07:00
Darren Shepherd 4ea0019d5b Fix AWS build 2021-11-04 08:37:19 -07:00
Darren Shepherd 901973e5f6 Add TPM and MachineRegister support 2021-10-29 23:08:26 -07:00
Darren Shepherd db84312450 Fix installer 2021-10-24 17:07:48 -07:00
Darren Shepherd 4e708c8a1b Add install docs 2021-10-21 13:49:54 -07:00
Darren Shepherd 6a9bea4ebe Add initial docs framework 2021-10-20 16:01:11 -07:00
Darren Shepherd 4085b2977b Rename to rancher/os2 2021-10-20 12:19:44 -07:00
Darren Shepherd 5675644d9f Add operator 2021-10-20 10:58:54 -07:00
Darren Shepherd 0e46d19194 Add ipxe support 2021-10-13 16:01:08 -07:00
Darren Shepherd 53295b9228 Add arm64 2021-10-13 13:36:08 -07:00
Darren Shepherd 37f5c2c27c Include kernel, initrd, squashfs in the artifacts 2021-10-07 23:20:18 -07:00
Darren Shepherd 7eff0cf5af Move files to dist/artifacts 2021-10-05 21:00:21 -07:00
Darren Shepherd 72291094c0 Push framework image and fix rancherd 2021-10-02 23:14:04 -07:00
Darren Shepherd 3040e886dc Refactor build 2021-10-02 16:08:48 -07:00