Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
clients
Cesium-grp
cesium-desktop
Commits
d6382263
Commit
d6382263
authored
Oct 31, 2018
by
Millicent Billette
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update .gitlab-ci.yml
parent
e9140f68
Pipeline
#3492
failed with stage
in 46 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
39 deletions
+13
-39
.gitlab-ci.yml
.gitlab-ci.yml
+13
-39
No files found.
.gitlab-ci.yml
View file @
d6382263
stages
:
-
github-sync
-
builds
buildWindows
:
stage
:
builds
variables
:
TAG
:
1.test.1
EXPECTED_ASSETS
:
cesium-desktop-1.test.1-windows-x64.exe
tags
:
-
shell
script
:
-
./release.sh 1.test.1
test
:
stage
:
github-sync
stage
:
builds
variables
:
GIT_STRATEGY
:
none
tags
:
...
...
@@ -10,7 +20,7 @@ test:
script
:
-
touch ceFichierNExistaitPasAvant
test2
:
stage
:
github-sync
stage
:
builds
image
:
jencryzthers/vboxinsidedocker
variables
:
GIT_STRATEGY
:
none
...
...
@@ -22,39 +32,3 @@ test2:
-
/sbin/vboxconfig
-
vboxheadless
push_to_github
:
stage
:
github-sync
variables
:
GIT_STRATEGY
:
none
tags
:
-
github
script
:
-
rm -rf ./*
-
rm -rf .git
-
git clone --mirror $CI_REPOSITORY_URL .
-
git remote add github $GITHUB_URL_AND_KEY
-
git config --global user.email "contact@duniter.org"
-
git config --global user.name "Duniter"
# Job would fail if we don't remove refs about pull requests
-
bash -c "cat packed-refs | grep -v 'refs/pull' > packed-refs-new; echo 'Removed pull refs.'"
-
mv packed-refs-new packed-refs
-
bash -c "git push --force --mirror github 2>&1 | grep -v duniter-gitlab; echo $?"
enforce_readme
:
stage
:
github-sync
variables
:
GIT_STRATEGY
:
none
tags
:
-
github
script
:
-
rm -rf ./*
-
rm -rf .git
-
git clone $GITHUB_URL_AND_KEY .
-
git config --global user.email "contact@duniter.org"
-
git config --global user.name "Duniter"
-
git checkout master
-
cat .github/github_disclaimer.md > README.md.new
-
cat README.md >> README.md.new
-
mv README.md.new README.md
-
git commit -am "Enforce github readme"
-
git push origin master
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment