{{ define "title" }}pipelines · {{ .RepoInfo.FullName }}{{ end }} {{ define "extrameta" }} {{ $title := "pipelines"}} {{ $url := printf "https://tangled.org/%s/pipelines" .RepoInfo.FullName }} {{ template "repo/fragments/og" (dict "RepoInfo" .RepoInfo "Title" $title "Url" $url) }} {{ end }} {{ define "repoContent" }} {{ $active := .FilterKind }} {{ $all := (dict "Key" "all" "Value" "all" "Icon" "package" "Meta" "") }} {{ $push := (dict "Key" "push" "Value" "push" "Icon" "git-commit-horizontal" "Meta" "") }} {{ $pr := (dict "Key" "pull_request" "Value" "pull request" "Icon" "git-pull-request" "Meta" "") }} {{ $values := list $all $push $pr }}
{{ template "fragments/tabSelector" (dict "Name" "trigger" "Values" $values "Active" .FilterKind) }}
{{ .Total }} pipeline run{{ if ne .Total 1 }}s{{ end }}
{{ end }} {{ define "repoAfter" }} {{ if .Pipelines }}
{{ range .Pipelines }} {{ template "pipelineCard" (dict "Root" $ "Pipeline" .) }} {{ end }}
{{ else }}
{{ i "package" "size-16 text-gray-300 dark:text-gray-700" }}

No pipelines have been run yet

Get started by configuring CI/CD for this repository

1

Choose a spindle in your repository settings

2

Configure your CI/CD pipeline

3

Trigger a workflow with a push or pull request

{{ end }} {{ end }} {{ define "pipelineCard" }} {{ $root := .Root }} {{ $p := .Pipeline }} {{ with $p }}
{{ template "repo/fragments/time" .Created }}
{{ $t := .TimeTaken }} {{ if $t }} {{ i "clock" "size-3" }} {{ else }} -- {{ end }}
{{ end }} {{ end }}