initial asahi-cosmic setup
Some checks failed
Build containers / Build and push image (asahi-cosmic, 43) (push) Failing after 2s
Some checks failed
Build containers / Build and push image (asahi-cosmic, 43) (push) Failing after 2s
This commit is contained in:
@@ -15,12 +15,12 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
image: [base]
|
image: [asahi-cosmic]
|
||||||
version: [43,44] #Build current stable,next stable/rawhide (if not branched)
|
version: [43] #Build current stable,next stable/rawhide (if not branched)
|
||||||
|
|
||||||
container:
|
container:
|
||||||
image: "quay.io/fedora-ostree-desktops/buildroot:43"
|
image: "quay.io/fedora-ostree-desktops/buildroot:43"
|
||||||
options: "--security-opt apparmor=unconfined --privileged --user 0:0 --device=/dev/kvm --device=/dev/fuse --volume /:/run/host:rw"
|
options: "--security-opt apparmor=unconfined --privileged --user 0:0 --device=/dev/kvm --device=/dev/fuse --volume /:/run/host:rw --arch arm64"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ echo "Composing ${VERSION}.${buildid} ..."
|
|||||||
|
|
||||||
# repos import
|
# repos import
|
||||||
cp images/shared/*.repo "${IMAGE_DIR}"
|
cp images/shared/*.repo "${IMAGE_DIR}"
|
||||||
cp "${IMAGE_DIR}"/repos/*.repo "${IMAGE_DIR}"
|
cp "${IMAGE_DIR}"/{$IMAGE}/repos/*.repo "${IMAGE_DIR}"
|
||||||
|
|
||||||
# Ensure manifest has correct ref and releasever
|
# Ensure manifest has correct ref and releasever
|
||||||
sed -i '/^ref:/d' "$MANIFEST"
|
sed -i '/^ref:/d' "$MANIFEST"
|
||||||
@@ -54,7 +54,7 @@ sed -i "1i releasever: ${VERSION}" "$MANIFEST"
|
|||||||
sed -i "1i ref: ${REF}" "$MANIFEST"
|
sed -i "1i ref: ${REF}" "$MANIFEST"
|
||||||
|
|
||||||
#Run a optional per image script to do image specific things
|
#Run a optional per image script to do image specific things
|
||||||
POSTPROCESS="${IMAGE_DIR}/postprocess.sh"
|
POSTPROCESS="${IMAGE_DIR}/${IMAGE}"/postprocess.sh"
|
||||||
if [[ -x "${POSTPROCESS}" ]]; then
|
if [[ -x "${POSTPROCESS}" ]]; then
|
||||||
echo "Running postprocess script: ${POSTPROCESS}"
|
echo "Running postprocess script: ${POSTPROCESS}"
|
||||||
"${POSTPROCESS}"
|
"${POSTPROCESS}"
|
||||||
|
|||||||
Reference in New Issue
Block a user