Skip to content

Commit 2e454ee

Browse files
committed
Update CI files
1 parent fda8d0b commit 2e454ee

File tree

3 files changed

+53
-41
lines changed

3 files changed

+53
-41
lines changed

.ci/assets/ci_constraints.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Pulpcore versions without the openapi command do no longer work in the CI
2-
pulpcore>=3.21.30,!=3.23.*,!=3.24.*,!=3.25.*,!=3.26.*,!=3.27.*,!=3.29.*,!=3.30.*,!=3.31.*,!=3.32.*,!=3.33.*,!=3.34.*,!=3.35.*,!=3.36.*,!=3.37.*,!=3.38.*,!=3.40.*,!=3.41.*,!=3.42.*,!=3.43.*,!=3.44.*,!=3.45.*,!=3.46.*,!=3.47.*,!=3.48.*,!=3.50.*,!=3.51.*,!=3.52.*,!=3.53.*,!=3.54.*
2+
# Pulpcore versions without the django 5 storage compatibility will fail, >3.63,<3.70
3+
pulpcore>=3.21.30,!=3.23.*,!=3.24.*,!=3.25.*,!=3.26.*,!=3.27.*,!=3.29.*,!=3.30.*,!=3.31.*,!=3.32.*,!=3.33.*,!=3.34.*,!=3.35.*,!=3.36.*,!=3.37.*,!=3.38.*,!=3.40.*,!=3.41.*,!=3.42.*,!=3.43.*,!=3.44.*,!=3.45.*,!=3.46.*,!=3.47.*,!=3.48.*,!=3.50.*,!=3.51.*,!=3.52.*,!=3.53.*,!=3.54.*,!=3.64.*,!=3.65.*,!=3.66.*,!=3.67.*,!=3.68.*,!=3.69.*
34

45

56
tablib!=3.6.0

.ci/scripts/check_release.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,20 @@
11
#!/usr/bin/env python
2+
# /// script
3+
# requires-python = ">=3.13"
4+
# dependencies = [
5+
# "gitpython>=3.1.46,<3.2.0",
6+
# "packaging>=26.0,<26.1",
7+
# "pyyaml>=6.0.3,<6.1.0",
8+
# ]
9+
# ///
210

311
import argparse
412
import re
513
import os
614
import tomllib
7-
import yaml
815
from pathlib import Path
16+
17+
import yaml
918
from packaging.version import Version
1019
from git import Repo
1120

template_config.yml

Lines changed: 41 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,21 @@
22
# were not present before running plugin-template have been added with their default values.
33

44
# generated with plugin_template
5+
#
6+
# After editing this file please always reapply the plugin template before committing any changes.
57

6-
api_root: /pulp/
8+
---
9+
api_root: "/pulp/"
710
black: false
811
check_commit_message: true
912
check_gettext: true
1013
check_manifest: true
1114
check_stray_pulpcore_imports: true
12-
ci_base_image: ghcr.io/pulp/pulp-ci-centos9
15+
ci_base_image: "ghcr.io/pulp/pulp-ci-centos9"
1316
ci_env: {}
14-
ci_trigger: '{pull_request: {branches: [''*'']}}'
15-
cli_package: pulp-cli
16-
cli_repo: https://github.com/pulp/pulp-cli.git
17+
ci_trigger: "{pull_request: {branches: ['*']}}"
18+
cli_package: "pulp-cli"
19+
cli_repo: "https://github.com/pulp/pulp-cli.git"
1720
core_import_allowed: []
1821
deploy_client_to_pypi: true
1922
deploy_client_to_rubygems: true
@@ -23,68 +26,66 @@ docker_fixtures: false
2326
extra_files: []
2427
flake8: true
2528
flake8_ignore: []
26-
github_org: pulp
27-
latest_release_branch: '3.12'
29+
github_org: "pulp"
30+
latest_release_branch: "3.12"
2831
lint_requirements: true
2932
os_required_packages: []
3033
parallel_test_workers: 8
31-
plugin_app_label: python
32-
plugin_default_branch: main
33-
plugin_name: pulp_python
34+
plugin_app_label: "python"
35+
plugin_default_branch: "main"
36+
plugin_name: "pulp_python"
3437
plugins:
35-
- app_label: python
36-
name: pulp_python
37-
post_job_template: null
38-
pre_job_template: null
38+
- app_label: "python"
39+
name: "pulp_python"
3940
pulp_env: {}
4041
pulp_env_azure: {}
4142
pulp_env_gcp: {}
4243
pulp_env_s3: {}
43-
pulp_scheme: https
44+
pulp_scheme: "https"
4445
pulp_settings:
45-
allowed_export_paths: /tmp
46-
allowed_import_paths: /tmp
46+
allowed_export_paths: "/tmp"
47+
allowed_import_paths: "/tmp"
4748
orphan_protection_time: 0
48-
pypi_api_hostname: https://pulp:443
49+
pypi_api_hostname: "https://pulp:443"
4950
pulp_settings_azure:
50-
AZURE_ACCOUNT_KEY: Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==
51-
AZURE_ACCOUNT_NAME: devstoreaccount1
52-
AZURE_CONNECTION_STRING: DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://ci-azurite:10000/devstoreaccount1;
53-
AZURE_CONTAINER: pulp-test
54-
AZURE_LOCATION: pulp3
51+
AZURE_ACCOUNT_KEY: "Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw=="
52+
AZURE_ACCOUNT_NAME: "devstoreaccount1"
53+
AZURE_CONNECTION_STRING: "DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://ci-azurite:10000/devstoreaccount1;"
54+
AZURE_CONTAINER: "pulp-test"
55+
AZURE_LOCATION: "pulp3"
5556
AZURE_OVERWRITE_FILES: true
5657
AZURE_URL_EXPIRATION_SECS: 120
57-
DEFAULT_FILE_STORAGE: storages.backends.azure_storage.AzureStorage
58-
MEDIA_ROOT: ''
58+
DEFAULT_FILE_STORAGE: "storages.backends.azure_storage.AzureStorage"
59+
MEDIA_ROOT: ""
5960
content_origin: null
6061
domain_enabled: true
6162
pulp_settings_gcp: null
6263
pulp_settings_s3:
63-
MEDIA_ROOT: ''
64+
MEDIA_ROOT: ""
6465
STORAGES:
6566
default:
66-
BACKEND: storages.backends.s3boto3.S3Boto3Storage
67+
BACKEND: "storages.backends.s3boto3.S3Boto3Storage"
6768
OPTIONS:
68-
access_key: AKIAIT2Z5TDYPX3ARJBA
69-
addressing_style: path
70-
bucket_name: pulp3
71-
default_acl: '@none'
72-
endpoint_url: http://minio:9000
73-
region_name: eu-central-1
74-
secret_key: fqRvjWaPU5o0fCqQuUWbj9Fainj2pVZtBCiDiieS
75-
signature_version: s3v4
69+
access_key: "AKIAIT2Z5TDYPX3ARJBA"
70+
addressing_style: "path"
71+
bucket_name: "pulp3"
72+
default_acl: "@none"
73+
endpoint_url: "http://minio:9000"
74+
region_name: "eu-central-1"
75+
secret_key: "fqRvjWaPU5o0fCqQuUWbj9Fainj2pVZtBCiDiieS"
76+
signature_version: "s3v4"
7677
staticfiles:
77-
BACKEND: django.contrib.staticfiles.storage.StaticFilesStorage
78+
BACKEND: "django.contrib.staticfiles.storage.StaticFilesStorage"
7879
domain_enabled: true
7980
pydocstyle: true
80-
release_email: pulp-infra@redhat.com
81-
release_user: pulpbot
81+
release_email: "pulp-infra@redhat.com"
82+
release_user: "pulpbot"
8283
stalebot: true
8384
stalebot_days_until_close: 30
8485
stalebot_days_until_stale: 90
8586
stalebot_limit_to_pulls: true
8687
supported_release_branches:
87-
- '3.11'
88+
- "3.11"
8889
sync_ci: true
8990
test_azure: true
9091
test_cli: true
@@ -95,4 +96,5 @@ test_performance: false
9596
test_reroute: true
9697
test_s3: true
9798
use_issue_template: true
99+
...
98100

0 commit comments

Comments
 (0)