[citemplates/abderrahim/repo-artifact] put the whole repo in the artifacts
- From: Abderrahim Kitouni <akitouni src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [citemplates/abderrahim/repo-artifact] put the whole repo in the artifacts
- Date: Sun, 21 Jul 2019 09:23:28 +0000 (UTC)
commit 6fd8b3431652cc73880eeaa0b8d02728f7b2d553
Author: Abderrahim Kitouni <akitouni gnome org>
Date: Sun Jul 21 10:22:38 2019 +0100
put the whole repo in the artifacts
the bundle is now generated in the review job
flatpak/flatpak_ci_initiative.yml | 13 +++----------
1 file changed, 3 insertions(+), 10 deletions(-)
---
diff --git a/flatpak/flatpak_ci_initiative.yml b/flatpak/flatpak_ci_initiative.yml
index 65743a9..834a829 100644
--- a/flatpak/flatpak_ci_initiative.yml
+++ b/flatpak/flatpak_ci_initiative.yml
@@ -19,12 +19,10 @@
dbus-run-session
meson test -C _build --no-stdsplit --print-errorlogs ${TEST_RUN_ARGS}
- # Generate a Flatpak bundle
- - flatpak build-bundle repo ${BUNDLE} --runtime-repo=${RUNTIME_REPO} ${APP_ID} ${BRANCH}
artifacts:
when: 'always'
paths:
- - "${BUNDLE}"
+ - 'repo/'
- '_build/meson-logs/meson-log.txt'
- '_build/meson-logs/testlog.txt'
expire_in: 2 days
@@ -37,7 +35,8 @@
.review:
stage: 'deploy'
script:
- - echo "Generating flatpak deployment"
+ # Generate a Flatpak bundle
+ - flatpak build-bundle repo ${BUNDLE} --runtime-repo=${RUNTIME_REPO} ${APP_ID} ${BRANCH}
artifacts:
paths:
- "${BUNDLE}"
@@ -74,12 +73,6 @@
image: 'registry.gitlab.gnome.org/gnome/gnome-runtime-images/flat-manager-client'
stage: 'deploy'
script:
- - ostree init --repo repo --mode archive
- - |
- for BUNDLE in ${BUNDLES}; do
- flatpak build-import-bundle repo ${BUNDLE}
- done
-
- BUILD_ID=$(flat-manager-client create ${FLAT_MANAGER_URL} ${FLATPAK_REPO})
- flat-manager-client push --commit --publish --wait ${BUILD_ID} repo/ || result=$?
- flat-manager-client purge ${BUILD_ID}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]