Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
alarm-handler
Manage
Activity
Members
Labels
Plan
Issues
1
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cs
ds
alarm-handler
Commits
6e347b2c
Commit
6e347b2c
authored
3 years ago
by
Graziano Scalamera
Browse files
Options
Downloads
Patches
Plain Diff
Add services
parent
d4011d14
No related branches found
No related tags found
1 merge request
!1
Test ci
Pipeline
#1583
failed
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+34
-12
34 additions, 12 deletions
.gitlab-ci.yml
with
34 additions
and
12 deletions
.gitlab-ci.yml
+
34
−
12
View file @
6e347b2c
image
:
name
:
artefact.skao.int/ska-tango-images-tango-cpp:9.3.5
#name: artefact.skao.int/ska-tango-images-tango-cpp:9.3.5
name
:
nexus.engageska-portugal.pt/ska-docker/tango-pytango
build
:
# The following variables are automatically passed down to the tangodb container
# as well as the tangodatabaseds container and available within each.
variables
:
MYSQL_ROOT_PASSWORD=secret
MYSQL_DATABASE=tango
MYSQL_USER=tango
MYSQL_PASSWORD=tango
services
:
-
name
:
nexus.engageska-portugal.pt/ska-docker/tango-db
alias
:
tangodb
-
name
:
nexus.engageska-portugal.pt/ska-docker/tango-cpp
alias
:
tangodatabaseds
entrypoint
:
[
"
/usr/local/bin/DataBaseds"
]
command
:
[
"
2"
-ORBendPoint giop
:
tcp
::
10000"
]
build_job
:
stage
:
build
# instead of calling g++ directly you can also use some build toolkit like make
# install the necessary build tools when needed
...
...
@@ -12,23 +29,28 @@ build:
-
mkdir build && cd build
-
cmake ..
-
make
artifacts
:
paths
:
-
build
# depending on your build setup it's most likely a good idea to cache outputs to reduce the build time
# cache:
# paths:
# - "*.o"
#artifacts:
# paths:
# - build/alarm-handler-srv
# # depending on your build setup it's most likely a good idea to cache outputs to reduce the build time
# cache:
# paths:
# - build/CMakeFiles/
configure_job
:
stage
:
configure
services
:
-
name
:
nexus.engageska-portugal.pt/ska-docker/tango-dsconfig
alias
:
tangodb
#configure:
# stage: configure
# run tests using the binary built before
#test:
#test
_job
:
# stage: test
# script:
# - ./runmytests.sh
# services:
# - name: artefact.skao.int/ska-tango-images-tango-databaseds:9.3.6
# - name: tangocs/tango-databaseds:latest
This diff is collapsed.
Click to expand it.
Preview
0%
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