Commit 4279d674 authored by Geoff Simmons's avatar Geoff Simmons

Trigger image builds in gitlab CI when the Makefile changes.

parent 7e5a5a6b
......@@ -57,12 +57,13 @@ test:
script:
- make check
# build new haproxy image after changes in: dockerfile, haproxy config,
# exec script, or repo list
# build new haproxy image after changes in: makefile, dockerfile, haproxy
# config, exec script, or repo list
build:haproxy:
extends: .build-haproxy
rules:
- changes:
- container/Makefile
- container/Dockerfile.haproxy
- container/haproxy.cfg
- container/haproxy_exec.sh
......@@ -72,12 +73,13 @@ build:haproxy:manual:
extends: .build-haproxy
when: manual
# build new klarlack image after changes in: dockerfile, exec script,
# build new klarlack image after changes in: makefile, dockerfile, exec script,
# varnishd -I init script, initial VCLs
build:klarlack:
extends: .build-klarlack
rules:
- changes:
- container/Makefile
- container/Dockerfile.varnish
- container/varnishd_exec.sh
- container/start.cli
......@@ -99,6 +101,7 @@ build:ascn:
optional: true
rules:
- changes:
- container/Makefile
- container/Dockerfile.ascn
- container/Dockerfile.varnish
- container/varnishd_exec.sh
......@@ -113,12 +116,13 @@ build:ascn:manual:
extends: .build-ascn
when: manual
# build new varnish image after changes in: dockerfile, exec script,
# build new varnish image after changes in: makefile, dockerfile, exec script,
# varnishd -I init script, initial VCLs, repo lists
build:varnish:
extends: .build-varnish
rules:
- changes:
- container/Makefile
- container/Dockerfile.varnish
- container/varnishd_exec.sh
- container/start.cli
......
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