[gnome-build-meta/staging-3-30] .gitlab-ci.yml: run flatpak build-export on the runners rather than on gbm-builder
- From: Abderrahim Kitouni <akitouni src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-build-meta/staging-3-30] .gitlab-ci.yml: run flatpak build-export on the runners rather than on gbm-builder
- Date: Tue, 18 Sep 2018 11:44:03 +0000 (UTC)
commit 6318a0bb86f7a778aef928fbf3be328edc049017
Author: Abderrahim Kitouni <a kitouni gmail com>
Date: Tue Sep 18 12:36:54 2018 +0100
.gitlab-ci.yml: run flatpak build-export on the runners rather than on gbm-builder
.gitlab-ci.yml | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 53fe0c4..9cc8e69 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -102,14 +102,17 @@ before_script:
for runtime in platform platform-locale sdk sdk-debug sdk-docs sdk-locale; do
bst -o arch "${ARCH}" checkout --hardlinks "flatpak/${runtime}.bst" "runtimes/${runtime}"
+ flatpak build-export --arch="${ARCH}" --no-update-summary --files=files repo/ "runtime/${runtime}"
"${FLATPAK_BRANCH}"
done
+ - BRANCHES=$(find repo/refs/heads/ -type f | grep "${ARCH}/${FLATPAK_BRANCH}" | sed s,repo/refs/heads/,,)
+
# push the resulting runtimes to gbm.gnome.org
# FIXME: Only push from protected branches
- |
if [[ ${CI_COMMIT_REF_NAME} == "staging-3-30" ]]; then
- rsync -a runtimes/ gbm-builder.gnome.org:incoming/runtimes-${CI_JOB_ID}
- ssh gbm-builder.gnome.org flatpak-export/export-flatpak.sh ${ARCH} ${FLATPAK_BRANCH}
incoming/runtimes-${CI_JOB_ID}
+ rsync -a repo/ gbm-builder.gnome.org:incoming/repo-${CI_JOB_ID}
+ ssh gbm-builder.gnome.org flatpak-export/export-flatpak.sh incoming/runtimes-${CI_JOB_ID}
ssh gbm-builder.gnome.org rm -rf incoming/runtimes-${CI_JOB_ID}
fi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]