Skip to content

Commit

Permalink
Document the new vision of the pulp CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mdellweg committed Nov 24, 2023
1 parent 00fc285 commit 2f7f6bb
Show file tree
Hide file tree
Showing 3 changed files with 73 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
__pycache__
ci-structure.pdf
71 changes: 71 additions & 0 deletions ci-structure.dot
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
// dot -Tpdf -o ci-structure.pdf ci-structure.dot

digraph "Pulp CI" {
{
rank=source

git [shape=parallelogram]
base [label="OCI-Base"]
}

subgraph cluster_jobs {
label="CI Jobs"

lint [shape=box]
prerelease [shape=box label="prerelease checks"]
build [shape=box, label="build wheel"]
build2 [shape=box label="build docs & bindings"]
tests [shape=box3d]
{
rank=same

deprecations [shape=box]
publish [shape=box]
}
}

{
rank=sink

PyPi [shape=parallelogram]
rubygems [shape=parallelogram]
ppo [shape=parallelogram label="pulpproject.org"]
}

subgraph cluster_built {
label="Build Artifacts"

wheel -> apidoc -> {
bindings
docs
}
}

git -> lint [label="PR"]
git -> build [label="nightly"]
git -> prerelease [label="tag"]
{lint prerelease} -> build -> build2
build2 -> tests [label="PR"]
build2 -> publish [label="Release"]
tests -> deprecations

{
edge [style=dotted]

publish -> PyPi
publish -> rubygems
publish -> ppo
}

{
edge [style=dashed]

base -> {build2 tests}

build -> wheel
build2 -> {apidoc bindings docs}
wheel -> {tests build2 publish}
bindings -> {tests publish}
docs -> publish
}
}
2 changes: 1 addition & 1 deletion templates/github/.github/workflows/publish.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ jobs:
- name: Create release on GitHub
uses: actions/github-script@v7
env:
TAG_NAME: {{ '${{ inputs.release }}' }}
TAG_NAME: {{ '${{ github.ref_name }}' }}
with:
const { TAG_NAME } = process.env;

Expand Down

0 comments on commit 2f7f6bb

Please sign in to comment.