Compare commits

..

3 commits

Author SHA1 Message Date
dcf07b1ebb Missed one
Some checks failed
/ Ansible Lint (pull_request) Successful in 2m29s
/ Ansible Lint (push) Successful in 2m33s
/ build (pull_request) Failing after 2m41s
2026-06-19 12:17:07 +02:00
2d569848a7 Make check more resilient
Some checks failed
/ Ansible Lint (push) Has been cancelled
/ build (pull_request) Has been cancelled
/ Ansible Lint (pull_request) Has been cancelled
Some redirects have a trailing slash, some dont. Both are legal.

This pattern will also catch "deep" redirects correctly.
2026-06-19 12:16:25 +02:00
eb6bde9445 Use new HEADERS.location feature
Some checks failed
/ Ansible Lint (push) Successful in 3m13s
/ build (pull_request) Failing after 2m41s
/ Ansible Lint (pull_request) Successful in 2m53s
Check the actual redirect, and not the contents of the redirected-to site.
2026-06-19 12:04:23 +02:00

View file

@ -187,55 +187,69 @@ endpoints:
- name: www.c3cat.de - name: www.c3cat.de
url: "https://www.c3cat.de" url: "https://www.c3cat.de"
<<: *websites_redirects_defaults <<: *websites_redirects_defaults
client:
ignore-redirect: true
conditions: conditions:
- "[STATUS] == 200" - "[STATUS] == 302"
- "[HEADERS].location == pat(https://c3cat.de*)"
- "[CERTIFICATE_EXPIRATION] > 48h" - "[CERTIFICATE_EXPIRATION] > 48h"
- "[BODY] == pat(*Cat Ears Operation Center*)"
- name: www.c3dog.de - name: www.c3dog.de
url: "https://www.c3dog.de" url: "https://www.c3dog.de"
<<: *websites_redirects_defaults <<: *websites_redirects_defaults
client:
ignore-redirect: true
conditions: conditions:
- "[STATUS] == 200" - "[STATUS] == 302"
- "[HEADERS].location == pat(https://c3dog.de*)"
- "[CERTIFICATE_EXPIRATION] > 48h" - "[CERTIFICATE_EXPIRATION] > 48h"
- "[BODY] == pat(*Dog Ears Operation Center*)"
- name: cryptoparty.hamburg.ccc.de - name: cryptoparty.hamburg.ccc.de
url: "https://cryptoparty.hamburg.ccc.de" url: "https://cryptoparty.hamburg.ccc.de"
<<: *websites_redirects_defaults <<: *websites_redirects_defaults
client:
ignore-redirect: true
conditions: conditions:
- "[STATUS] == 200" - "[STATUS] == 302"
- "[HEADERS].location == pat(https://cryptoparty-hamburg.de*)"
- "[CERTIFICATE_EXPIRATION] > 48h" - "[CERTIFICATE_EXPIRATION] > 48h"
- "[BODY] == pat(*Digitale Selbstverteidigung in Hamburg*)"
- name: local.ccc.de - name: local.ccc.de
url: "https://local.ccc.de" url: "https://local.ccc.de"
<<: *websites_redirects_defaults <<: *websites_redirects_defaults
client:
ignore-redirect: true
conditions: conditions:
- "[STATUS] == 200" - "[STATUS] == 302"
- "[HEADERS].location == pat(https://cpu.ccc.de*)"
- "[CERTIFICATE_EXPIRATION] > 48h" - "[CERTIFICATE_EXPIRATION] > 48h"
- "[BODY] == pat(*cpu.ccc.de | aus den Dezentralen*)"
- name: lokal.ccc.de - name: lokal.ccc.de
url: "https://lokal.ccc.de" url: "https://lokal.ccc.de"
<<: *websites_redirects_defaults <<: *websites_redirects_defaults
client:
ignore-redirect: true
conditions: conditions:
- "[STATUS] == 200" - "[STATUS] == 302"
- "[HEADERS].location == pat(https://cpu.ccc.de*)"
- "[CERTIFICATE_EXPIRATION] > 48h" - "[CERTIFICATE_EXPIRATION] > 48h"
- "[BODY] == pat(*cpu.ccc.de | aus den Dezentralen*)"
- name: staging.cryptoparty.hamburg.ccc.de - name: staging.cryptoparty.hamburg.ccc.de
url: "https://staging.cryptoparty.hamburg.ccc.de" url: "https://staging.cryptoparty.hamburg.ccc.de"
<<: *websites_redirects_defaults <<: *websites_redirects_defaults
client:
ignore-redirect: true
conditions: conditions:
- "[STATUS] == 200" - "[STATUS] == 302"
- "[HEADERS].location == pat(https://staging.cryptoparty-hamburg.de*)"
- "[CERTIFICATE_EXPIRATION] > 48h" - "[CERTIFICATE_EXPIRATION] > 48h"
- "[BODY] == pat(*cryptoparty-hamburg.de Staging Environment*)"
- name: www.hamburg.ccc.de - name: www.hamburg.ccc.de
url: "https://www.hamburg.ccc.de" url: "https://www.hamburg.ccc.de"
<<: *websites_redirects_defaults <<: *websites_redirects_defaults
client:
ignore-redirect: true
conditions: conditions:
- "[STATUS] == 200" - "[STATUS] == 302"
- "[HEADERS].location == pat(https://hamburg.ccc.de*)"
- "[CERTIFICATE_EXPIRATION] > 48h" - "[CERTIFICATE_EXPIRATION] > 48h"
- "[BODY] == pat(*STATUS_CANARY_HAMBURG_CCC_DE_DO_NOT_TOUCH*)"