Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-webui
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
caosdb-webui
Commits
3b2ae700
Commit
3b2ae700
authored
Jul 15, 2019
by
Henrik tom Wörden
Browse files
Options
Downloads
Patches
Plain Diff
ci
parent
954a5ab5
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+17
-0
17 additions, 0 deletions
.gitlab-ci.yml
test/docker/Dockerfile
+3
-0
3 additions, 0 deletions
test/docker/Dockerfile
with
20 additions
and
0 deletions
.gitlab-ci.yml
+
17
−
0
View file @
3b2ae700
...
@@ -22,6 +22,7 @@
...
@@ -22,6 +22,7 @@
#
#
variables
:
variables
:
CI_REGISTRY_IMAGE
:
$CI_REGISTRY/caosdb-pylib-testenv
# When using dind service we need to instruct docker, to talk with the
# When using dind service we need to instruct docker, to talk with the
# daemon started inside of the service. The daemon is available with
# daemon started inside of the service. The daemon is available with
# a network connection instead of the default /var/run/docker.sock socket.
# a network connection instead of the default /var/run/docker.sock socket.
...
@@ -84,3 +85,19 @@ trigger_build:
...
@@ -84,3 +85,19 @@ trigger_build:
-F token=$TOKEN
-F token=$TOKEN
-F "variables[WEBUI]=$CI_COMMIT_REF_NAME"
-F "variables[WEBUI]=$CI_COMMIT_REF_NAME"
-F ref=master https://gitlab.indiscale.com/api/v4/projects/14/trigger/pipeline
-F ref=master https://gitlab.indiscale.com/api/v4/projects/14/trigger/pipeline
build-test
:
stage
:
setup
script
:
-
echo $TRIGGERED_BY
-
echo $MYSQLBACKEND
-
REFTAG=$CI_COMMIT_REF_NAME
-
echo $PYLIB
-
cd test/docker
-
docker login -u testuser -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
# use here general latest or specific branch latest...
-
docker pull $CI_REGISTRY_IMAGE:latest ||
true
-
docker build
--cache-from $CI_REGISTRY_IMAGE:latest
-t $CI_REGISTRY_IMAGE:latest .
-
docker push $CI_REGISTRY_IMAGE:latest
This diff is collapsed.
Click to expand it.
test/docker/Dockerfile
0 → 100644
+
3
−
0
View file @
3b2ae700
FROM
debian:latest
RUN
apt-get update
&&
\
apt-get
install
firefox-esr pylint
-y
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