the-new-hotness: Fix indentation
Signed-off-by: Michal Konečný <mkonecny@redhat.com>
This commit is contained in:
parent
e01f652291
commit
424c762c2e
1 changed files with 44 additions and 44 deletions
|
@ -1,54 +1,54 @@
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
items:
|
items:
|
||||||
- apiVersion: v1
|
- apiVersion: v1
|
||||||
kind: BuildConfig
|
kind: BuildConfig
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
build: the-new-hotness-build
|
build: the-new-hotness-build
|
||||||
name: the-new-hotness-build
|
name: the-new-hotness-build
|
||||||
spec:
|
spec:
|
||||||
runPolicy: Serial
|
runPolicy: Serial
|
||||||
source:
|
source:
|
||||||
dockerfile: |-
|
dockerfile: |-
|
||||||
FROM fedora:29
|
FROM fedora:29
|
||||||
LABEL \
|
LABEL \
|
||||||
name="the-new-hotness" \
|
name="the-new-hotness" \
|
||||||
vendor="Fedora Infrastructure" \
|
vendor="Fedora Infrastructure" \
|
||||||
license="GPLv2+"
|
license="GPLv2+"
|
||||||
RUN dnf install -y \
|
RUN dnf install -y \
|
||||||
git \
|
git \
|
||||||
koji \
|
koji \
|
||||||
rpm-python \
|
rpm-python \
|
||||||
python3-bugzilla \
|
python3-bugzilla \
|
||||||
python3-dogpile-cache \
|
python3-dogpile-cache \
|
||||||
python3-requests \
|
python3-requests \
|
||||||
fedora-messaging \
|
fedora-messaging \
|
||||||
python3-fedora-messaging \
|
python3-fedora-messaging \
|
||||||
python3-pip \
|
python3-pip \
|
||||||
python3-setuptools && \
|
python3-setuptools && \
|
||||||
dnf autoremove -y && \
|
dnf autoremove -y && \
|
||||||
dnf clean all -y
|
dnf clean all -y
|
||||||
RUN git clone https://github.com/fedora-infra/the-new-hotness.git && \
|
RUN git clone https://github.com/fedora-infra/the-new-hotness.git && \
|
||||||
pushd the-new-hotness && \
|
pushd the-new-hotness && \
|
||||||
{% if env == 'staging' %}
|
{% if env == 'staging' %}
|
||||||
git checkout staging && \
|
git checkout staging && \
|
||||||
{% else %}
|
{% else %}
|
||||||
git checkout production && \
|
git checkout production && \
|
||||||
{% endif %}
|
{% endif %}
|
||||||
python3 setup.py install && \
|
python3 setup.py install && \
|
||||||
pip-3 install . && \
|
pip-3 install . && \
|
||||||
pushd hotness_schema && \
|
pushd hotness_schema && \
|
||||||
python3 setup.py install && \
|
python3 setup.py install && \
|
||||||
pip-3 install . && \
|
pip-3 install . && \
|
||||||
rm -rf the-new-hotness
|
rm -rf the-new-hotness
|
||||||
EXPOSE 9940
|
EXPOSE 9940
|
||||||
type: Dockerfile
|
type: Dockerfile
|
||||||
git:
|
git:
|
||||||
uri: https://github.com/fedora-infra/the-new-hotness.git
|
uri: https://github.com/fedora-infra/the-new-hotness.git
|
||||||
{% if env == 'staging' %}
|
{% if env == 'staging' %}
|
||||||
ref: staging
|
ref: staging
|
||||||
{% else %}
|
{% else %}
|
||||||
ref: production
|
ref: production
|
||||||
{% endif %}
|
{% endif %}
|
||||||
strategy:
|
strategy:
|
||||||
type: Docker
|
type: Docker
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue