Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .ci/scripts/check_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,9 @@ def main(options: argparse.Namespace, template_config: dict[str, t.Any]) -> int:

# Warning: This will not work if branch names contain "/" but we don't really care here.
heads = [h.split("/")[-1] for h in repo.git.branch("--remote").split("\n")]
available_branches = [h for h in heads if re.fullmatch(RELEASE_BRANCH_REGEX, h)]
available_branches.sort(key=lambda ver: Version(ver))
available_branches.append(DEFAULT_BRANCH)
available_branches = sorted(
{h for h in heads if re.fullmatch(RELEASE_BRANCH_REGEX, h)}, key=lambda ver: Version(ver)
) + [DEFAULT_BRANCH]

branches = options.branches
if branches == "supported":
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@ jobs:
pulpcore-manager openapi --file "api.json"
pulpcore-manager openapi --bindings --component "python" --file "python-api.json"
- name: "Upload Package whl"
uses: "actions/upload-artifact@v5"
uses: "actions/upload-artifact@v7"
with:
name: "plugin_package"
path: "pulp_python/dist/"
if-no-files-found: "error"
retention-days: 5
overwrite: true
- name: "Upload API specs"
uses: "actions/upload-artifact@v5"
uses: "actions/upload-artifact@v7"
with:
name: "api_spec"
path: |
Expand All @@ -73,7 +73,7 @@ jobs:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
GITHUB_CONTEXT: "${{ github.event.pull_request.commits_url }}"
- name: "Upload python client packages"
uses: "actions/upload-artifact@v5"
uses: "actions/upload-artifact@v7"
with:
name: "python-client.tar"
path: |
Expand All @@ -82,7 +82,7 @@ jobs:
retention-days: 5
overwrite: true
- name: "Upload python client docs"
uses: "actions/upload-artifact@v5"
uses: "actions/upload-artifact@v7"
with:
name: "python-client-docs.tar"
path: |
Expand All @@ -100,7 +100,7 @@ jobs:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
GITHUB_CONTEXT: "${{ github.event.pull_request.commits_url }}"
- name: "Upload Ruby client"
uses: "actions/upload-artifact@v5"
uses: "actions/upload-artifact@v7"
with:
name: "ruby-client.tar"
path: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
id-token: "write"

steps:
- uses: "actions/download-artifact@v4"
- uses: "actions/download-artifact@v8"
with:
name: "plugin_package"
path: "dist/"
Expand All @@ -53,7 +53,7 @@ jobs:
path: "pulp_python"

- name: "Download Python client"
uses: "actions/download-artifact@v4"
uses: "actions/download-artifact@v8"
with:
name: "python-client.tar"
path: "pulp_python/"
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
path: "pulp_python"

- name: "Download Ruby client"
uses: "actions/download-artifact@v4"
uses: "actions/download-artifact@v8"
with:
name: "ruby-client.tar"
path: "pulp_python/"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ jobs:
docker logs pulp 2>&1 | grep -i pulpcore.deprecation | tee deprecations-${{ matrix.env.TEST }}.txt

- name: "Upload Deprecations"
uses: "actions/upload-artifact@v5"
uses: "actions/upload-artifact@v7"
with:
name: "deprecations-${{ matrix.env.TEST }}"
path: "pulp_python/deprecations-${{ matrix.env.TEST }}.txt"
Expand Down