Hello from {{ f.infra }}

A Flask site built and deployed by Gitea Actions on a sealed node. Commit {{ f.sha[:12] }}, running on {{ f.hostname }}.

{% set sealed_build = f.build and f.build.sealed %}

{% if sealed_build and f.now.sealed %}No internet at build time, no internet now {% else %}Internet reachable: {% if not sealed_build %}at build time{% endif %}{% if not f.now.sealed %} now{% endif %}{% endif %} {% if f.now.gitea_ok %}Gitea reachable{% elif f.gitea %}Gitea not reachable{% endif %} {% if f.proxy %}{% if f.proxy.ok %}Named exceptions through the proxy only{% else %}Proxy not as expected{% endif %}{% endif %}

Right now, from this container

{% for r in f.now.results %}{% set is_gitea = r.target.startswith(f.gitea ~ ':') %}{% endfor %}
{{ r.target }}{% if is_gitea %} (Gitea){% endif %}{{ 'reachable' if is_gitea and r.result == 'REACHED' else r.result }} {{ r.detail }}, {{ r.ms }} ms

Measured on every page load. Reload to measure again. rejected = the node's firewall refused the connection; timeout = it dropped the packets (what containers and pods get); unresolvable = no DNS. All three mean no internet.

At build time, inside docker build

{% if f.build %} {% for r in f.build.results %}{% set is_gitea = r.target.startswith(f.gitea ~ ':') %}{% endfor %}
{{ r.target }}{% if is_gitea %} (Gitea){% endif %}{{ 'reachable' if is_gitea and r.result == 'REACHED' else r.result }} {{ r.detail }}
when{{ f.build.when }} on {{ f.build.hostname[:12] }}

The Dockerfile refuses to build when any public target answers, so this image could not exist otherwise.

{% else %}

No build proof in this image.

{% endif %}

Through the proxy

{% if f.proxy %} {% for r in f.proxy.results %}{% endfor %}
{{ r.target }}{{ r.result }} {{ r.detail }}, {{ r.ms }} ms{% if r.result != r.expected %}; expected {{ r.expected }}{% endif %}

Through {{ f.proxy.url }}, the egress proxy: the names on its allow list are reached, anything else is refused. Only programs that use HTTPS_PROXY get this far; the first card is the direct path, which stays closed.

{% else %}

No egress proxy variables in this container, so nothing here can reach the internet by name either. With egress_proxy in servers.yml and outpost proxy setup, this card lists the allowed names, reached through the proxy, and example.com, refused.

{% endif %}

Where the packages came from

pip
{{ f.pip_conf }}
apt
{{ f.apt_sources }}
images{{ f.gitea or 'gitea' }}/pkgs/library/python:3.12-slim, the Gitea copy of python:3.12-slim

What is installed

{% for name, version in f.packages.items() %}{% endfor %}
Python{{ f.python }}
{{ name }}{{ version }}
curlfrom apt, through Gitea

Source and workflow: {{ f.gitea }}, repository demo, tab Actions. Change demo/app/templates/index.html on your laptop, run outpost demo push, and this page changes. Health: /healthz