[gnome-build-meta/abderrahim/flatmgr-optional] .gitlab-ci: make ppc64le optional again
- From: Abderrahim Kitouni <akitouni src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-build-meta/abderrahim/flatmgr-optional] .gitlab-ci: make ppc64le optional again
- Date: Sun, 29 Nov 2020 19:00:37 +0000 (UTC)
commit 27145acc4eba2826b921a63274ae55ad14d19780
Author: Abderrahim Kitouni <akitouni gnome org>
Date: Sun Nov 29 20:00:00 2020 +0100
.gitlab-ci: make ppc64le optional again
.gitlab-ci.yml | 3 ++-
.gitlab-ci/flat-manager.yml | 14 ++++++++++++++
2 files changed, 16 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d3ed7fd8..8f954955 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -196,7 +196,8 @@ generate-deploy-config:
cat >> flatpak-variables.yml << END
FLAT_MANAGER_SERVER: https://nightly.gnome.org/
FLAT_MANAGER_REPO: nightly
- SUPPORTED_ARCHES: x86_64 i686 aarch64 ppc64le
+ SUPPORTED_ARCHES: x86_64 i686 aarch64
+ OPTIONAL_ARCHES: ppc64le
COMMON_TARGETS: flatpak-runtimes.bst flatpak-platform-extensions.bst
TARGETS_x86_64: openh264-extension.bst:flatpak-repo.bst
END
diff --git a/.gitlab-ci/flat-manager.yml b/.gitlab-ci/flat-manager.yml
index 9a97a894..a854bfef 100644
--- a/.gitlab-ci/flat-manager.yml
+++ b/.gitlab-ci/flat-manager.yml
@@ -51,6 +51,20 @@ default:
done
done
+ - |
+ for ARCH in $OPTIONAL_ARCHES; do
+ TARGETS_ARCH=TARGETS_${ARCH}
+ TARGETS="$COMMON_TARGETS ${!TARGETS_ARCH}"
+
+ $BST -o arch $ARCH pull $TARGETS
+
+ for target in $TARGETS; do
+ $BST -o arch $ARCH checkout --hardlinks $target checkout-repo/ || continue
+ ostree pull-local --repo repo/ checkout-repo/
+ rm -rf checkout-repo/
+ done
+ done
+
- ostree fsck --repo repo/ --all
- flatpak build-update-repo --generate-static-deltas repo/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]