In the mirror script first connect with the S3 API #56
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Mirror images (dry run) | |
"on": | |
workflow_dispatch: | |
pull_request: | |
paths: | |
- .github/workflows/mirror-images-dry-run.yml | |
- etc/images/*.yml | |
- openstack_image_manager/mirror.py | |
jobs: | |
mirror-images-dry-run: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' | |
- run: pip3 install tox | |
- run: tox -e mirror -- --dry-run | |
if: | | |
github.repository == 'osism/openstack-image-manager' |