Skip to content

Commit

Permalink
Rename coffea-basev0 as acoffea-base (we are going to reuse existing …
Browse files Browse the repository at this point in the history
…repository in dockerhub)
  • Loading branch information
oshadura committed Feb 16, 2024
1 parent a6059d3 commit 1fa5050
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/gh-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ jobs:
strategy:
fail-fast: false
matrix:
image_dir: [coffea-basev0, coffea-dask]
image_dir: [coffea-base, coffea-dask]
distro: [almalinux8]
python: ["3.9", "3.10", "3.11"]
exclude:
- distro: almalinux8
python: 3.9
- distro: coffea-basev0
- distro: coffea-base
python: 3.11
name: ${{ matrix.image_dir }}-${{ matrix.distro }}-${{ matrix.python }}
runs-on: ubuntu-latest
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
run: |
image="coffeateam/${image_dir}-${distro}"
if [ ${image_dir} == 'coffea-basev0' ]; then
if [ ${image_dir} == 'coffea-base' ]; then
tag="${image}:${releasev0}-py${python}"
else
tag="${image}:${release}-py${python}"
Expand All @@ -89,7 +89,7 @@ jobs:
echo "::set-output name=tags::${tags}"
- name: Build base v0
if: ${{ matrix.image_dir == 'coffea-basev0' }}
if: ${{ matrix.image_dir == 'coffea-base' }}
uses: docker/build-push-action@v5
with:
load: true
Expand All @@ -101,7 +101,7 @@ jobs:
releasev0=${{ env.releasev0 }}
- name: Build base v1
if: ${{ matrix.image_dir != 'coffea-basev0' }}
if: ${{ matrix.image_dir != 'coffea-base' }}
uses: docker/build-push-action@v5
with:
load: true
Expand Down Expand Up @@ -132,15 +132,15 @@ jobs:
# fi

- name: Test Pytest environement v0
if: ${{ matrix.image_dir == 'coffea-basev0' }}
if: ${{ matrix.image_dir == 'coffea-base' }}
env:
tag: ${{ steps.tags.outputs.tag }}
run: |
docker run --rm -v ${{ github.workspace }}:/tmp/workspace ${tag} \
sh -c "pip install -U pytest && cd tmp/workspace && pytest -m v0"
- name: Test Pytest environement CalVer
if: ${{ matrix.image_dir != 'coffea-basev0' }}
if: ${{ matrix.image_dir != 'coffea-base' }}
env:
tag: ${{ steps.tags.outputs.tag }}
run: |
Expand All @@ -149,7 +149,7 @@ jobs:
- name: Build and push v0
if: ${{ matrix.image_dir != 'coffea-basev0' }}
if: ${{ matrix.image_dir != 'coffea-base' }}
uses: docker/build-push-action@v5
with:
platforms: linux/amd64
Expand All @@ -162,7 +162,7 @@ jobs:
release=${{ env.release }}
- name: Build and push v1
if: ${{ matrix.image_dir == 'coffea-basev0' }}
if: ${{ matrix.image_dir == 'coffea-base' }}
uses: docker/build-push-action@v5
with:
platforms: linux/amd64
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 1fa5050

Please sign in to comment.