Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Simox
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Florian Leander Singer
Simox
Commits
1cc6ad6b
Commit
1cc6ad6b
authored
1 year ago
by
Rainer Kartmann
Browse files
Options
Downloads
Patches
Plain Diff
Name image latest-bionic, add post-deploy-test
parent
14ba265d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+43
-1
43 additions, 1 deletion
.gitlab-ci.yml
docker/bionic
+1
-1
1 addition, 1 deletion
docker/bionic
with
44 additions
and
2 deletions
.gitlab-ci.yml
+
43
−
1
View file @
1cc6ad6b
stages
:
-
build-and-test
-
deploy
-
post-deploy-test
-
downstream
...
...
@@ -108,7 +109,7 @@ docker-bionic:
-
/kaniko/executor
--context "${CI_PROJECT_DIR}"
--dockerfile "${CI_PROJECT_DIR}/docker/bionic"
--destination "${CI_REGISTRY_IMAGE}:latest"
--destination "${CI_REGISTRY_IMAGE}:latest
-bionic
"
# rules:
# - if: $CI_COMMIT_BRANCH == "master"
...
...
@@ -126,3 +127,44 @@ armarx-core:
rules
:
-
if
:
$CI_COMMIT_BRANCH == "master"
.test-docker-image-common
:
before_script
:
-
source ~/.bashrc
-
source /axii/scripts/install_axii.sh
script
:
-
echo "ArmarX Workspace = '$ARMARX_WORKSPACE'"
-
printenv
-
axii workspace activate workspace
# No effect
-
echo "ArmarX Workspace = '$ARMARX_WORKSPACE'"
-
printenv
-
export ARMARX_WORKSPACE="/workspace"
-
echo "ArmarX Workspace = '$ARMARX_WORKSPACE'"
-
printenv
-
axii workspace create "$HOME/docker-test" docker-test
-
axii workspace activate docker-test
# No effect
-
echo "ArmarX Workspace = '$ARMARX_WORKSPACE'"
-
printenv
-
axii workspace list-modules
-
axii workspace list-modules --deps
-
axii workspace info
-
which RobotViewer
test-docker-image-ci
:
stage
:
post-deploy-test
needs
:
[
"
docker-bionic-ci-dev"
]
extends
:
.test-docker-image-common
image
:
git.h2t.iar.kit.edu:5050/sw/simox/simox:latest-bionic
rules
:
-
if
:
$CI_COMMIT_BRANCH == "ci"
This diff is collapsed.
Click to expand it.
docker/bionic
+
1
−
1
View file @
1cc6ad6b
...
...
@@ -16,7 +16,7 @@ ENV ARMARX_WORKSPACE=/workspace
# Setup repo in Docker.
WORKDIR $ARMARX_WORKSPACE/simox
COPY . .
COPY
--chmod=755
. .
# Use workspace config.
COPY docker/armarx-workspace.json $ARMARX_WORKSPACE/armarx-workspace.json
...
...
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