Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
workspaces
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ssa
workspaces
Commits
7fb26e84
Commit
7fb26e84
authored
1 year ago
by
Charlotte Hausman
Browse files
Options
Downloads
Patches
Plain Diff
unit tests
parent
e7599cfc
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!1452
Merge 2.8.2 to main
,
!1396
changes for local builds
Pipeline
#10294
failed
1 year ago
Stage: pull-db
Stage: build
Stage: unit-test
Stage: .post
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+0
-6
0 additions, 6 deletions
.gitlab-ci.yml
services/capability/Dockerfile
+5
-0
5 additions, 0 deletions
services/capability/Dockerfile
services/workflow/Dockerfile
+6
-0
6 additions, 0 deletions
services/workflow/Dockerfile
with
11 additions
and
6 deletions
.gitlab-ci.yml
+
0
−
6
View file @
7fb26e84
...
...
@@ -241,8 +241,6 @@ unit test workflow:
variables
:
SERVICE_NAME
:
"
workflow"
PATH_PREFIX
:
"
services/"
CAPO_PROFILE
:
"
docker"
CAPO_PATH
:
"
."
extends
:
.unit-test
unit test capability
:
...
...
@@ -251,8 +249,6 @@ unit test capability:
variables
:
SERVICE_NAME
:
"
capability"
PATH_PREFIX
:
"
services/"
CAPO_PROFILE
:
"
docker"
CAPO_PATH
:
"
."
extends
:
.unit-test
unit test notification
:
...
...
@@ -261,8 +257,6 @@ unit test notification:
variables
:
SERVICE_NAME
:
"
notification"
PATH_PREFIX
:
"
services/"
CAPO_PROFILE
:
"
docker"
CAPO_PATH
:
"
."
extends
:
.unit-test
...
...
This diff is collapsed.
Click to expand it.
services/capability/Dockerfile
+
5
−
0
View file @
7fb26e84
...
...
@@ -23,6 +23,11 @@ RUN addgroup --gid 6000 vlapipe && \
RUN
addgroup
--gid
9233 almapipe
&&
\
useradd
--create-home
--comment
""
--gid
9233
--uid
9233 almapipe
# needed for unit tests
USER
vlapipe
WORKDIR
/home/ssa/capo
COPY
--chown=vlapipe:vlapipe docker.properties docker.properties
USER
root
WORKDIR
/code
RUN
apt update
-y
&&
apt
install
-y
curl nano
...
...
This diff is collapsed.
Click to expand it.
services/workflow/Dockerfile
+
6
−
0
View file @
7fb26e84
...
...
@@ -26,6 +26,12 @@ RUN addgroup --gid 6000 vlapipe && \
RUN
addgroup
--gid
9233 almapipe
&&
\
useradd
--create-home
--comment
""
--gid
9233
--uid
9233 almapipe
# needed for unit tests
USER
vlapipe
WORKDIR
/home/ssa/capo
COPY
--chown=vlapipe:vlapipe docker.properties docker.properties
USER
root
WORKDIR
/code/
RUN
chown
vlapipe
.
&&
chgrp
vlapipe .
...
...
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