Skip to content

Commit c49faa9

Browse files
committed
Use CentOS Stream 10 for CI
And update template
1 parent 388ed80 commit c49faa9

5 files changed

Lines changed: 26 additions & 4 deletions

File tree

‎.github/workflows/scripts/before_install.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ pulp_scheme: "https"
5555
image:
5656
name: "pulp"
5757
tag: "ci_build"
58-
ci_base: "ghcr.io/pulp/pulp-ci-centos9:latest"
58+
ci_base: "ghcr.io/pulp/pulp-ci-centos10:latest"
5959
source: "${COMPONENT_SOURCE}"
6060
ci_requirements: $(test -f ci_requirements.txt && echo -n true || echo -n false)
6161
upperbounds: $(test "${TEST}" = "pulp" && echo -n true || echo -n false)

‎MANIFEST.in‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ include unittest_requirements.txt
1111
include pulp_python/app/webserver_snippets/*
1212
include pulp_python/tests/functional/assets/*
1313
exclude releasing.md
14-
15-
exclude .gitleaks.toml
14+
exclude Makefile
15+
exclude .gitleaks.toml

‎Makefile‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# WARNING: DO NOT EDIT!
2+
#
3+
# This file was generated by plugin_template, and is managed by it. Please use
4+
# './plugin-template --ci pulp_python' to update this file.
5+
#
6+
# For more info visit https://github.com/pulp/plugin_template
7+
8+
.PHONY: format
9+
format:
10+
ruff format
11+
ruff check --select I --fix
12+
13+
.PHONY: lint
14+
lint:
15+
yamllint -s -d '{extends: relaxed, rules: {line-length: disable}}' .github/workflows
16+
bump-my-version bump --dry-run --allow-dirty release
17+
ruff format --check --diff
18+
ruff check
19+
check-manifest
20+
python .ci/scripts/check_requirements.py
21+
sh .ci/scripts/check_pulpcore_imports.sh

‎pyproject.toml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ filename = "./pyproject.toml"
125125
search = "version = \"{current_version}\""
126126
replace = "version = \"{new_version}\""
127127

128+
128129
[tool.black]
129130
line-length = 100
130131

‎template_config.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
check_commit_message: true
1010
check_manifest: true
1111
check_stray_pulpcore_imports: true
12-
ci_base_image: "ghcr.io/pulp/pulp-ci-centos9"
12+
ci_base_image: "ghcr.io/pulp/pulp-ci-centos10"
1313
ci_env: {}
1414
ci_trigger: "{pull_request: {branches: ['*']}}"
1515
cli_package: "pulp-cli"

0 commit comments

Comments
 (0)