Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Acceptance tests: manual upgrades #43

Closed
ldevulder opened this issue Mar 8, 2022 · 4 comments · Fixed by #146
Closed

Acceptance tests: manual upgrades #43

ldevulder opened this issue Mar 8, 2022 · 4 comments · Fixed by #146

Comments

@ldevulder
Copy link
Contributor

Split of #28

Manual upgrades, following cOS default usage and ros-installer

@ldevulder ldevulder mentioned this issue Mar 8, 2022
5 tasks
@mudler mudler moved this to 💡 Untriaged in Elemental Jun 1, 2022
@mudler mudler added this to Elemental Jun 1, 2022
mudler pushed a commit that referenced this issue Jun 3, 2022
@ldevulder ldevulder moved this from 💡 Untriaged to 🏃🏼‍♂️ In Progress in Elemental Jun 7, 2022
@ldevulder ldevulder moved this from 🏃🏼‍♂️ In Progress to 💡 Untriaged in Elemental Jun 7, 2022
@ldevulder ldevulder moved this from 💡 Untriaged to 🗳️ To Do in Elemental Jun 8, 2022
@ldevulder ldevulder moved this from 🗳️ To Do to 🏃🏼‍♂️ In Progress in Elemental Jun 9, 2022
@ldevulder ldevulder self-assigned this Jun 9, 2022
@ldevulder
Copy link
Contributor Author

Playing with Dockerfile and elemental cli to see how it works, as I mainly used it through Rancher.

@ldevulder
Copy link
Contributor Author

@mudler for manual upgrade I think that executing something like elemental upgrade -d quay.io/costoolkit/os2:v0.1.0-amd64 is enough?

In a e2e test I think I can install the latest released version in a VM and upgrade it to the latest build one with this kind of command. Pretty much what is already done with the e2e test with Rancher, but manually :-)

@mudler
Copy link
Contributor

mudler commented Jun 10, 2022

in a e2e test scenario I think we could even push some releases here over github so we can pick them up somehow in the tests.
In c3os I played with this and ended up to pull off latest artifacts releases from github and giving them as input iso: https://github.com/c3os-io/c3os/blob/master/.github/workflows/image.yaml#L308 As test suites run over SSH, at the end is easy enough to hook em up from a different medium

@ldevulder
Copy link
Contributor Author

ldevulder commented Jun 10, 2022

https://github.com/c3os-io/c3os/blob/master/.github/workflows/image.yaml#L308

Interesting! I also upload/download for the current build but a handmade code to download the lastet build, sounds easier with robinraju/release-downloader. I will give it a try then!

@mudler mudler moved this from 🏃🏼‍♂️ In Progress to ✅ Done in Elemental Jun 21, 2022
@Itxaka Itxaka moved this from ✅ Done to Archive in Elemental Aug 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants