Docker
1
Вклад в тег
it_unit_test:
stage: test
image: "$build_img"
dependencies:
- build
services:
- name: "$pgsql_img"
alias: db
script:
- docker ps || echo $?
- ping -c 1 db || echo $?
- mvn test -P intTests
tags:
- docker-only
$ ping -c 1 db || echo $?
/bin/bash: line 93: docker: command not found
PING db (XXXXXX) 56(84) bytes of data.
64 bytes from XXXXX (XXXXX): icmp_seq=1 ttl=64 time=0.192 ms