Skip to content

Commit

Permalink
upgrade sdk os base and fix docker compose ci
Browse files Browse the repository at this point in the history
  • Loading branch information
mfleader committed Aug 5, 2024
1 parent e4ae38e commit 43c3365
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
- name: Check out code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Build image
run: docker-compose build
run: docker compose build
- name: Run plugin
run: docker-compose up --abort-on-container-exit
run: docker compose up --abort-on-container-exit
- name: Extract coverage data
run: |
docker create --name test quay.io/arcalot/arcaflow-plugin-opensearch: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_opensearch
# 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.3.1@sha256:9767207e2de6597c4d6bd2345d137ac03661326734d4e6824840d270d3415e12 as build
FROM quay.io/arcalot/arcaflow-plugin-baseimage-python-buildbase:0.4.0
ARG package

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


# STAGE 2 -- Build final plugin image
FROM quay.io/arcalot/arcaflow-plugin-baseimage-python-osbase:0.3.1@sha256:0e9384416ad5dd8810c410a87c283ca29a368fc85592378b85261fce5f9ecbeb
FROM quay.io/arcalot/arcaflow-plugin-baseimage-python-osbase:0.4.0
ARG package

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

0 comments on commit 43c3365

Please sign in to comment.