{% extends "base.html" %} {% import "repo_tabs.html" as m %} {% block title %}Flow · {{ repo.owner }}/{{ repo.name }}{% endblock %} {% block bodyattrs %} data-repo="{{ repo.url }}"{% endblock %} {% block tabs %}{% call m::tabs(repo, "flow") %}{% endblock %} {% block content %}

Flow pipeline runs

{% if can_run %}
{% endif %}
{% if let Some(e) = error %}

Could not start a run: {{ e }}

{% endif %} {% if runs.is_empty() %}
{% if enabled %}

No runs yet. Add .flow/pipeline.kdl to a bookmark and push: every push that moves a bookmark runs it in OxygenFlow microVMs.

{% else %}

OxygenFlow is not enabled for this repository. A site administrator turns it on under Settings → OxygenFlow.

{% endif %}
schema-version 1

sandbox "alpine" {
    runtime "microvm"
    rootfs "cas://blob/…"   // flow rootfs import prints this
    memory-limit "512MiB"
}

job "test" {
    sandbox "alpine"
    exec "sh" "-eu" "test.sh"
}
{% else %} {% for row in runs %} {% endfor %}
RunJobsBookmarkStateByWhenTook
{{ crate::web::flow::glyph(row.r.status) }} #{{ row.r.number }} {{ row.r.status }} {% for (n, s) in row.jobs %}{{ crate::web::flow::glyph(s) }}{% endfor %}{% if row.r.status == "error" %}pipeline invalid{% endif %} {{ row.r.bookmark }} {{ row.r.state|short }} {{ row.r.actor }} {{ row.duration }}
{% if let Some(b) = older %}

older runs

{% endif %} {% endif %} {% endblock %}