Read about our upcoming Code of Conduct on this issue

Commit 5a80f9ef authored by Georges Racinet's avatar Georges Racinet 🦑
Browse files

Heptapod CI: use our own registry

This way, we won't depend from Docker Hub rate limiting.
parent f7642c37def3
variables:
TARGET_HEPTAPOD_IMAGE: "testing"
HEPTAPOD_BASE_IMAGE: registry.heptapod.net/heptapod/omnibus-heptapod
stages:
- lint
......@@ -7,7 +8,8 @@ stages:
flake8:
stage: lint
image: octobus/ci-py3
# overkill, but should already be on all our runners
image: registry.heptapod.net/heptapod/ci-images/fixed-pydeps
script:
- flake8 tests conftest.py
rules:
......@@ -43,7 +45,7 @@ docker-inside:
stage: test-heptapod
extends:
- .rules:test-heptapod
image: octobus/heptapod:$TARGET_HEPTAPOD_IMAGE
image: $HEPTAPOD_BASE_IMAGE:$TARGET_HEPTAPOD_IMAGE
script:
- apt-get update
- apt-get -y install sudo
......@@ -74,7 +76,7 @@ docker-remote-0:
services:
# unfortunately variables are not expanded in service aliases
# so we need to duplicate
- name: octobus/heptapod:$TARGET_HEPTAPOD_IMAGE
- name: $HEPTAPOD_BASE_IMAGE:$TARGET_HEPTAPOD_IMAGE
alias: heptapod-0
- name: selenium/standalone-chrome
alias: selenium-0
......@@ -88,7 +90,7 @@ docker-remote-1:
services:
# unfortunately variables are not expanded in service aliases
# so we need to duplicate
- name: octobus/heptapod:$TARGET_HEPTAPOD_IMAGE
- name: $HEPTAPOD_BASE_IMAGE:$TARGET_HEPTAPOD_IMAGE
alias: heptapod-1
- name: selenium/standalone-chrome
alias: selenium-1
......@@ -107,7 +109,7 @@ docker-native-remote-0:
services:
# unfortunately variables are not expanded in service aliases
# so we need to duplicate
- name: octobus/heptapod:$TARGET_HEPTAPOD_IMAGE
- name: $HEPTAPOD_BASE_IMAGE:$TARGET_HEPTAPOD_IMAGE
alias: heptapod-native-0
- name: selenium/standalone-chrome
alias: selenium-0
......@@ -122,7 +124,7 @@ docker-native-remote-1:
services:
# unfortunately variables are not expanded in service aliases
# so we need to duplicate
- name: octobus/heptapod:$TARGET_HEPTAPOD_IMAGE
- name: $HEPTAPOD_BASE_IMAGE:$TARGET_HEPTAPOD_IMAGE
alias: heptapod-native-1
- name: selenium/standalone-chrome
alias: selenium-native-1
......
Markdown is supported
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