Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Yohan Jarosz
Testappreview
Commits
85557426
Verified
Commit
85557426
authored
Apr 07, 2020
by
Yohan Jarosz
🐶
Browse files
change name
parent
65b9e63d
Pipeline
#24607
passed with stages
in 13 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
85557426
...
...
@@ -14,7 +14,7 @@ Build for review:
script
:
-
'
echo
"project_id:
$CI_PROJECT_ID"
>
_config_review.yml'
-
'
echo
"project_namespace:
$CI_PROJECT_PATH"
>>
_config_review.yml'
-
'
echo
"mr_id:
$CI_MERGE_REQUEST_ID"
>>
_config_review.yml'
-
'
echo
"mr_id:
$CI_MERGE_REQUEST_
I
ID"
>>
_config_review.yml'
-
'
echo
"gitlab_host:
https://git-r3lab.uni.lu"
>>
_config_review.yml'
-
pwd
-
bundle exec jekyll build -d public --config "_config.yml,_config_review.yml"
...
...
@@ -33,10 +33,10 @@ Build for review:
Publish review
:
stage
:
review
script
:
-
rsync -av --delete public /srv/nginx/pages/$CI_PROJECT_ID/$CI_MERGE_REQUEST_ID
-
rsync -av --delete public /srv/nginx/pages/$CI_PROJECT_ID/$CI_MERGE_REQUEST_
I
ID
environment
:
name
:
review/$CI_BUILD_REF_NAME/$CI_PROJECT_PATH
url
:
http://$CI_MERGE_REQUEST_ID-$CI_PROJECT_ID.review.lcsb.uni.lu
url
:
http://$CI_MERGE_REQUEST_
I
ID-$CI_PROJECT_ID.review.lcsb.uni.lu
on_stop
:
"
Un-publish
review"
auto_stop_in
:
1 week
rules
:
...
...
@@ -47,7 +47,7 @@ Publish review:
Un-publish review
:
stage
:
review
script
:
-
rm -rf /srv/nginx/pages/$CI_PROJECT_ID/$CI_MERGE_REQUEST_ID
-
rm -rf /srv/nginx/pages/$CI_PROJECT_ID/$CI_MERGE_REQUEST_
I
ID
variables
:
GIT_STRATEGY
:
none
when
:
manual
...
...
README.md
View file @
85557426
# App-review setup with Jekyll
\ No newline at end of file
# App-review setup with Jekyll
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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