Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ jobs:
- name: Build local image ${{ matrix.alpine }}
run: docker build --build-arg PYTHON_VERSION="${{ matrix.python }}" -t "${{ env.RUN_CFG__DOCKER_IMAGE_NAME }}" -f Dockerfile--${{ matrix.platform }}.tmpl .
- name: Run
run: docker run -t -v ${{ github.workspace }}/${{ env.RUN_CFG__LOGS_DIR }}:/home/test/testgres/logs "${{ env.RUN_CFG__DOCKER_IMAGE_NAME }}"
run: docker run -t -v ${{ github.workspace }}/${{ env.RUN_CFG__LOGS_DIR }}:/home/test/project/logs "${{ env.RUN_CFG__DOCKER_IMAGE_NAME }}"
- name: Upload Logs
uses: actions/upload-artifact@v7
if: always() # IT IS IMPORTANT!
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile--alpine.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ RUN apk add bash

RUN adduser -D test

ADD --chown=test:test . /home/test/testgres
WORKDIR /home/test/testgres
ADD --chown=test:test . /home/test/project
WORKDIR /home/test/project

USER test

Expand Down
8 changes: 4 additions & 4 deletions Dockerfile--astralinux_1_7.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ FROM base2_with_python-${PYTHON_VERSION} AS final

RUN useradd -m test

ADD --chown=test:test . /home/test/testgres
WORKDIR /home/test/testgres
RUN mkdir /home/test/testgres/logs
RUN chown -R test:test /home/test/testgres/logs
ADD --chown=test:test . /home/test/project
WORKDIR /home/test/project
RUN mkdir /home/test/project/logs
RUN chown -R test:test /home/test/project/logs

ENV LANG=C.UTF-8

Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ classifiers = [
]

dependencies = [
"testgres.common>=1.0.3,<2.0.0",
]

[project.urls]
Expand Down
Loading
Loading