Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-cppinttest
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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-cppinttest
Commits
6d897114
Verified
Commit
6d897114
authored
3 years ago
by
Timm Fitschen
Browse files
Options
Downloads
Patches
Plain Diff
WIP: pipeline
parent
e81c68bb
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#8434
failed
3 years ago
Stage: info
Stage: setup
Stage: build
Stage: test
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.docker/Dockerfile
+9
-3
9 additions, 3 deletions
.docker/Dockerfile
.docker/tester.yml
+0
-3
0 additions, 3 deletions
.docker/tester.yml
.gitlab-ci.yml
+0
-6
0 additions, 6 deletions
.gitlab-ci.yml
with
9 additions
and
12 deletions
.docker/Dockerfile
+
9
−
3
View file @
6d897114
ARG
CPPLIB_REGISTRY_IMAGE
ARG
CPPLIB_REGISTRY_IMAGE
ARG
CPPLIB_VERSION
FROM
$CPPLIB_REGISTRY_IMAGE
FROM
$CPPLIB_REGISTRY_IMAGE
COPY
.docker/wait-for-it.sh /wait-for-it.sh
COPY
.docker/wait-for-it.sh /wait-for-it.sh
...
@@ -17,6 +18,11 @@ RUN rm -rf .git
...
@@ -17,6 +18,11 @@ RUN rm -rf .git
RUN
apt-get
install
-y
openjdk-11-jdk-headless
RUN
apt-get
install
-y
openjdk-11-jdk-headless
CMD
ls -la && cd build/ && /wait-for-it.sh caosdb-server:10443 -t 500 -- \
# build and run tests
# ... and run tests
CMD
ls -la && \
cmake .. && cmake --build . && ctest
mkdir build && \
cd build && \
/wait-for-it.sh caosdb-server:10443 -t 500 -- \
cmake -D CMAKE_PREFIX_PATH=/usr/local/lib/libcaosdb-${CPPLIB_VERSION} .. && \
cmake --build . && \
ctest
This diff is collapsed.
Click to expand it.
.docker/tester.yml
+
0
−
3
View file @
6d897114
...
@@ -5,9 +5,6 @@ services:
...
@@ -5,9 +5,6 @@ services:
networks
:
networks
:
-
docker_caosnet
-
docker_caosnet
volumes
:
volumes
:
-
type
:
bind
source
:
../build
target
:
/caosdb-cppinttest/build
-
type
:
bind
-
type
:
bind
source
:
./cert
source
:
./cert
target
:
/cert
target
:
/cert
...
...
This diff is collapsed.
Click to expand it.
.gitlab-ci.yml
+
0
−
6
View file @
6d897114
...
@@ -116,10 +116,6 @@ build-test:
...
@@ -116,10 +116,6 @@ build-test:
-
cd build
-
cd build
-
cmake -D CMAKE_PREFIX_PATH=/usr/local/lib/libcaosdb-${CPPLIB_VERSION} ..
-
cmake -D CMAKE_PREFIX_PATH=/usr/local/lib/libcaosdb-${CPPLIB_VERSION} ..
-
cmake --build .
-
cmake --build .
artifacts
:
paths
:
-
build/
expire_in
:
1 week
test
:
test
:
...
@@ -134,8 +130,6 @@ test:
...
@@ -134,8 +130,6 @@ test:
stage
:
test
stage
:
test
image
:
$CI_REGISTRY_IMAGE_BASE
image
:
$CI_REGISTRY_IMAGE_BASE
needs
:
needs
:
-
job
:
build-test
artifacts
:
true
-
job
:
cert
-
job
:
cert
artifacts
:
true
artifacts
:
true
script
:
script
:
...
...
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