[smc-discuss] [Git][smc/fonts-all][master] Update fonts common gitlab-ci.yml file
Balasankar "Balu" C
gitlab at mg.gitlab.com
Sat Oct 6 02:40:38 PDT 2018
Balasankar "Balu" C pushed to branch master at SMC / fonts-all
Commits:
f3834978 by Balasankar "Balu" C at 2018-10-06T09:40:31Z
Update fonts common gitlab-ci.yml file
- - - - -
1 changed file:
- fonts-gitlab-ci.yml
Changes:
=====================================
fonts-gitlab-ci.yml
=====================================
@@ -1,7 +1,7 @@
image: "debian:stretch"
variables:
- FONTS_REPO_URL: "https://gitlab.com/api/v4/projects/125326/trigger/pipeline"
+ WEBSITE_REPO_TRIGGER: "https://gitlab.com/api/v4/projects/125326/trigger/pipeline"
before_script:
- apt-get update -y
@@ -12,7 +12,7 @@ stages:
- test
- release
-fonts-build:
+build-branch:
stage: build
script:
- make ttf webfonts
@@ -22,25 +22,27 @@ fonts-build:
except:
- tags
-fonts-test:
+build-tag:
+ stage: build
+ script:
+ - make ttf webfonts
+ artifacts:
+ paths:
+ - build/
+ only:
+ - tags
+
+test:
stage: test
before_script:
- apt-get update -y
- apt-get install -y make libharfbuzz-bin
script:
- make test
- dependencies:
- - fonts-build
-fonts-release:
+release:
stage: release
script:
- - bash tools/artifacts.sh
- - curl --request POST --form "token=$CI_JOB_TOKEN" --form ref=master "${FONTS_REPO_URL}"
+ - curl --request POST --form "token=$CI_JOB_TOKEN" --form ref=master "${WEBSITE_REPO_TRIGGER}"
only:
- tags
- dependencies:
- - fonts-build
- artifacts:
- paths:
- - build/
View it on GitLab: https://gitlab.com/smc/fonts-all/commit/f383497879b695f1733afc50b2f06617e596f56c
--
View it on GitLab: https://gitlab.com/smc/fonts-all/commit/f383497879b695f1733afc50b2f06617e596f56c
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.smc.org.in/pipermail/discuss-smc.org.in/attachments/20181006/54769333/attachment-0002.html>
More information about the discuss
mailing list