Skip to content

Commit a5fdbf8

Browse files
committed
Cleanup
1 parent 4f35313 commit a5fdbf8

File tree

4 files changed

+18
-50
lines changed

4 files changed

+18
-50
lines changed

.github/workflows/pulp-docs-ci.yml renamed to .github/workflows/docs-ci.yml

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: 'Docs CI'
2+
23
on:
34
workflow_call:
45

.github/workflows/docs.yml

-32
This file was deleted.

.github/workflows/pr.yml

+16-16
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,21 @@ concurrency:
99

1010
jobs:
1111
docs:
12-
uses: ./.github/workflows/pulp-docs-ci.yml
12+
uses: ./.github/workflows/docs-ci.yml
1313

14-
# tests:
15-
# uses: "./.github/workflows/tests.yml"
14+
tests:
15+
uses: "./.github/workflows/tests.yml"
1616

17-
# ready-to-ship:
18-
# # This is a dummy dependent task to have a single entry for the branch protection rules.
19-
# runs-on: "ubuntu-latest"
20-
# needs:
21-
# - "docs"
22-
# - "tests"
23-
# if: "always()"
24-
# steps:
25-
# - name: "Collect needed jobs results"
26-
# run: |
27-
# echo '${{toJson(needs)}}' | jq -r 'to_entries[]|select(.value.result!="success")|.key + ": " + .value.result'
28-
# echo '${{toJson(needs)}}' | jq -e 'to_entries|map(select(.value.result!="success"))|length == 0'
29-
# echo "CI says: Looks good!"
17+
ready-to-ship:
18+
# This is a dummy dependent task to have a single entry for the branch protection rules.
19+
runs-on: "ubuntu-latest"
20+
needs:
21+
- "docs"
22+
- "tests"
23+
if: "always()"
24+
steps:
25+
- name: "Collect needed jobs results"
26+
run: |
27+
echo '${{toJson(needs)}}' | jq -r 'to_entries[]|select(.value.result!="success")|.key + ": " + .value.result'
28+
echo '${{toJson(needs)}}' | jq -e 'to_entries|map(select(.value.result!="success"))|length == 0'
29+
echo "CI says: Looks good!"

Makefile

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
docs:
2-
pulp-docs fetch --dest /tmp/pulpdocs-tmp
3-
pulp-docs build --path pulp-docs@..:/tmp/pulpdocs-tmp
2+
mkdocs build
43

54
.PHONY: docs

0 commit comments

Comments
 (0)