Compare commits
7 Commits
fix-builda
...
update-sch
| Author | SHA1 | Date | |
|---|---|---|---|
| 0693734d0a | |||
| 042324c00a | |||
|
|
c66b6fef2d | ||
|
|
710e761197 | ||
| 36ccd41506 | |||
| 8a17ace139 | |||
| cdbd05e85c |
@@ -4,7 +4,7 @@ name: Update Traefik Version
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 6 * * 1' # Every Monday at 06:00 UTC
|
||||
- cron: '30 6 * * *' # Every day at 06:30 UTC
|
||||
workflow_dispatch:
|
||||
pull_request:
|
||||
branches:
|
||||
@@ -27,6 +27,10 @@ jobs:
|
||||
working-directory: ansible_role_proxy
|
||||
run: |
|
||||
LATEST=$(curl -sf https://api.github.com/repos/traefik/traefik/releases/latest | jq -r '.tag_name')
|
||||
if ! [[ "$LATEST" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
|
||||
echo "::error::Refusing to bump to non-stable version '$LATEST'"
|
||||
exit 1
|
||||
fi
|
||||
CURRENT=$(grep "^traefik_version:" defaults/main.yml | sed "s/traefik_version: '//;s/'//")
|
||||
echo "latest=$LATEST" >> "$GITHUB_OUTPUT"
|
||||
if [ "$LATEST" = "$CURRENT" ]; then
|
||||
|
||||
17
.github/workflows/trigger.yml
vendored
Normal file
17
.github/workflows/trigger.yml
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
name: Calling Docusaurus
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
dispatch:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Repository Dispatch
|
||||
uses: peter-evans/repository-dispatch@v4
|
||||
with:
|
||||
token: ${{ secrets.PUBLIC_REPOSITORY_DISPATCH }}
|
||||
repository: gianet-us/www_gianet_us
|
||||
event-type: trigger-docs-update
|
||||
@@ -1,5 +1,5 @@
|
||||
ansible_role_proxy
|
||||
==================
|
||||
# Ansible Role: Proxy
|
||||
|
||||
|
||||
Complete Proxy Server Role based on Traefik. This role installs and configures Traefik as a reverse proxy on Debian and Ubuntu systems.
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
## Install configuration
|
||||
traefik_name: 'traefik'
|
||||
traefik_version: 'v3.6.10'
|
||||
traefik_version: 'v3.6.12'
|
||||
traefik_opt: '/opt/{{ traefik_name }}'
|
||||
traefik_etc: '/etc/{{ traefik_name }}'
|
||||
traefik_url: 'https://github.com/{{ traefik_name }}/{{ traefik_name }}/releases/download/{{ traefik_version }}/{{ traefik_name }}_{{ traefik_version }}'
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
FROM docker.io/library/debian:stable
|
||||
ARG MOLECULE_DISTRO=docker.io/library/debian:stable
|
||||
FROM ${MOLECULE_DISTRO}
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends \
|
||||
|
||||
@@ -13,6 +13,8 @@ platforms:
|
||||
image: docker.io/library/debian:stable
|
||||
pre_build_image: false
|
||||
dockerfile: Dockerfile
|
||||
buildargs:
|
||||
MOLECULE_DISTRO: docker.io/library/debian:stable
|
||||
privileged: true
|
||||
systemd: always
|
||||
command: /usr/sbin/init
|
||||
@@ -21,6 +23,8 @@ platforms:
|
||||
image: docker.io/library/debian:oldstable
|
||||
pre_build_image: false
|
||||
dockerfile: Dockerfile
|
||||
buildargs:
|
||||
MOLECULE_DISTRO: docker.io/library/debian:oldstable
|
||||
privileged: true
|
||||
systemd: always
|
||||
command: /usr/sbin/init
|
||||
@@ -29,6 +33,8 @@ platforms:
|
||||
image: docker.io/library/ubuntu:latest
|
||||
pre_build_image: false
|
||||
dockerfile: Dockerfile
|
||||
buildargs:
|
||||
MOLECULE_DISTRO: docker.io/library/ubuntu:latest
|
||||
privileged: true
|
||||
systemd: always
|
||||
command: /usr/sbin/init
|
||||
@@ -37,6 +43,8 @@ platforms:
|
||||
image: docker.io/library/ubuntu:jammy
|
||||
pre_build_image: false
|
||||
dockerfile: Dockerfile
|
||||
buildargs:
|
||||
MOLECULE_DISTRO: docker.io/library/ubuntu:jammy
|
||||
privileged: true
|
||||
systemd: always
|
||||
command: /usr/sbin/init
|
||||
|
||||
Reference in New Issue
Block a user