Skip to content

Commit 9c631d3

Browse files
committed
Update cookiecutter
1 parent 37b0cc8 commit 9c631d3

File tree

4 files changed

+24
-1
lines changed

4 files changed

+24
-1
lines changed

.github/workflows/cookiecutter.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
name: "Update CI from cookiecutter"
33
on:
44
workflow_dispatch:
5+
schedule:
6+
- cron: "30 7 * * 0"
57

68
defaults:
79
run:

lint_requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ black==25.1.0
33
flake8==7.3.0
44
flake8-pyproject==1.2.3
55
isort==6.0.1
6-
mypy==1.16.0
6+
mypy==1.17.0
77
shellcheck-py==0.10.0.1
88

99
# Type annotation stubs

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,3 +202,4 @@ ignore = ["W503", "Q000", "Q003", "D100", "D104", "D106", "D200", "D202", "D205"
202202
# E401: multiple imports on one line
203203
extend-ignore = ["E203", "E401"]
204204
max-line-length = 100
205+

releasing.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Releasing (for internal use)
2+
3+
## Using Workflows
4+
5+
### Create a new Y-Release Branch
6+
7+
1. Trigger the "Create Release Branch" workflow on the "main" branch.
8+
1. Watch for the "Bump Version" PR, verify that it deletes all the changes snippets present on the new release branch, approve and merge it.
9+
10+
### Release from a Release Branch
11+
12+
1. Trigger the "pulp-cli Release" workflow on the corresponding release branch.
13+
1. Lean back and see the magic happen.
14+
1. Wait for the "pulp-cli Publish" workflow to succeed.
15+
1. Verify that a new version appeared on PyPI.
16+
1. Verify that the docs have been updated.
17+
1. [only Y-releases] Announce the release at https://discourse.pulpproject.org/c/announcements/6.
18+
1. Look for the "Update Changelog" PR, approve and merge it.
19+
20+
If some thing goes wrong look at `.ci/scripts/create_release_branch.sh` and `.ci/scripts/release.sh` and follow the intentions encoded there.

0 commit comments

Comments
 (0)