Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CI files for branch 3.3 #1247

Merged
merged 1 commit into from
Mar 10, 2025
Merged
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
Update CI files
  • Loading branch information
pulpbot committed Mar 9, 2025
commit 3f3d6e47fb80f7154ff663d7ddde35e6d7f5f5f2
4 changes: 3 additions & 1 deletion .ci/scripts/calc_constraints.py
Original file line number Diff line number Diff line change
@@ -83,13 +83,15 @@ def to_lower_bound(req):
else:
for spec in requirement.specifier:
if spec.operator == ">=":
min_version = spec.version
if requirement.name == "pulpcore":
# Currently an exception to allow for pulpcore bugfix releases.
# TODO Semver libraries should be allowed too.
operator = "~="
if len(Version(min_version).release) != 3:
raise RuntimeError("Pulpcore lower bound must be in the form '>=x.y.z'.")
else:
operator = "=="
min_version = spec.version
return f"{requirement.name}{operator}{min_version}"
return f"# NO LOWER BOUND: {req}"

2 changes: 1 addition & 1 deletion .github/template_gitref
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2021.08.26-426-g3a3f8a1
2021.08.26-430-gc1faf10
4 changes: 4 additions & 0 deletions .github/workflows/scripts/before_script.sh
Original file line number Diff line number Diff line change
@@ -32,6 +32,10 @@ tail -v -n +1 .ci/ansible/settings/settings.* ~/.config/pulp_smash/settings.json
echo "Containerfile:"
tail -v -n +1 .ci/ansible/Containerfile

echo "Constraints Files:"
# The need not even exist.
tail -v -n +1 ../*/*constraints.txt || true

# Needed for some functional tests
cmd_prefix bash -c "echo '%wheel ALL=(ALL) NOPASSWD: ALL' > /etc/sudoers.d/nopasswd"
cmd_prefix bash -c "usermod -a -G wheel pulp"
2 changes: 2 additions & 0 deletions .github/workflows/scripts/script.sh
Original file line number Diff line number Diff line change
@@ -28,6 +28,8 @@ export PULP_URL="https://pulp"

REPORTED_STATUS="$(pulp status)"

echo "${REPORTED_STATUS}"

echo "machine pulp
login admin
password password