Skip to content

Commit

Permalink
Update CI files
Browse files Browse the repository at this point in the history
[noissue]
  • Loading branch information
pulpbot authored and dralley committed May 20, 2024
1 parent a3e1860 commit a2d27d9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/template_gitref
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2021.08.26-333-gdf1d3ba
2021.08.26-334-gb19dead
8 changes: 6 additions & 2 deletions .github/workflows/scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,9 @@ sudo chown -R 700:700 ~/.config
echo ::group::SSL
# Copy pulp CA
sudo docker cp pulp:/etc/pulp/certs/pulp_webserver.crt /usr/local/share/ca-certificates/pulp_webserver.crt
sudo docker exec -u root pulp trust anchor /etc/pulp/certs/pulp_webserver.crt
if [[ "ghcr.io/pulp/pulp-ci-centos" = */pulp-ci-centos9 ]]; then
sudo docker exec -u root pulp trust anchor /etc/pulp/certs/pulp_webserver.crt
fi

# Hack: adding pulp CA to certifi.where()
CERTIFI=$(python -c 'import certifi; print(certifi.where())')
Expand Down Expand Up @@ -184,7 +186,9 @@ if [[ "$TEST" = "azure" ]]; then
cat /usr/local/share/ca-certificates/azcert.crt >> $AZCERTIFI
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
cmd_stdin_prefix sudo trust anchor /etc/pki/tls/cert.pem
if [[ "ghcr.io/pulp/pulp-ci-centos" = */pulp-ci-centos9 ]]; then
cmd_stdin_prefix sudo trust anchor /etc/pki/tls/cert.pem
fi
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
fi
Expand Down

0 comments on commit a2d27d9

Please sign in to comment.