docsbuilding: separate builds per environment
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
parent
411d3776c7
commit
1c5aef2d01
2 changed files with 4 additions and 0 deletions
|
@ -11,6 +11,7 @@ spec:
|
||||||
source:
|
source:
|
||||||
git:
|
git:
|
||||||
uri: "https://pagure.io/fedora-docs/docs-fp-o.git"
|
uri: "https://pagure.io/fedora-docs/docs-fp-o.git"
|
||||||
|
ref: "{{ env_short }}"
|
||||||
contextDir: "build-scripts"
|
contextDir: "build-scripts"
|
||||||
output:
|
output:
|
||||||
to:
|
to:
|
||||||
|
|
|
@ -15,6 +15,9 @@ spec:
|
||||||
containers:
|
containers:
|
||||||
- name: build
|
- name: build
|
||||||
image: docker-registry.default.svc:5000/docsbuilding/builder:latest
|
image: docker-registry.default.svc:5000/docsbuilding/builder:latest
|
||||||
|
env:
|
||||||
|
- name: BUILD_ENV
|
||||||
|
value: "{{ env_short }}"
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: build-output
|
- name: build-output
|
||||||
mountPath: /antora/output
|
mountPath: /antora/output
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue