Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

GitHub CI Docker Compose Update #46

Merged
merged 2 commits into from
Aug 6, 2024
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
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ jobs:
path: dist
if-no-files-found: error
- name: Build image
run: docker-compose build
run: docker compose build
- name: Run plugin
run: docker-compose up
run: docker compose up
- name: Extract coverage data
run: |
docker create --name test ghcr.io/arcalot/arcaflow-plugin-wait:latest
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ARG package=arcaflow_plugin_wait
# STAGE 1 -- Build module dependencies and run tests
# The 'poetry' and 'coverage' modules are installed and verson-controlled in the
# quay.io/arcalot/arcaflow-plugin-baseimage-python-buildbase image to limit drift
FROM quay.io/arcalot/arcaflow-plugin-baseimage-python-buildbase:0.4.0 as build
FROM quay.io/arcalot/arcaflow-plugin-baseimage-python-buildbase:0.4.2 as build
ARG package

COPY poetry.lock /app/
Expand All @@ -26,7 +26,7 @@ RUN python -m coverage run tests/test_${package}.py \


# STAGE 2 -- Build final plugin image
FROM quay.io/arcalot/arcaflow-plugin-baseimage-python-osbase:0.4.0
FROM quay.io/arcalot/arcaflow-plugin-baseimage-python-osbase:0.4.2
ARG package

COPY --from=build /app/requirements.txt /app/
Expand Down