Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
CaosDB Python Integration Tests
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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
CaosDB Python Integration Tests
Commits
afd61700
Commit
afd61700
authored
4 years ago
by
Henrik tom Wörden
Browse files
Options
Downloads
Plain Diff
Merge branch 'f-fix-pipeline' into 'dev'
FIX: pipeline after repository migration See merge request
!1
parents
f8f296eb
32fff1a1
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!1
F fix pipeline
Pipeline
#5422
passed
4 years ago
Stage: setup
Stage: cert
Stage: style
Stage: test
Stage: deploy
Changes
2
Pipelines
46
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.docker/docker-compose.yml
+1
-1
1 addition, 1 deletion
.docker/docker-compose.yml
.gitlab-ci.yml
+6
-8
6 additions, 8 deletions
.gitlab-ci.yml
with
7 additions
and
9 deletions
.docker/docker-compose.yml
+
1
−
1
View file @
afd61700
...
...
@@ -7,7 +7,7 @@ services:
networks
:
-
caosnet
caosdb-server
:
image
:
"
$CI_REGISTRY
_INDISCALE
/caosdb/src/caosdb-deploy:$CAOSDB_TAG"
image
:
"
$CI_REGISTRY/caosdb/src/caosdb-deploy:$CAOSDB_TAG"
user
:
999:999
depends_on
:
-
sqldb
...
...
This diff is collapsed.
Click to expand it.
.gitlab-ci.yml
+
6
−
8
View file @
afd61700
...
...
@@ -19,8 +19,8 @@
# along with this program. If not, see <https://www.gnu.org/licenses/>.
variables
:
CI_REGISTRY_IMAGE
:
$CI_REGISTRY/caosdb/caosdb-pyinttest/testenv:latest
CI_REGISTRY_IMAGE_BASE
:
$CI_REGISTRY/caosdb/caosdb-pyinttest/base:latest
CI_REGISTRY_IMAGE
:
$CI_REGISTRY/caosdb/
src/
caosdb-pyinttest/testenv:latest
CI_REGISTRY_IMAGE_BASE
:
$CI_REGISTRY/caosdb/
src/
caosdb-pyinttest/base:latest
DEPLOY_REF
:
dev
stages
:
...
...
@@ -103,23 +103,22 @@ test:
-
echo $CI_COMMIT_REF_NAME
-
echo $CI_REGISTRY_IMAGE
-
docker login -u gitlab
+deploy-token-ci-pull -p $TOKEN_CI_PULL
$CI_REGISTRY
_INDISCALE
-
docker login -u gitlab
-ci-token -p $CI_JOB_TOKEN
$CI_REGISTRY
-
time docker load < /image-cache/caosdb-${F_BRANCH}.tar ||
true
-
if [[ "$CAOSDB_TAG" == "" ]]; then
if echo "$F_BRANCH" | grep -c "^f-" ; then
CAOSDB_TAG=${DEPLOY_REF}_F_${F_BRANCH}-latest;
docker pull $CI_REGISTRY
_INDISCALE
/caosdb/src/caosdb-deploy:$CAOSDB_TAG || CAOSDB_TAG=${DEPLOY_REF}-latest ;
docker pull $CI_REGISTRY/caosdb/src/caosdb-deploy:$CAOSDB_TAG || CAOSDB_TAG=${DEPLOY_REF}-latest ;
else
CAOSDB_TAG=${DEPLOY_REF}-latest;
fi;
fi
-
docker pull $CI_REGISTRY
_INDISCALE
/caosdb/src/caosdb-deploy:$CAOSDB_TAG || CAOSDB_TAG=dev-latest ;
-
docker pull $CI_REGISTRY/caosdb/src/caosdb-deploy:$CAOSDB_TAG || CAOSDB_TAG=dev-latest ;
-
echo $CAOSDB_TAG
-
time docker load < /image-cache/caosdb-pyint-testenv-${CI_COMMIT_REF_NAME}.tar ||
true
-
time docker load < /image-cache/mariadb-${F_BRANCH}.tar ||
true
-
time docker load < /image-cache/caosdb-${F_BRANCH}.tar ||
true
-
docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
-
docker pull $CI_REGISTRY_IMAGE
-
cd .docker
# here the server and the mysql backend docker are being started
...
...
@@ -151,6 +150,7 @@ build-testenv:
tags
:
[
cached-dind
]
image
:
docker:19.03
stage
:
setup
timeout
:
2h
needs
:
[]
script
:
-
df -h
...
...
@@ -217,7 +217,5 @@ store-version:
only
:
-
dev
-
master
# TODO remove
-
f-versions
-
web
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