Add Alpine v3.24 package target
This commit is contained in:
@@ -18,6 +18,8 @@ jobs:
|
|||||||
include:
|
include:
|
||||||
- alpine_version: "3.23"
|
- alpine_version: "3.23"
|
||||||
alpine_registry_branch: "v3.23"
|
alpine_registry_branch: "v3.23"
|
||||||
|
- alpine_version: "3.24"
|
||||||
|
alpine_registry_branch: "v3.24"
|
||||||
container:
|
container:
|
||||||
image: "alpine:${{ matrix.alpine_version }}"
|
image: "alpine:${{ matrix.alpine_version }}"
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ Alpine stable packaging for internal packages.
|
|||||||
|
|
||||||
```text
|
```text
|
||||||
https://code.factoring.digital/api/packages/public/alpine/v3.23/alpine-packages
|
https://code.factoring.digital/api/packages/public/alpine/v3.23/alpine-packages
|
||||||
|
https://code.factoring.digital/api/packages/public/alpine/v3.24/alpine-packages
|
||||||
```
|
```
|
||||||
|
|
||||||
## Available Packages
|
## Available Packages
|
||||||
@@ -24,11 +25,11 @@ curl -fsSLOJ https://code.factoring.digital/api/packages/public/alpine/key
|
|||||||
|
|
||||||
Keep the filename returned by Gitea. Alpine matches repository signatures by key filename, otherwise `apk update` reports `UNTRUSTED signature`.
|
Keep the filename returned by Gitea. Alpine matches repository signatures by key filename, otherwise `apk update` reports `UNTRUSTED signature`.
|
||||||
|
|
||||||
Add the stable package repository:
|
Add the stable package repository matching the Alpine branch on the node:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
printf '%s\n' \
|
printf '%s\n' \
|
||||||
'https://code.factoring.digital/api/packages/public/alpine/v3.23/alpine-packages' \
|
'https://code.factoring.digital/api/packages/public/alpine/v3.24/alpine-packages' \
|
||||||
>> /etc/apk/repositories
|
>> /etc/apk/repositories
|
||||||
|
|
||||||
apk update
|
apk update
|
||||||
@@ -38,7 +39,7 @@ If a forked or future registry is private, include a Gitea user and package toke
|
|||||||
repository URL:
|
repository URL:
|
||||||
|
|
||||||
```text
|
```text
|
||||||
https://<user>:<token>@code.factoring.digital/api/packages/public/alpine/v3.23/alpine-packages
|
https://<user>:<token>@code.factoring.digital/api/packages/public/alpine/v3.24/alpine-packages
|
||||||
```
|
```
|
||||||
|
|
||||||
## Contribution
|
## Contribution
|
||||||
@@ -201,9 +202,10 @@ Run `apk:checksum` after changing any file listed in `source=`.
|
|||||||
|
|
||||||
### Gitea Workflow
|
### Gitea Workflow
|
||||||
|
|
||||||
The workflow at `.gitea/workflows/build.yml` builds against `alpine:3.23` and
|
The workflow at `.gitea/workflows/build.yml` builds against each stable Alpine
|
||||||
publishes to registry branch `v3.23` on push or tag. It skips publishing for
|
target in its matrix and publishes to the matching registry branch, currently
|
||||||
pull request events.
|
`v3.23` and `v3.24`, on push or tag. It skips publishing for pull request
|
||||||
|
events.
|
||||||
|
|
||||||
Repository variables:
|
Repository variables:
|
||||||
|
|
||||||
|
|||||||
@@ -101,7 +101,7 @@ Install-test from a published Gitea Alpine repository:
|
|||||||
```sh
|
```sh
|
||||||
ALPINE_PACKAGE=greptimedb \
|
ALPINE_PACKAGE=greptimedb \
|
||||||
SKIP_BUILD=1 \
|
SKIP_BUILD=1 \
|
||||||
ALPINE_REPOSITORY_URL=https://code.factoring.digital/api/packages/public/alpine/v3.23/alpine-packages \
|
ALPINE_REPOSITORY_URL=https://code.factoring.digital/api/packages/public/alpine/v3.24/alpine-packages \
|
||||||
ALPINE_REPOSITORY_KEY_URL=https://code.factoring.digital/api/packages/public/alpine/key \
|
ALPINE_REPOSITORY_KEY_URL=https://code.factoring.digital/api/packages/public/alpine/key \
|
||||||
mise run apk:test-install
|
mise run apk:test-install
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user