feat: Added Ubuntu's and tags versions
All checks were successful
Update Traefik Version / update-version (pull_request) Successful in 3m27s

This commit is contained in:
2026-03-11 10:42:47 -03:00
parent 3c62a1410b
commit d55187e35c
2 changed files with 26 additions and 1 deletions

View File

@@ -50,6 +50,12 @@ jobs:
working-directory: ansible_role_proxy
run: |
sed -i "s/^traefik_version: '.*'$/traefik_version: '${{ steps.check.outputs.latest }}'/" defaults/main.yml
UPDATED=$(grep "^traefik_version:" defaults/main.yml | sed "s/traefik_version: '//;s/'//")
if [ "$UPDATED" != "${{ steps.check.outputs.latest }}" ]; then
echo "::error::Failed to update traefik_version (expected '${{ steps.check.outputs.latest }}', got '$UPDATED')"
exit 1
fi
echo "Verified: traefik_version updated to $UPDATED"
- name: Run Molecule tests
if: steps.check.outputs.needs_update == 'true'
@@ -65,4 +71,7 @@ jobs:
git remote set-url origin "https://giabot:${{ secrets.GITEA_TOKEN }}@gianet.us/engineering/ansible_role_reverse.git"
git add defaults/main.yml
git commit -m "patch: update traefik_version to ${{ steps.check.outputs.latest }}"
git push origin main
git tag "${{ steps.check.outputs.latest }}"
git tag -f latest
git push origin main "${{ steps.check.outputs.latest }}"
git push -f origin latest

View File

@@ -25,6 +25,22 @@ platforms:
systemd: always
command: /usr/sbin/init
- name: ubuntu-latest
image: docker.io/library/ubuntu:latest
pre_build_image: false
dockerfile: Dockerfile
privileged: true
systemd: always
command: /usr/sbin/init
- name: ubuntu-jammy
image: docker.io/library/ubuntu:jammy
pre_build_image: false
dockerfile: Dockerfile
privileged: true
systemd: always
command: /usr/sbin/init
provisioner:
name: ansible
env: