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
39 changes: 39 additions & 0 deletions .github/workflows/notify-container-images.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: notify container-images

on:
push:
branches: ['**']
tags: ['[0-9][0-9][0-9][0-9].*']

jobs:
dispatch:
runs-on: ubuntu-latest
steps:
- name: Determine Image Flavor
id: vars
run: |
if [[ "${{ github.ref }}" == refs/tags/* ]]; then
echo "tag=${{ github.ref_name }}" >> $GITHUB_OUTPUT
echo "type=version" >> $GITHUB_OUTPUT
elif [[ "${{ github.ref }}" == refs/heads/main ]]; then
echo "tag=latest" >> $GITHUB_OUTPUT
echo "type=rolling" >> $GITHUB_OUTPUT
else
# Any other branch (feature/fix/dev) is tagged as 'dev'
echo "tag=dev" >> $GITHUB_OUTPUT
echo "type=rolling" >> $GITHUB_OUTPUT
fi

- name: Repository Dispatch
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.MAPCHETE_PAT_CONTAINER_IMAGES_TOKEN }}
repository: mapchete/container-images
event-type: source_update
client-payload: |
{
"source_repo": "${{ github.event.repository.name }}",
"image_tag": "${{ steps.vars.outputs.tag }}",
"type": "${{ steps.vars.outputs.type }}",
"sha": "${{ github.sha }}"
}
8 changes: 3 additions & 5 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
branches: [main]
schedule:
- cron: '0 8 * * 1,4'
workflow_call: # This allows sync-dependencies.yml to trigger this logic
workflow_call:

permissions:
pull-requests: write
Expand All @@ -20,18 +20,16 @@ jobs:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
os: ["ubuntu-latest"] # Simplified to ubuntu-latest for reliability
os: ["ubuntu-latest"]

steps:
- uses: actions/checkout@v4

# --- CRITICAL FOR SYNC ---
- name: Download updated dependencies
uses: actions/download-artifact@v4
continue-on-error: true # Safe to fail if running normally on push/PR
continue-on-error: true
with:
name: updated-deps
# -------------------------

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ You must have ``mapchete`` with ``s3`` installed, so let's grab the ``complete``

.. code-block:: bash

pip install mapchete[complete]
uv pip install mapchete[complete]

Then install mapchete-eo:

.. code-block:: bash

pip install mapchete-eo
uv pip install mapchete-eo
Loading