From 424c762c2e15b95fe921237d9634c1407b11eeeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Kone=C4=8Dn=C3=BD?= Date: Thu, 14 Feb 2019 15:52:19 +0100 Subject: [PATCH] the-new-hotness: Fix indentation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michal Konečný --- .../the-new-hotness/templates/buildconfig.yml | 88 +++++++++---------- 1 file changed, 44 insertions(+), 44 deletions(-) diff --git a/roles/openshift-apps/the-new-hotness/templates/buildconfig.yml b/roles/openshift-apps/the-new-hotness/templates/buildconfig.yml index fbc8a174bd..e372f231ac 100644 --- a/roles/openshift-apps/the-new-hotness/templates/buildconfig.yml +++ b/roles/openshift-apps/the-new-hotness/templates/buildconfig.yml @@ -1,54 +1,54 @@ apiVersion: v1 items: - - apiVersion: v1 - kind: BuildConfig - metadata: - labels: - build: the-new-hotness-build - name: the-new-hotness-build - spec: - runPolicy: Serial - source: - dockerfile: |- - FROM fedora:29 - LABEL \ - name="the-new-hotness" \ - vendor="Fedora Infrastructure" \ - license="GPLv2+" - RUN dnf install -y \ - git \ - koji \ - rpm-python \ - python3-bugzilla \ - python3-dogpile-cache \ - python3-requests \ - fedora-messaging \ - python3-fedora-messaging \ - python3-pip \ - python3-setuptools && \ - dnf autoremove -y && \ - dnf clean all -y - RUN git clone https://github.com/fedora-infra/the-new-hotness.git && \ - pushd the-new-hotness && \ +- apiVersion: v1 + kind: BuildConfig + metadata: + labels: + build: the-new-hotness-build + name: the-new-hotness-build + spec: + runPolicy: Serial + source: + dockerfile: |- + FROM fedora:29 + LABEL \ + name="the-new-hotness" \ + vendor="Fedora Infrastructure" \ + license="GPLv2+" + RUN dnf install -y \ + git \ + koji \ + rpm-python \ + python3-bugzilla \ + python3-dogpile-cache \ + python3-requests \ + fedora-messaging \ + python3-fedora-messaging \ + python3-pip \ + python3-setuptools && \ + dnf autoremove -y && \ + dnf clean all -y + RUN git clone https://github.com/fedora-infra/the-new-hotness.git && \ + pushd the-new-hotness && \ {% if env == 'staging' %} - git checkout staging && \ + git checkout staging && \ {% else %} - git checkout production && \ + git checkout production && \ {% endif %} - python3 setup.py install && \ - pip-3 install . && \ - pushd hotness_schema && \ - python3 setup.py install && \ - pip-3 install . && \ - rm -rf the-new-hotness - EXPOSE 9940 - type: Dockerfile - git: - uri: https://github.com/fedora-infra/the-new-hotness.git + python3 setup.py install && \ + pip-3 install . && \ + pushd hotness_schema && \ + python3 setup.py install && \ + pip-3 install . && \ + rm -rf the-new-hotness + EXPOSE 9940 + type: Dockerfile + git: + uri: https://github.com/fedora-infra/the-new-hotness.git {% if env == 'staging' %} - ref: staging + ref: staging {% else %} - ref: production + ref: production {% endif %} strategy: type: Docker