From 0fa0f5a6e62054f57e723658c3fadca3b3f1632b Mon Sep 17 00:00:00 2001 From: pulpbot Date: Wed, 17 Jul 2024 14:53:28 +0000 Subject: [PATCH] Update CI files [noissue] --- .ci/scripts/calc_constraints.py | 2 ++ .github/template_gitref | 2 +- .github/workflows/nightly.yml | 20 ++++++++++++++++++++ .github/workflows/test.yml | 1 - template_config.yml | 4 ++-- 5 files changed, 25 insertions(+), 4 deletions(-) diff --git a/.ci/scripts/calc_constraints.py b/.ci/scripts/calc_constraints.py index a29b5ee2..0497911f 100755 --- a/.ci/scripts/calc_constraints.py +++ b/.ci/scripts/calc_constraints.py @@ -62,6 +62,8 @@ def to_upper_bound(req): max_version = f"{version.major}.{version.minor}.{version.micro-1}" elif version.minor != 0: max_version = f"{version.major}.{version.minor-1}" + elif version.major != 0: + max_version = f"{version.major-1}.0" else: return f"# NO BETTER CONSTRAINT: {req}" return f"{requirement.name}{operator}{max_version}" diff --git a/.github/template_gitref b/.github/template_gitref index c16f42b6..1cc8c6c4 100644 --- a/.github/template_gitref +++ b/.github/template_gitref @@ -1 +1 @@ -2021.08.26-354-g82d22de +2021.08.26-358-gbbc565e diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 4af2fb22..404b1341 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -98,6 +98,26 @@ jobs: name: "plugin_package" path: "pulp_deb/dist/" + - name: "Download API specs" + uses: "actions/download-artifact@v4" + with: + name: "api_spec" + path: "pulp_deb/" + + - name: "Download client packages" + uses: "actions/download-artifact@v4" + with: + name: "python-client.tar" + path: "pulp_deb" + + - name: "Unpack client packages" + working-directory: "pulp-openapi-generator" + run: | + mkdir -p "pulp_deb-client" + pushd "pulp_deb-client" + tar xvf "../../pulp_deb/deb-python-client.tar" + popd + - uses: "actions/setup-python@v5" with: python-version: "3.11" diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 95d20eeb..3fe9607f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,7 +22,6 @@ jobs: matrix: env: - TEST: pulp - - TEST: docs - TEST: azure - TEST: s3 - TEST: lowerbounds diff --git a/template_config.yml b/template_config.yml index 5b9cb3e5..10fc59c4 100644 --- a/template_config.yml +++ b/template_config.yml @@ -12,7 +12,7 @@ check_stray_pulpcore_imports: true ci_base_image: ghcr.io/pulp/pulp-ci-centos9 ci_env: {} ci_trigger: '{pull_request: {branches: [''*'']}}' -ci_update_docs: true +ci_update_docs: false cli_package: pulp-cli-deb cli_repo: https://github.com/pulp/pulp-cli-deb.git core_import_allowed: [] @@ -22,7 +22,7 @@ deploy_to_pypi: true disabled_redis_runners: [] doc_requirements_from_pulpcore: false docker_fixtures: true -docs_test: true +docs_test: false flake8: true flake8_ignore: [] github_org: pulp