[help.gnome.org: 4/14] ci: Clone all deps under __pintail__
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [help.gnome.org: 4/14] ci: Clone all deps under __pintail__
- Date: Wed, 24 Nov 2021 07:36:41 +0000 (UTC)
commit 299dd27b5194b1dc066afa397a5da9d68282e420
Author: Emmanuele Bassi <ebassi gnome org>
Date: Tue Sep 28 14:52:14 2021 +0100
ci: Clone all deps under __pintail__
Avoids pintail trying to add the tests from the dependencies to the
build.
.gitlab-ci.yml | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c880d11..53be0f0 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,5 +1,6 @@
stages:
- build
+ - deploy
.build-fedora:
image: fedora:latest
@@ -26,16 +27,30 @@ help-web:
lxml
pyyaml
script:
+ - mkdir -p __pintail__ && cd __pintail__
- git clone --depth=1 https://github.com/projectmallard/pintail.git
- cd pintail && pip3 install --user -e . && cd ..
- git clone --depth=1 https://github.com/projectmallard/mallard-ducktype.git
- cd mallard-ducktype && pip3 install --user -e . && cd ..
- git clone --depth=1 https://github.com/projectmallard/pintail-itstool.git
- cd pintail-itstool && pip3 install --user -e . && cd ..
- - mkdir -p __pintail__
+ - cd ..
- pintail build -v --local
- mv __pintail__/build help-web
artifacts:
when: always
paths:
- help-web
+
+pages:
+ stage: deploy
+ needs: ['help-web']
+ script:
+ - mv help-web public
+ artifacts:
+ paths:
+ - public
+ only:
+ refs:
+ - master
+ - main
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]