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 mdellweg committed Mar 7, 2022
1 parent 2d3b895 commit b9f5880
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 4 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-80-g2510b8f
2021.08.26-86-g469a472
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ jobs:
- name: Run flake8
run: flake8 --config flake8.cfg

- name: Run extra lint checks
run: "[ ! -x .ci/scripts/extra_linting.sh ] || .ci/scripts/extra_linting.sh"

# check for any files unintentionally left out of MANIFEST.in
- name: Check manifest
run: check-manifest
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ if [ "$TEST" = "s3" ]; then
sed -i -e '$a s3_test: true\
minio_access_key: "'$MINIO_ACCESS_KEY'"\
minio_secret_key: "'$MINIO_SECRET_KEY'"' vars/main.yaml

echo "PULP_API_ROOT=/rerouted/djnd/" >> "$GITHUB_ENV"
export PULP_API_ROOT="/rerouted/djnd/"
fi
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/scripts/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,12 @@ if [[ "$TEST" = "docs" ]]; then
fi

if [[ "${RELEASE_WORKFLOW:-false}" == "true" ]]; then
REPORTED_VERSION=$(http $PULP_URL/pulp/api/v3/status/ | jq --arg plugin container --arg legacy_plugin pulp_container -r '.versions[] | select(.component == $plugin or .component == $legacy_plugin) | .version')
STATUS_ENDPOINT="${PULP_URL}/pulp/api/v3/status/"
if [ "${PULP_API_ROOT:-}" ]; then
STATUS_ENDPOINT="${PULP_URL}${PULP_API_ROOT}api/v3/status/"
fi
echo $STATUS_ENDPOINT
REPORTED_VERSION=$(http $STATUS_ENDPOINT | jq --arg plugin container --arg legacy_plugin pulp_container -r '.versions[] | select(.component == $plugin or .component == $legacy_plugin) | .version')
response=$(curl --write-out %{http_code} --silent --output /dev/null https://pypi.org/project/pulp-container/$REPORTED_VERSION/)
if [ "$response" == "200" ];
then
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/update_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:
author: pulpbot <pulp-infra@redhat.com>
title: 'Update CI files'
body: '[noissue]'
branch: 'create-pull-request/${{ github.ref }}/patch'
commit-message: |
Update CI files
Expand Down
3 changes: 2 additions & 1 deletion 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 plugin_template@2021.08.26-71-g2d3b35c
# generated with plugin_template@2021.08.26-86-g469a472

additional_repos: []
aiohttp_fixtures_origin: 172.18.0.1
Expand Down Expand Up @@ -73,6 +73,7 @@ test_cli: true
test_deprecations: true
test_performance: false
test_released_plugin_with_next_pulpcore_release: true
test_reroute: true
test_s3: true
update_github: true
update_redmine: false
Expand Down

0 comments on commit b9f5880

Please sign in to comment.