FMN: build the sendria image to workaround a bug
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
32b72e13dd
commit
4e6247c9f3
3 changed files with 39 additions and 6 deletions
|
@ -25,9 +25,11 @@ items:
|
||||||
kind: ImageStream
|
kind: ImageStream
|
||||||
metadata:
|
metadata:
|
||||||
name: sendria
|
name: sendria
|
||||||
spec:
|
# We need to build the sendria image until this is fixed:
|
||||||
tags:
|
# https://github.com/msztolcman/sendria/issues/17
|
||||||
- name: latest
|
# spec:
|
||||||
from:
|
# tags:
|
||||||
kind: DockerImage
|
# - name: latest
|
||||||
name: msztolcman/sendria:v2.2.2.0
|
# from:
|
||||||
|
# kind: DockerImage
|
||||||
|
# name: msztolcman/sendria:v2.2.2.0
|
||||||
|
|
5
roles/openshift-apps/fmn/templates/Dockerfile-sendria
Normal file
5
roles/openshift-apps/fmn/templates/Dockerfile-sendria
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
# Required until this is fixed:
|
||||||
|
# https://github.com/msztolcman/sendria/issues/17
|
||||||
|
|
||||||
|
FROM msztolcman/sendria:v2.2.2.0
|
||||||
|
RUN chmod 0755 .local
|
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
apiVersion: build.openshift.io/v1
|
apiVersion: build.openshift.io/v1
|
||||||
kind: BuildConfig
|
kind: BuildConfig
|
||||||
metadata:
|
metadata:
|
||||||
|
@ -41,3 +42,28 @@ spec:
|
||||||
secretReference:
|
secretReference:
|
||||||
name: fmn-github-webook
|
name: fmn-github-webook
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
---
|
||||||
|
# We need to build the sendria image until this is fixed:
|
||||||
|
# https://github.com/msztolcman/sendria/issues/17
|
||||||
|
apiVersion: build.openshift.io/v1
|
||||||
|
kind: BuildConfig
|
||||||
|
metadata:
|
||||||
|
name: sendria
|
||||||
|
labels:
|
||||||
|
app: fmn
|
||||||
|
build: sendria
|
||||||
|
spec:
|
||||||
|
runPolicy: Serial
|
||||||
|
source:
|
||||||
|
type: Dockerfile
|
||||||
|
dockerfile: |-
|
||||||
|
{{ load_file('Dockerfile-sendria') | indent(6) }}
|
||||||
|
strategy:
|
||||||
|
type: Docker
|
||||||
|
output:
|
||||||
|
to:
|
||||||
|
kind: ImageStreamTag
|
||||||
|
name: sendria:latest
|
||||||
|
triggers:
|
||||||
|
- type: ConfigChange
|
||||||
|
- type: ImageChange
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue