Skip to content
Snippets Groups Projects
Commit b0e9ff17 authored by Frederic Danis's avatar Frederic Danis
Browse files

Use runtime from images.a.o to build app


Signed-off-by: default avatarFrédéric Danis <frederic.danis@collabora.com>
parent ee6ac123
No related branches found
No related tags found
1 merge request!2Use runtime from images.a.o to build app
Pipeline #122352 passed
......@@ -33,7 +33,7 @@ build-runtime:
- git clone --branch apertis/${APERTIS_RELEASE} --depth 1 ${FLATDEB_PROJECT_URL}
- apertis-flatdeb/run.py --suite=${APERTIS_RELEASE} --arch=amd64 base
- apertis-flatdeb/run.py --suite=${APERTIS_RELEASE} --arch=amd64 runtimes runtimes/org.apertis.demo.yaml
- cp -a ~/.cache/flatdeb _build/.
- mv ~/.cache/flatdeb _build/.
artifacts:
paths:
- _build/
......@@ -57,17 +57,13 @@ upload-runtime:
build-app:
variables:
GIT_STRATEGY: clone
REMOTE_URL: https://images.apertis.org/test/flatpak/runtime
stage: build app
script:
- apt update
- apt install -y binutils debootstrap debos flatpak ostree pigz python3 python3-debian python3-gi python3-yaml systemd-container time flatpak-builder
- git clone --branch apertis/${APERTIS_RELEASE} --depth 1 ${FLATDEB_PROJECT_URL}
- mkdir -p ~/.cache
- mv _build/* ~/.cache/.
- flatpak --user remote-add --no-gpg-verify flatdeb $HOME/.cache/flatdeb/ostree-repo/
- flatpak remotes
- flatpak remote-ls flatdeb
- apertis-flatdeb/run.py --suite=${APERTIS_RELEASE} --arch=amd64 app apps/org.apertis.demo.curl.yaml
- apertis-flatdeb/run.py --remote-url="${REMOTE_URL}" --suite=${APERTIS_RELEASE} --arch=amd64 app apps/org.apertis.demo.curl.yaml
- rm -rf _build/flatdeb
- mv ~/.cache/flatdeb _build/.
artifacts:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment