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 2.18 #1520

Merged
merged 1 commit into from
Feb 20, 2024
Merged
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
2 changes: 1 addition & 1 deletion .github/template_gitref
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2021.08.26-315-g8ecb63d
2021.08.26-316-g69ef1f6
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
path: "pulp_container"
- uses: "actions/setup-python@v4"
with:
python-version: "3.8"
python-version: "3.11"
- name: "Install python dependencies"
run: |
echo ::group::PYDEPS
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:

- uses: "actions/setup-python@v4"
with:
python-version: "3.8"
python-version: "3.11"

- name: "Install python dependencies"
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
path: "pulp_container"
- uses: "actions/setup-python@v4"
with:
python-version: "3.8"
python-version: "3.11"
- name: "Install python dependencies"
run: |
echo ::group::PYDEPS
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:

- uses: "actions/setup-python@v4"
with:
python-version: "3.8"
python-version: "3.11"

- name: "Install python dependencies"
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:

- uses: "actions/setup-python@v4"
with:
python-version: "3.8"
python-version: "3.11"

- name: "Install python dependencies"
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:

- uses: "actions/setup-python@v4"
with:
python-version: "3.8"
python-version: "3.11"

- name: "Install python dependencies"
run: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:

- uses: "actions/setup-python@v4"
with:
python-version: "3.8"
python-version: "3.11"

- uses: "actions/download-artifact@v3"
with:
Expand Down Expand Up @@ -152,7 +152,7 @@ jobs:

- uses: "actions/setup-python@v4"
with:
python-version: "3.8"
python-version: "3.11"

- name: "Install python dependencies"
run: |
Expand Down Expand Up @@ -195,7 +195,7 @@ jobs:

- uses: "actions/setup-python@v4"
with:
python-version: "3.8"
python-version: "3.11"

- name: "Install python dependencies"
run: |
Expand Down Expand Up @@ -265,7 +265,7 @@ jobs:

- uses: "actions/setup-python@v4"
with:
python-version: "3.8"
python-version: "3.11"

- name: "Install python dependencies"
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:

- uses: "actions/setup-python@v4"
with:
python-version: "3.8"
python-version: "3.11"

- name: "Install python dependencies"
run: |
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -162,10 +162,17 @@ cat "$CERTIFI" | sudo tee -a "$CERT" > /dev/null
sudo update-ca-certificates
echo ::endgroup::

# Add our azcert.crt certificate to the container image along with the certificates from certifi
# so that we can use HTTPS with our fake Azure CI. certifi is self-contained and doesn't allow
# extension or modification of the trust store, so we do a weird and hacky thing (above) where we just
# overwrite or append to certifi's trust store behind it's back.
#
# We do this for both the CI host and the CI image.
if [[ "$TEST" = "azure" ]]; then
AZCERTIFI=$(/opt/az/bin/python3 -c 'import certifi; print(certifi.where())')
PULPCERTIFI=$(cmd_prefix python3 -c 'import certifi; print(certifi.where())')
cat /usr/local/share/ca-certificates/azcert.crt >> $AZCERTIFI
cat /usr/local/share/ca-certificates/azcert.crt | cmd_stdin_prefix tee -a /usr/local/lib/python3.8/site-packages/certifi/cacert.pem > /dev/null
cat /usr/local/share/ca-certificates/azcert.crt | cmd_stdin_prefix tee -a "$PULPCERTIFI" > /dev/null
cat /usr/local/share/ca-certificates/azcert.crt | cmd_stdin_prefix tee -a /etc/pki/tls/cert.pem > /dev/null
AZURE_STORAGE_CONNECTION_STRING='DefaultEndpointsProtocol=https;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=https://ci-azurite:10000/devstoreaccount1;'
az storage container create --name pulp-test --connection-string $AZURE_STORAGE_CONNECTION_STRING
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:

- uses: "actions/setup-python@v4"
with:
python-version: "3.8"
python-version: "3.11"

- uses: "actions/download-artifact@v3"
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
steps:
- uses: "actions/setup-python@v4"
with:
python-version: "3.8"
python-version: "3.11"
- name: "Configure Git with pulpbot name and email"
run: |
git config --global user.name 'pulpbot'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:

- uses: "actions/setup-python@v4"
with:
python-version: "3.8"
python-version: "3.11"

- name: "Install python dependencies"
run: |
Expand Down
2 changes: 1 addition & 1 deletion docs/template_gitref
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2021.08.26-315-g8ecb63d
2021.08.26-316-g69ef1f6
3 changes: 1 addition & 2 deletions template_config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This config represents the latest values used when running the plugin-template. Any settings that
# were not present before running plugin-template have been added with their default values.

# generated with [email protected]315-g8ecb63d
# generated with [email protected]316-g69ef1f6

api_root: /pulp/
black: true
Expand Down Expand Up @@ -66,7 +66,6 @@ pulp_settings_s3:
flatpak_index: false
pulpprojectdotorg_key_id: aa499d7938ed
pydocstyle: true
python_version: '3.8'
release_email: [email protected]
release_user: pulpbot
stalebot: true
Expand Down
Loading