fasjson: sed has to be after branch checkout
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
bb19d090ac
commit
2ec69c6df0
1 changed files with 1 additions and 1 deletions
|
@ -25,8 +25,8 @@ RUN python3 -m venv /opt/venv
|
||||||
RUN /opt/venv/bin/pip install poetry
|
RUN /opt/venv/bin/pip install poetry
|
||||||
RUN git clone https://github.com/fedora-infra/fasjson.git && \
|
RUN git clone https://github.com/fedora-infra/fasjson.git && \
|
||||||
pushd fasjson && \
|
pushd fasjson && \
|
||||||
sed -i '/requests-kerberos = "^0.14.0"/a requests-gssapi = "^1.2.3"' pyproject.toml && \
|
|
||||||
git checkout {{ (env == 'production')|ternary('stable', 'staging') }} && \
|
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 config virtualenvs.create false && \
|
||||||
/opt/venv/bin/poetry install --no-dev && \
|
/opt/venv/bin/poetry install --no-dev && \
|
||||||
popd
|
popd
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue