This repository was archived by the owner on May 22, 2026. It is now read-only.
Bump streamlit from 1.40.1 to 1.54.0 in /lme-log-analyzer #14
This file contains hidden or 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: Publish LME Collection to Ansible Galaxy | ||
|
Check failure on line 1 in .github/workflows/ludus-roles-release.yml
|
||
| on: | ||
| workflow_dispatch: | ||
| push: | ||
| branches: | ||
| - develop | ||
| - main | ||
| tags: | ||
| - 'ludus-v*' | ||
| jobs: | ||
| publish: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v6 | ||
| - name: Set up Python | ||
| uses: actions/setup-python@v5 | ||
| with: | ||
| python-version: '3.x' | ||
| - name: Install Ansible | ||
| run: pip install ansible-core | ||
| - name: Configure collection for branch | ||
| run: | | ||
| cd ansible | ||
| if [[ "${{ github.ref_name }}" == "main" || "${{ github.ref }}" == refs/tags/* ]]; then | ||
| # Production: cisagov.lme | ||
| sed -i 's/^namespace:.*/namespace: cisagov/' galaxy.yml | ||
| sed -i 's/^name:.*/name: lme/' galaxy.yml | ||
| else | ||
| # Dev: cisagov.lme_dev | ||
| sed -i 's/^namespace:.*/namespace: cisagov/' galaxy.yml | ||
| sed -i 's/^name:.*/name: lme_dev/' galaxy.yml | ||
| fi | ||
| echo "--- galaxy.yml after substitution ---" | ||
| head -5 galaxy.yml | ||
| - name: Build collection | ||
| run: ansible-galaxy collection build --force | ||
| working-directory: ansible | ||
| - name: Publish collection to Galaxy | ||
| if: ${{ secrets.GALAXY_API_KEY != '' }} | ||
| continue-on-error: true | ||
| run: | | ||
| ansible-galaxy collection publish \ | ||
| --api-key "${{ secrets.GALAXY_API_KEY }}" \ | ||
| ansible/*-lme*.tar.gz | ||