Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
templates
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Prada Sarasola, Miguel
templates
Commits
f1421673
Commit
f1421673
authored
Feb 11, 2019
by
Prada Sarasola, Miguel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add initial deployment steps
parent
43173a04
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
0 deletions
+26
-0
.gitlab-industrial-ci-kinetic-no-rosinstall.yml
.gitlab-industrial-ci-kinetic-no-rosinstall.yml
+13
-0
.gitlab-industrial-ci-kinetic-with-rosinstall.yml
.gitlab-industrial-ci-kinetic-with-rosinstall.yml
+13
-0
No files found.
.gitlab-industrial-ci-kinetic-no-rosinstall.yml
View file @
f1421673
...
...
@@ -35,6 +35,19 @@ industrial_ci_kinetic:
except
:
-
tags
industrial_ci_kinetic_deploy
:
extends
:
.industrial_ci_kinetic
variables
:
AFTER_SCRIPT
:
"
wget
-q
-O
-
https://git.code.tecnalia.com/tecnalia_robotics-public/gitlab_templates/raw/deploy-image-build/scripts/pre-deploy-cleanup.bash
|
bash"
after_script
:
-
cd $(mktemp -d)
-
wget https://git.code.tecnalia.com/tecnalia_robotics-public/gitlab_templates/raw/deploy-image-build/deploy/Dockerfile
-
wget https://git.code.tecnalia.com/tecnalia_robotics-public/gitlab_templates/raw/deploy-image-build/deploy/ros_entrypoint.bash
-
docker build -t ${CI_PROJECT_NAME}:${CI_COMMIT_REF_NAME} .
-
docker push ${CI_PROJECT_NAME}:${CI_COMMIT_REF_NAME}
only
:
-
tags
##########################################################
## Simple check for basic Python syntax errors; this is much less thorough than
## other options like pylint, but much faster and less strict
...
...
.gitlab-industrial-ci-kinetic-with-rosinstall.yml
View file @
f1421673
...
...
@@ -37,6 +37,19 @@ industrial_ci_kinetic:
except
:
-
tags
industrial_ci_kinetic_deploy
:
extends
:
.industrial_ci_kinetic
variables
:
AFTER_SCRIPT
:
"
wget
-q
-O
-
https://git.code.tecnalia.com/tecnalia_robotics-public/gitlab_templates/raw/deploy-image-build/scripts/pre-deploy-cleanup.bash
|
bash"
after_script
:
-
cd $(mktemp -d)
-
wget https://git.code.tecnalia.com/tecnalia_robotics-public/gitlab_templates/raw/deploy-image-build/deploy/Dockerfile
-
wget https://git.code.tecnalia.com/tecnalia_robotics-public/gitlab_templates/raw/deploy-image-build/deploy/ros_entrypoint.bash
-
docker build -t ${CI_PROJECT_NAME}:${CI_COMMIT_REF_NAME} .
-
docker push ${CI_PROJECT_NAME}:${CI_COMMIT_REF_NAME}
only
:
-
tags
##########################################################
## Simple check for basic Python syntax errors; this is much less thorough than
## other options like pylint, but much faster and less strict
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment