Skip to content

Commit b11c03b

Browse files
committed
Update Cookiecutter
1 parent 1702bd0 commit b11c03b

File tree

4 files changed

+5
-1
lines changed

4 files changed

+5
-1
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ jobs:
4949
pulp_https: "true"
5050
python: "3.11"
5151
- image_tag: "latest"
52+
oas_version: "3.1.1"
5253
python: "3.11"
5354
upper_bounds: true
54-
oas_version: "3.1.1"
5555
- image_tag: "3.63"
5656
pulp_https: "true"
5757
pulp_oauth2: "true"

cookiecutter/ci/{{ cookiecutter.__project_name }}/.ci/run_container.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ export PULP_CONTENT_ORIGIN
7272
"${CONTAINER_RUNTIME}" \
7373
run ${RM:+--rm} \
7474
--env S6_KEEP_ENV=1 \
75+
${OAS_VERSION:+--env PULP_SPECTACULAR_SETTINGS__OAS_VERSION="${OAS_VERSION}"} \
7576
${PULP_HTTPS:+--env PULP_HTTPS} \
7677
${PULP_OAUTH2:+--env PULP_OAUTH2} \
7778
${PULP_API_ROOT:+--env PULP_API_ROOT} \

cookiecutter/ci/{{ cookiecutter.__project_name }}/.github/workflows/release_branch.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ jobs:
88
runs-on: "ubuntu-latest"
99
steps:
1010
- uses: "actions/checkout@v4"
11+
with:
12+
token: "${{ secrets.RELEASE_TOKEN }}"
1113
- name: "Set up Python"
1214
uses: "actions/setup-python@v5"
1315
with:

cookiecutter/ci/{{ cookiecutter.__project_name }}/.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ jobs:
8282
PULP_HTTPS: "${{ matrix.pulp_https }}"
8383
PULP_OAUTH2: "${{ matrix.pulp_oauth2 }}"
8484
PULP_API_ROOT: "${{ matrix.pulp_api_root }}"
85+
OAS_VERSION: "${{ matrix.oas_version }}"
8586
{%- endraw %}
8687
run: |
8788
.ci/run_container.sh make {% if cookiecutter.unittests %}live{% endif %}test

0 commit comments

Comments
 (0)