Skip to content

Commit

Permalink
ci: fix backend-py poetry dep install (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts authored Oct 6, 2023
1 parent 01b4052 commit f6c317b
Show file tree
Hide file tree
Showing 4 changed files with 351 additions and 341 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/pr-open.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,17 +106,20 @@ jobs:
file: backend-go/openshift.deploy.yml
overwrite: true
parameters: -p MIN_REPLICAS=1 -p MAX_REPLICAS=2
-p PROMOTE=${{ github.repository }}/backend-go:${{ github.event.number }}
-p PROMOTE_MIGRATION=${{ github.repository }}/migrations-go:${{ github.event.number }}
triggers: ('backend-go/')
- name: backend-java
file: backend-java/openshift.deploy.yml
overwrite: true
parameters: -p MIN_REPLICAS=1 -p MAX_REPLICAS=2
-p PROMOTE=${{ github.repository }}/backend-java:${{ github.event.number }}
triggers: ('backend-java/')
- name: backend-py
file: backend-py/openshift.deploy.yml
overwrite: true
parameters: -p MIN_REPLICAS=1 -p MAX_REPLICAS=2
-p PROMOTE=${{ github.repository }}/backend-py:${{ github.event.number }}
-p PROMOTE_MIGRATION=${{ github.repository }}/migrations-py:${{ github.event.number }}
triggers: ('backend-py/')
- name: frontend
Expand All @@ -135,7 +138,6 @@ jobs:
overwrite: ${{ matrix.overwrite }}
parameters:
-p ZONE=${{ github.event.number }} -p NAME=${{ github.event.repository.name }}
-p PROMOTE=${{ github.repository }}/${{ matrix.name }}:${{ github.event.number }}
${{ matrix.parameters }}
repository: ${{ matrix.repository }}
triggers: ${{ matrix.triggers }}
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -120,3 +120,6 @@ test-report.xml

# VSCode
.vscode/

# Python
.venv
2 changes: 1 addition & 1 deletion backend-py/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ARG PIP_NO_CACHE_DIR=off \
# Install poetry, then dependencies
WORKDIR /app
COPY pyproject.toml poetry.lock ./
RUN pip install poetry==1.2.2 && \
RUN pip install poetry==1.6.1 && \
poetry install --no-root -vvv --without dev --sync

# Deploy
Expand Down
Loading

0 comments on commit f6c317b

Please sign in to comment.