Skip to content
Snippets Groups Projects
Commit 6e347b2c authored by Graziano Scalamera's avatar Graziano Scalamera
Browse files

Add services

parent d4011d14
No related branches found
No related tags found
1 merge request!1Test ci
Pipeline #1583 failed
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
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment