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