-
Notifications
You must be signed in to change notification settings - Fork 441
ci: add postmarketOS to integration testing #4297
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
0774bc2
c3575c0
6741b44
5640ace
9980f31
d4c6761
0dc5ecb
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -95,11 +95,14 @@ runs: | |
| - name: Install apk | ||
| # ubuntu-24.04 doesn't package apk, so fetch the official statically-linked binary from | ||
| # upstream so mkosi can use it to populate the postmarketOS tools tree. | ||
| # | ||
| # NOTE: apk is dropped into /usr/bin and not /usr/local/bin because later CI | ||
| # scripts (like .github/workflows/ci.yml) clean up /usr/local | ||
| shell: bash | ||
| run: | | ||
| sudo curl -fsSL -o /usr/local/bin/apk https://gitlab.alpinelinux.org/api/v4/projects/5/packages/generic/v3.0.6/x86_64/apk.static | ||
| echo 'f1489e05bace7d7dd0a687fcd38d50b585ac660af4231668b123649bef3718c4 /usr/local/bin/apk' | sha256sum --check | ||
| sudo chmod +x /usr/local/bin/apk | ||
| sudo curl -fsSL -o /usr/bin/apk https://gitlab.alpinelinux.org/api/v4/projects/5/packages/generic/v3.0.6/x86_64/apk.static | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You didn't introduce this, but I wonder whether we have a good way of good way of keeping this up to date.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The best idea I have is to use the gitlab API to get the latest release of apk-tools, get the checksum for it, then download/verify the apk.static binary for x86_64. the API is json, so it would be a handful of curl | jq lines. If that seems like an OK approach, I can take a shot at implementing it
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That would be lovely, but that's for a later PR.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ok I gave it a go over here: #4364 |
||
| echo 'f1489e05bace7d7dd0a687fcd38d50b585ac660af4231668b123649bef3718c4 /usr/bin/apk' | sha256sum --check | ||
| sudo chmod +x /usr/bin/apk | ||
|
|
||
| - name: Dependencies | ||
| shell: bash | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,6 +5,8 @@ Distribution=postmarketos | |
|
|
||
| [Content] | ||
| Packages= | ||
| grub | ||
| grub-efi | ||
| openssh-server | ||
| openssh-server-pam-systemd | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,6 +5,7 @@ Distribution=arch | |
|
|
||
| [Content] | ||
| Packages= | ||
| apk-tools | ||
| apt | ||
| debian-archive-keyring | ||
| createrepo_c | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,5 +5,6 @@ Distribution=opensuse | |
|
|
||
| [Content] | ||
| Packages= | ||
| apk-tools | ||
| dnf5 | ||
| dnf5-plugins | ||
Uh oh!
There was an error while loading. Please reload this page.