Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
ippidb-web
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
iPPIDB
ippidb-web
Commits
bdb85e2b
Commit
bdb85e2b
authored
5 years ago
by
Hervé MENAGER
Browse files
Options
Downloads
Patches
Plain Diff
move building docs to test step
parent
4c57e484
No related branches found
No related tags found
1 merge request
!13
Master
Pipeline
#28379
failed
5 years ago
Stage: test
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+7
-17
7 additions, 17 deletions
.gitlab-ci.yml
with
7 additions
and
17 deletions
.gitlab-ci.yml
+
7
−
17
View file @
bdb85e2b
...
@@ -56,6 +56,12 @@ test-centos7:
...
@@ -56,6 +56,12 @@ test-centos7:
-
python3.6 manage.py test
-
python3.6 manage.py test
-
coverage run --source='.' manage.py test
-
coverage run --source='.' manage.py test
-
coverage report
-
coverage report
-
'
mkdir
-p
../public/$CI_COMMIT_REF_NAME'
-
pip install sphinx sphinx-argparse sphinxcontrib.bibtex sphinx_rtd_theme
-
cd docs
-
make html
-
'
mv
build/html/
../../public/$CI_COMMIT_REF_NAME'
deploy-webserver-targetcentric
:
deploy-webserver-targetcentric
:
image
:
python:3.5
image
:
python:3.5
stage
:
deploy
stage
:
deploy
...
@@ -121,20 +127,4 @@ deploy-webserver-production:
...
@@ -121,20 +127,4 @@ deploy-webserver-production:
-
ansible-playbook -vvv -i ./hosts_release deploy.yaml
-
ansible-playbook -vvv -i ./hosts_release deploy.yaml
--extra-vars "deploy_user_name=ippidb repo_api_token=JZS-4cH7bWkFkHa2rAVf marvinjs_apikey=$MARVINJS_APIKEY_release galaxy_base_url=$GALAXY_BASE_URL_release galaxy_apikey=$GALAXY_APIKEY_release galaxy_compoundproperties_workflowid=$GALAXY_COMPOUNDPROPERTIES_WORKFLOWID_release secret_key=$SECRET_KEY_release dbname=$DBNAME_release dbuser=$DBUSER_release dbpassword=$DBPASSWORD_release dbhost=$DBHOST_release dbport=$DBPORT_release http_port=$HTTP_PORT_release branch=$CI_COMMIT_REF_NAME gacode=$GACODE_release"
--extra-vars "deploy_user_name=ippidb repo_api_token=JZS-4cH7bWkFkHa2rAVf marvinjs_apikey=$MARVINJS_APIKEY_release galaxy_base_url=$GALAXY_BASE_URL_release galaxy_apikey=$GALAXY_APIKEY_release galaxy_compoundproperties_workflowid=$GALAXY_COMPOUNDPROPERTIES_WORKFLOWID_release secret_key=$SECRET_KEY_release dbname=$DBNAME_release dbuser=$DBUSER_release dbpassword=$DBPASSWORD_release dbhost=$DBHOST_release dbport=$DBPORT_release http_port=$HTTP_PORT_release branch=$CI_COMMIT_REF_NAME gacode=$GACODE_release"
only
:
only
:
-
release
-
release
pages
:
\ No newline at end of file
image
:
python:3.6
stage
:
deploy
script
:
-
'
mkdir
-p
public/$CI_COMMIT_REF_NAME'
-
pip install sphinx sphinx-argparse sphinxcontrib.bibtex sphinx_rtd_theme
-
pip install -r requirements-dev.txt
-
pip install .
-
cd doc
-
make html
-
'
mv
build/html/
../public/$CI_COMMIT_REF_NAME'
artifacts
:
paths
:
-
public
only
:
-
master
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment