Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
657c945c73 | ||
|
|
905cfb46fd | ||
| 09ba690877 | |||
|
|
c66b6fef2d | ||
|
|
710e761197 | ||
| 36ccd41506 | |||
| 8a17ace139 | |||
| cdbd05e85c |
@@ -4,7 +4,7 @@ name: Update Traefik Version
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 6 * * 1' # Every Monday at 06:00 UTC
|
- cron: '30 6 * * *' # Every day at 06:30 UTC
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
@@ -27,6 +27,10 @@ jobs:
|
|||||||
working-directory: ansible_role_proxy
|
working-directory: ansible_role_proxy
|
||||||
run: |
|
run: |
|
||||||
LATEST=$(curl -sf https://api.github.com/repos/traefik/traefik/releases/latest | jq -r '.tag_name')
|
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/'//")
|
CURRENT=$(grep "^traefik_version:" defaults/main.yml | sed "s/traefik_version: '//;s/'//")
|
||||||
echo "latest=$LATEST" >> "$GITHUB_OUTPUT"
|
echo "latest=$LATEST" >> "$GITHUB_OUTPUT"
|
||||||
if [ "$LATEST" = "$CURRENT" ]; then
|
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.
|
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
|
## Install configuration
|
||||||
traefik_name: 'traefik'
|
traefik_name: 'traefik'
|
||||||
traefik_version: 'v3.6.10'
|
traefik_version: 'v3.6.14'
|
||||||
traefik_opt: '/opt/{{ traefik_name }}'
|
traefik_opt: '/opt/{{ traefik_name }}'
|
||||||
traefik_etc: '/etc/{{ traefik_name }}'
|
traefik_etc: '/etc/{{ traefik_name }}'
|
||||||
traefik_url: 'https://github.com/{{ traefik_name }}/{{ traefik_name }}/releases/download/{{ traefik_version }}/{{ traefik_name }}_{{ traefik_version }}'
|
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 && \
|
RUN apt-get update && \
|
||||||
apt-get install -y --no-install-recommends \
|
apt-get install -y --no-install-recommends \
|
||||||
|
|||||||
@@ -13,6 +13,8 @@ platforms:
|
|||||||
image: docker.io/library/debian:stable
|
image: docker.io/library/debian:stable
|
||||||
pre_build_image: false
|
pre_build_image: false
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
|
buildargs:
|
||||||
|
MOLECULE_DISTRO: docker.io/library/debian:stable
|
||||||
privileged: true
|
privileged: true
|
||||||
systemd: always
|
systemd: always
|
||||||
command: /usr/sbin/init
|
command: /usr/sbin/init
|
||||||
@@ -21,6 +23,8 @@ platforms:
|
|||||||
image: docker.io/library/debian:oldstable
|
image: docker.io/library/debian:oldstable
|
||||||
pre_build_image: false
|
pre_build_image: false
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
|
buildargs:
|
||||||
|
MOLECULE_DISTRO: docker.io/library/debian:oldstable
|
||||||
privileged: true
|
privileged: true
|
||||||
systemd: always
|
systemd: always
|
||||||
command: /usr/sbin/init
|
command: /usr/sbin/init
|
||||||
@@ -29,6 +33,8 @@ platforms:
|
|||||||
image: docker.io/library/ubuntu:latest
|
image: docker.io/library/ubuntu:latest
|
||||||
pre_build_image: false
|
pre_build_image: false
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
|
buildargs:
|
||||||
|
MOLECULE_DISTRO: docker.io/library/ubuntu:latest
|
||||||
privileged: true
|
privileged: true
|
||||||
systemd: always
|
systemd: always
|
||||||
command: /usr/sbin/init
|
command: /usr/sbin/init
|
||||||
@@ -37,6 +43,8 @@ platforms:
|
|||||||
image: docker.io/library/ubuntu:jammy
|
image: docker.io/library/ubuntu:jammy
|
||||||
pre_build_image: false
|
pre_build_image: false
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
|
buildargs:
|
||||||
|
MOLECULE_DISTRO: docker.io/library/ubuntu:jammy
|
||||||
privileged: true
|
privileged: true
|
||||||
systemd: always
|
systemd: always
|
||||||
command: /usr/sbin/init
|
command: /usr/sbin/init
|
||||||
|
|||||||
Reference in New Issue
Block a user