Just publish through the public relay
Signed-off-by: Jeremy Cline <jeremy@jcline.org>
This commit is contained in:
parent
25e2152f11
commit
caff14cc9f
3 changed files with 1 additions and 64 deletions
|
@ -1,35 +1,5 @@
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
items:
|
items:
|
||||||
- apiVersion: v1
|
|
||||||
kind: BuildConfig
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
build: fedmsg-relay
|
|
||||||
name: fedmsg-relay-docker-build
|
|
||||||
spec:
|
|
||||||
runPolicy: Serial
|
|
||||||
source:
|
|
||||||
dockerfile: |-
|
|
||||||
FROM fedora:27
|
|
||||||
LABEL \
|
|
||||||
name="fedmsg-relay" \
|
|
||||||
vendor="Fedora Infrastructure" \
|
|
||||||
license="MIT"
|
|
||||||
RUN dnf -y --enablerepo updates-testing update && \
|
|
||||||
dnf -y --enablerepo updates-testing install --setopt=tsflags=nodocs python3-fedmsg && \
|
|
||||||
dnf clean all
|
|
||||||
RUN rm /etc/fedmsg.d/*.py
|
|
||||||
ENV USER=fedmsg-relay
|
|
||||||
EXPOSE 9940
|
|
||||||
EXPOSE 4001
|
|
||||||
ENTRYPOINT fedmsg-relay-3
|
|
||||||
type: Dockerfile
|
|
||||||
strategy:
|
|
||||||
type: Docker
|
|
||||||
output:
|
|
||||||
to:
|
|
||||||
kind: ImageStreamTag
|
|
||||||
name: fedmsg-relay:latest
|
|
||||||
- apiVersion: v1
|
- apiVersion: v1
|
||||||
kind: BuildConfig
|
kind: BuildConfig
|
||||||
metadata:
|
metadata:
|
||||||
|
@ -46,7 +16,7 @@ items:
|
||||||
vendor="Fedora Infrastructure" \
|
vendor="Fedora Infrastructure" \
|
||||||
license="MIT"
|
license="MIT"
|
||||||
RUN dnf -y --enablerepo updates-testing update && \
|
RUN dnf -y --enablerepo updates-testing update && \
|
||||||
dnf -y --enablerepo updates-testing install --setopt=tsflags=nodocs \
|
dnf -y --enablerepo updates-testing install \
|
||||||
git \
|
git \
|
||||||
python3-pip \
|
python3-pip \
|
||||||
python3-fedmsg \
|
python3-fedmsg \
|
||||||
|
|
|
@ -43,33 +43,6 @@ items:
|
||||||
- name: fedmsg-crt-volume
|
- name: fedmsg-crt-volume
|
||||||
mountPath: /etc/pki/fedmsg/crt
|
mountPath: /etc/pki/fedmsg/crt
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: fedmsg-relay
|
|
||||||
image: librariesio2fedmsg/fedmsg-relay:latest
|
|
||||||
livenessProbe:
|
|
||||||
failureThreshold: 3
|
|
||||||
periodSeconds: 10
|
|
||||||
successThreshold: 1
|
|
||||||
tcpSocket:
|
|
||||||
port: 9940
|
|
||||||
timeoutSeconds: 3
|
|
||||||
ports:
|
|
||||||
- containerPort: 9940
|
|
||||||
protocol: TCP
|
|
||||||
- containerPort: 4001
|
|
||||||
protocol: TCP
|
|
||||||
readinessProbe:
|
|
||||||
failureThreshold: 3
|
|
||||||
initialDelaySeconds: 1
|
|
||||||
periodSeconds: 10
|
|
||||||
successThreshold: 1
|
|
||||||
tcpSocket:
|
|
||||||
port: 9940
|
|
||||||
timeoutSeconds: 5
|
|
||||||
resources: {}
|
|
||||||
volumeMounts:
|
|
||||||
- name: fedmsg-config-volume
|
|
||||||
mountPath: /etc/fedmsg.d/
|
|
||||||
readOnly: true
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: fedmsg-config-volume
|
- name: fedmsg-config-volume
|
||||||
configMap:
|
configMap:
|
||||||
|
|
|
@ -1,11 +1,5 @@
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
items:
|
items:
|
||||||
- apiVersion: v1
|
|
||||||
kind: ImageStream
|
|
||||||
metadata:
|
|
||||||
name: fedmsg-relay
|
|
||||||
labels:
|
|
||||||
build: fedmsg-relay
|
|
||||||
- apiVersion: v1
|
- apiVersion: v1
|
||||||
kind: ImageStream
|
kind: ImageStream
|
||||||
metadata:
|
metadata:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue