Skip to content

Commit b4ab9f5

Browse files
committed
docs release-process: add set up container step
1 parent 231255f commit b4ab9f5

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

docs/release-process.md

+15-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,19 @@ This document describes the ansible community package release process.
1010
> `{PLACEHOLDER}` where `PLACEHOLDER` describes the value to fill in.
1111
1212

13+
## Set up container
14+
15+
Release managers may choose to preform the following steps inside a podman or
16+
docker container created from the [`docker.io/library/python:3.10`][container]
17+
image.
18+
Make sure to mount your working directory as a volume so you don't have to set
19+
up new repository clones every time.
20+
21+
```
22+
podman run --name ansible-release -v {PERSISTENT DIRECTORY}:/pwd:z -w /pwd -ti docker.io/library/python:3.10 bash
23+
```
24+
25+
1326
## Set up repository clones
1427

1528
First, you need to set up ansible-build-data and antsibull repository clones.
@@ -43,7 +56,7 @@ This only needs to be done once.
4356
git fetch {USERNAME} -v
4457
```
4558

46-
## Release
59+
## Preform release process
4760

4861
1. Change into the antsibull checkout.
4962
Make sure you have the `main` branch checked out
@@ -135,6 +148,7 @@ This only needs to be done once.
135148
Make sure to change the version numbers and sha256sum in the announcement
136149
text.
137150

151+
[container]: https://hub.docker.com/_/python
138152
[abd-fork]: https://github.com/ansible-community/ansible-build-data/fork
139153
[ansible-build-data]: https://github.com/ansible-community/ansible-build-data
140154
[release-playbook]: https://github.com/ansible-community/antsibull/blob/main/playbooks/build-single-release.yaml

0 commit comments

Comments
 (0)