From 2ec69c6df0c9438c38789ba85f6868179b95df37 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Mon, 18 Apr 2022 09:03:07 -0700 Subject: [PATCH] fasjson: sed has to be after branch checkout Signed-off-by: Kevin Fenzi --- roles/openshift-apps/fasjson/templates/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/openshift-apps/fasjson/templates/Dockerfile b/roles/openshift-apps/fasjson/templates/Dockerfile index f9d8143175..352425c096 100644 --- a/roles/openshift-apps/fasjson/templates/Dockerfile +++ b/roles/openshift-apps/fasjson/templates/Dockerfile @@ -25,8 +25,8 @@ RUN python3 -m venv /opt/venv RUN /opt/venv/bin/pip install poetry RUN git clone https://github.com/fedora-infra/fasjson.git && \ pushd fasjson && \ - sed -i '/requests-kerberos = "^0.14.0"/a requests-gssapi = "^1.2.3"' pyproject.toml && \ git checkout {{ (env == 'production')|ternary('stable', 'staging') }} && \ + sed -i '/requests-kerberos = "^0.14.0"/a requests-gssapi = "^1.2.3"' pyproject.toml && \ /opt/venv/bin/poetry config virtualenvs.create false && \ /opt/venv/bin/poetry install --no-dev && \ popd