Commit Graph

82 Commits

Author SHA1 Message Date
Itxaka
9f56a5578b Drop tests and cleanup earthly file (#447) 2023-07-14 12:46:18 +02:00
Mauro Morales
9fa3d9f799 Bump kairos version (#446)
Tests are green and did a manual QA and it's working properly. I do have
two questions which I put as comments

---------

Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
2023-07-10 18:10:33 +02:00
Itxaka
8b1c1b8270 🤖 Add concurrency to all jobs (#435) 2023-07-04 10:09:24 +02:00
Itxaka
01bea49185 🤖 Build only non framework flavors (#432) 2023-07-03 21:19:38 +02:00
Itxaka
97fccf79f5 Bump to v2.2.0 (#399) 2023-06-14 16:53:12 +02:00
Dimitris Karakasilis
c633dbd7fa Use re-usable linting workflow (#376)
as part of https://github.com/kairos-io/kairos/issues/1234

---------

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-05-19 18:28:41 +03:00
renovate[bot]
6e9cc7a043 Update robinraju/release-downloader action to v1.8 (#373)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[robinraju/release-downloader](https://togithub.com/robinraju/release-downloader)
| action | minor | `v1.7` -> `v1.8` |

---

### Release Notes

<details>
<summary>robinraju/release-downloader</summary>

###
[`v1.8`](https://togithub.com/robinraju/release-downloader/releases/tag/v1.8):
Release Downloader v1.8

[Compare
Source](https://togithub.com/robinraju/release-downloader/compare/v1.7...v1.8)

##### What's Changed

- Add support to extract release archives - fixes
[#&#8203;612](https://togithub.com/robinraju/release-downloader/issues/612)
by [@&#8203;hegerdes](https://togithub.com/hegerdes) in
[https://github.com/robinraju/release-downloader/pull/613](https://togithub.com/robinraju/release-downloader/pull/613)
- Read booleans from input using `getBooleanInput` by
[@&#8203;robinraju](https://togithub.com/robinraju) in
[https://github.com/robinraju/release-downloader/pull/627](https://togithub.com/robinraju/release-downloader/pull/627)
- implement feature
[#&#8203;616](https://togithub.com/robinraju/release-downloader/issues/616)
by [@&#8203;vcup](https://togithub.com/vcup) in
[https://github.com/robinraju/release-downloader/pull/628](https://togithub.com/robinraju/release-downloader/pull/628)

##### Dependency Updates

- Bump json5 from 1.0.1 to 1.0.2 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/robinraju/release-downloader/pull/586](https://togithub.com/robinraju/release-downloader/pull/586)
- Bump [@&#8203;types/node](https://togithub.com/types/node) from
18.16.0 to 18.16.1 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/robinraju/release-downloader/pull/626](https://togithub.com/robinraju/release-downloader/pull/626)
- Bump
[@&#8203;typescript-eslint/parser](https://togithub.com/typescript-eslint/parser)
from 5.59.0 to 5.59.1 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/robinraju/release-downloader/pull/625](https://togithub.com/robinraju/release-downloader/pull/625)
- Bump
[@&#8203;typescript-eslint/parser](https://togithub.com/typescript-eslint/parser)
from 5.59.1 to 5.59.2 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/robinraju/release-downloader/pull/631](https://togithub.com/robinraju/release-downloader/pull/631)
- Bump nock from 13.3.0 to 13.3.1 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/robinraju/release-downloader/pull/630](https://togithub.com/robinraju/release-downloader/pull/630)
- Bump [@&#8203;types/node](https://togithub.com/types/node) from
18.16.1 to 18.16.3 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/robinraju/release-downloader/pull/629](https://togithub.com/robinraju/release-downloader/pull/629)

##### New Contributors

- [@&#8203;hegerdes](https://togithub.com/hegerdes) made their first
contribution in
[https://github.com/robinraju/release-downloader/pull/613](https://togithub.com/robinraju/release-downloader/pull/613)
- [@&#8203;vcup](https://togithub.com/vcup) made their first
contribution in
[https://github.com/robinraju/release-downloader/pull/628](https://togithub.com/robinraju/release-downloader/pull/628)

**Full Changelog**:
https://github.com/robinraju/release-downloader/compare/v1.7...v1.8

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/kairos-io/provider-kairos).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS43MS4wIiwidXBkYXRlZEluVmVyIjoiMzUuNzEuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-17 11:37:19 +03:00
Dimitris Karakasilis
99b8b7c53c 1233-Rework tests (#306)
Fixes [#1233](https://github.com/kairos-io/kairos/issues/1233)

---------

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-05-04 19:53:20 +03:00
Ettore Di Giacinto
fc50be7f08 🤖 Update k3s PR message
Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
2023-04-20 17:41:21 +02:00
Ettore Di Giacinto
494f9af482 🤖 Use different branch for PR workflow
Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
2023-04-20 17:40:57 +02:00
Mauro Morales
b6a07cc2b6 🤖 Lint (#348)
To anyone with the rights to change the config, can you make the lint
job a requirement before merging?

Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
2023-04-20 09:20:37 +03:00
Itxaka
f20b7fe716 🤖 Release arm64 generic artifacts (#346)
Builds and releases oci artifacts and ISOs for release pipelines.

Also reworks a bit the master pipeline for arm generic to push to the
master tag instead of latest.

Also generates sboms as part of both pipelines

Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-04-18 11:53:36 +02:00
Itxaka
2cdd416a4e 🤖 Fix arm iso build
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-04-17 20:49:27 +02:00
Itxaka
a9c4bf3e33 🤖 Push generic arm64 artifacts on master merge (#344)
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-04-17 18:00:54 +02:00
Mauro Morales
0e59d4aae6 🐛 Upload img image to its own repo (#332)
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
2023-04-14 00:07:42 +02:00
renovate[bot]
8cec49856a Update peter-evans/create-pull-request action to v5 (#314)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[peter-evans/create-pull-request](https://togithub.com/peter-evans/create-pull-request)
| action | major | `v4` -> `v5` |

---

### Release Notes

<details>
<summary>peter-evans/create-pull-request</summary>

###
[`v5`](https://togithub.com/peter-evans/create-pull-request/compare/v4...v5)

[Compare
Source](https://togithub.com/peter-evans/create-pull-request/compare/v4...v5)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/kairos-io/provider-kairos).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4zMi4yIiwidXBkYXRlZEluVmVyIjoiMzUuMzIuMiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-11 18:58:43 +02:00
Itxaka
013ad0b444 Use $IMAGE to also push the image (#326)
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-04-11 18:47:44 +02:00
Mauro Morales
151681e664 🤖 Add version to goreleaser (#315)
Pass the version to goreleaser, so the artifact that can be dowloaded
includes it

relates to kairos-io/kairos#1249

---------

Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
2023-04-05 13:43:13 +02:00
renovate[bot]
6fbde9996c Update actions/setup-go action to v4 (#282)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [actions/setup-go](https://togithub.com/actions/setup-go) | action |
major | `v3` -> `v4` |

---

### Release Notes

<details>
<summary>actions/setup-go</summary>

### [`v4`](https://togithub.com/actions/setup-go/compare/v3...v4)

[Compare Source](https://togithub.com/actions/setup-go/compare/v3...v4)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/kairos-io/provider-kairos).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS44LjAiLCJ1cGRhdGVkSW5WZXIiOiIzNS44LjAifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-04 12:20:49 +02:00
Itxaka
f7d5d81013 ⬆️ Bump deps to use kairos-sdk (#299)
First time bumping the provider, be gentle

Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>

---------

Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-03-31 14:31:54 +02:00
Mauro Morales
1f51af4147 🤖 Use flavor.json to build matrix (#301)
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
2023-03-31 11:50:45 +02:00
Mauro Morales
2dcc436ce2 🤖 Push arm images to different repo (#269)
relates to kairos-io/kairos#770

Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
Co-authored-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-03-28 11:08:59 +03:00
Dimitris Karakasilis
20659aea53 Use latest when building from main (#271)
like we do in the `image.yaml` pipeline too

Fixes: https://github.com/kairos-io/kairos/issues/1005 (hopefully)

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-03-07 11:01:02 +02:00
Dimitris Karakasilis
7b5886e09f Fix cosign errors with image digest (#260)
Part of https://github.com/kairos-io/kairos/issues/1005

---------

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-03-06 16:36:02 +01:00
Ettore Di Giacinto
59e97162fc 🤖 Add SBOM artifacts to pipelines (#256)
Closes: https://github.com/kairos-io/kairos/issues/51

---------

Signed-off-by: mudler <mudler@c3os.io>
2023-03-02 13:50:32 +01:00
Dimitris Karakasilis
110f6a8a4f 🤖 Fix cosign signing (#257)
after bumping to v2:

https://blog.sigstore.dev/cosign-2-0-released/

Signed-off-by: Dimitris Karakasilis <dimitris@spectrocloud.com>
Co-authored-by: Ettore Di Giacinto <ettore@spectrocloud.com>
2023-03-02 12:34:08 +01:00
Ettore Di Giacinto
535285423f 🐛 Remove debian specific block (#250)
We didn't called `apt-get update` before installing nohang, so it wasn't
found in the repo. I've also added the `debian` flavor to the build job
of the CI so we can spot those issues before.

Fixes: https://github.com/kairos-io/kairos/issues/970

---------

Signed-off-by: mudler <mudler@c3os.io>
2023-02-27 11:31:58 +01:00
Mauro Morales
efbbe3cbe1 🐧 Add rocky linux to matrix (#241)
Relates to https://github.com/kairos-io/kairos/issues/766

---------

Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
2023-02-21 09:34:23 +00:00
Mauro Morales
7335e45b29 🔧 Add yamllint and apply fixes (#240)
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
2023-02-21 08:12:03 +01:00
Itxaka
fc894dfd5d ⚠️ Add tumbleweed flavor (#193)
Based on the new tumbleweed flavor for kairos

Blocked until https://github.com/kairos-io/kairos/pull/710 gets in and
pushes the new flavor

- [x] copy all artifacts from quay.io/kairos/kairos-opensuse to
quay.io/kairos/kairos-opensuse-leap
- [x] copy all signatures from quay.io/kairos/kairos-opensuse to
quay.io/kairos/kairos-opensuse-leap
- [x] copy all artifacts from quay.io/kairos/kairos-opensuse-arm-rpi to
quay.io/kairos/kairos-opensuse-leap-arm-rpi
- [x] copy all artifacts from quay.io/kairos/kairos-opensuse-arm-rpi to
quay.io/kairos/kairos-opensuse-leap-arm-rpi

Signed-off-by: Itxaka <itxaka@spectrocloud.com>

Signed-off-by: Itxaka <itxaka@spectrocloud.com>
Co-authored-by: Itxaka <itxaka@spectrocloud.com>
2023-01-26 21:21:15 +01:00
renovate[bot]
5bceff838e Update robinraju/release-downloader action to v1.7 (#138)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[robinraju/release-downloader](https://togithub.com/robinraju/release-downloader)
| action | minor | `v1.6` -> `v1.7` |

---

### Release Notes

<details>
<summary>robinraju/release-downloader</summary>

###
[`v1.7`](https://togithub.com/robinraju/release-downloader/releases/tag/v1.7):
Release Downloader v1.7

[Compare
Source](https://togithub.com/robinraju/release-downloader/compare/v1.6...v1.7)

#### What's Changed

- feat: get release by api id by
[@&#8203;kevcube](https://togithub.com/kevcube) in
[https://github.com/robinraju/release-downloader/pull/563](https://togithub.com/robinraju/release-downloader/pull/563)
- fix reading releaseId from inputs by
[@&#8203;robinraju](https://togithub.com/robinraju) in
[https://github.com/robinraju/release-downloader/pull/564](https://togithub.com/robinraju/release-downloader/pull/564)

##### Dependency Updates

- Bump qs from 6.10.2 to 6.11.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/robinraju/release-downloader/pull/568](https://togithub.com/robinraju/release-downloader/pull/568)
- Dependabot updates by
[@&#8203;robinraju](https://togithub.com/robinraju) in
[https://github.com/robinraju/release-downloader/pull/569](https://togithub.com/robinraju/release-downloader/pull/569)
- Dependency updates by
[@&#8203;robinraju](https://togithub.com/robinraju) in
[https://github.com/robinraju/release-downloader/pull/578](https://togithub.com/robinraju/release-downloader/pull/578)

#### New Contributors

- [@&#8203;kevcube](https://togithub.com/kevcube) made their first
contribution in
[https://github.com/robinraju/release-downloader/pull/563](https://togithub.com/robinraju/release-downloader/pull/563)

**Full Changelog**:
https://github.com/robinraju/release-downloader/compare/v1.6...v1.7

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/kairos-io/provider-kairos).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC42Ni4wIiwidXBkYXRlZEluVmVyIjoiMzQuNzMuMyJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-28 11:42:54 +01:00
Mauro Morales
dbc64e9d49 Test goreleaser/upgrade to go1.18 (#155)
- upgrade go version to 1.18 to fix
https://github.com/kairos-io/kairos/issues/589
- add a mechanism to test gorelease by prefixing your branch with
`test-goreleaser/`

Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
2022-12-27 23:09:41 +01:00
mudler
ac1c662877 🤖 Fix versions bump to be uniques
Use signoff

Signed-off-by: mudler <mudler@c3os.io>
2022-12-14 17:04:32 +01:00
renovate[bot]
211b1a2ed4 Update goreleaser/goreleaser-action action to v4 2022-12-13 13:50:22 +00:00
Ettore Di Giacinto
b5b1126152 🤖 Fixup workflow
Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
2022-12-03 22:49:22 +00:00
Ettore Di Giacinto
52c7568ecc 🤖 Drop flaky workflows jobs
Drops qrcode test (needs to be optimized), and drops build-vm jobs as are redundant( we run similar tests in kairos )
Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
2022-12-03 22:48:13 +00:00
Ettore Di Giacinto
8f7f20622c 🤖 Add core image bump pipeline
Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
2022-12-03 16:58:08 +00:00
Ettore Di Giacinto
f06ed9cb0c 🤖 Do not run tests on both pr and branches
Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
2022-11-28 15:45:02 +00:00
mudler
3eccf55e23 🤖 Split matrix
Signed-off-by: mudler <mudler@mocaccino.org>
Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
2022-11-28 14:37:08 +00:00
Ettore Di Giacinto
73e645a8b1 🤖 Adapt test pipeline 2022-11-19 17:25:40 +01:00
Ettore Di Giacinto
626431fd2e 🌱 Keep build, stop release
Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
2022-11-18 14:29:04 +00:00
Dimitris Karakasilis
c65b310ba6 Don't build arm image files
because they exceed Github Action artifact limits

Fixes https://github.com/kairos-io/kairos/pull/450

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2022-11-18 15:25:42 +02:00
Ettore Di Giacinto
0c463a28de Merge pull request #70 from kairos-io/renovate/goreleaser-goreleaser-action-3.x
Update goreleaser/goreleaser-action action to v3
2022-10-31 09:26:33 +01:00
renovate[bot]
287a73ee22 Update goreleaser/goreleaser-action action to v3 2022-10-31 08:25:11 +00:00
Ettore Di Giacinto
f30c87622b Merge pull request #68 from kairos-io/renovate/docker-login-action-2.x
Update docker/login-action action to v2
2022-10-31 09:25:11 +01:00
Ettore Di Giacinto
15cea9d1c5 Merge pull request #65 from kairos-io/renovate/actions-setup-go-3.x
Update actions/setup-go action to v3
2022-10-31 09:24:59 +01:00
Ettore Di Giacinto
9b89306781 Merge pull request #66 from kairos-io/renovate/actions-upload-artifact-3.x
Update actions/upload-artifact action to v3
2022-10-31 09:24:49 +01:00
renovate[bot]
d8ff6ae38d Update docker/login-action action to v2 2022-10-30 00:01:16 +00:00
renovate[bot]
82cab83b72 Update codecov/codecov-action action to v3 2022-10-30 00:01:12 +00:00
renovate[bot]
c97cc10506 Update actions/upload-artifact action to v3 2022-10-29 21:49:06 +00:00