Skip to content

Commit ac21338

Browse files
committed
chore(ci): do not use galaxy dev since it is unreliable
1 parent 8bf306f commit ac21338

2 files changed

Lines changed: 5 additions & 12 deletions

File tree

.github/workflows/lf-build.yml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,7 @@ jobs:
7272
ansible-galaxy collection build
7373
cp --verbose linuxfabrik-lfops-${{ env.TAG1 }}.tar.gz linuxfabrik-lfops.tar.gz
7474
75-
- name: 'Publish to Galaxy (Prod)'
76-
if: "${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') }}"
75+
- name: 'Publish to Galaxy'
7776
env:
7877
ANSIBLE_GALAXY_TOKEN: '${{ secrets.GALAXY_API_KEY_PROD }}'
7978
run: |
@@ -82,16 +81,6 @@ jobs:
8281
--server https://galaxy.ansible.com \
8382
--api-key "$ANSIBLE_GALAXY_TOKEN"
8483
85-
- name: 'Publish to Galaxy (Dev)'
86-
if: "${{ github.event_name == 'workflow_dispatch' }}"
87-
env:
88-
ANSIBLE_GALAXY_TOKEN: '${{ secrets.GALAXY_API_KEY_DEV }}'
89-
run: |
90-
ansible-galaxy collection publish \
91-
linuxfabrik-lfops-${{ env.TAG1 }}.tar.gz \
92-
--server https://galaxy-dev.ansible.com \
93-
--api-key "$ANSIBLE_GALAXY_TOKEN"
94-
9584
- name: 'Build Execution Environment'
9685
run: |
9786
ansible-builder build \

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010

1111
## [Unreleased]
1212

13+
### Changed
14+
15+
* **ci**: Publish pre-releases directly to prod Ansible Galaxy instead of galaxy-dev, since it is unreliable and pulp-ansible excludes pre-release versions from "latest"
16+
1317
### Breaking Changes
1418

1519
* **role:nfs_server**: Rework `nfs_server__exports` from a list of strings to a list of dictionaries with new `path`, `clients`, `owner`, `group`, and `mode` subkeys

0 commit comments

Comments
 (0)