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 Feb 1, 2022
1 parent 85fed51 commit 09a99fa
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 11 deletions.
5 changes: 2 additions & 3 deletions .ci/scripts/update_github.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,13 @@
# For more info visit https://github.com/pulp/plugin_template

import os
import sys
from github import Github

GH_ISSUES = sys.argv[1]

g = Github(os.environ.get("GITHUB_TOKEN"))
repo = g.get_repo("pulp/pulp_ansible")

GH_ISSUES = os.environ.get("GH_ISSUES")

for issue in GH_ISSUES.split(","):
issue = repo.get_issue(int(issue))
if issue.state != "closed":
Expand Down
2 changes: 1 addition & 1 deletion .github/template_gitref
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2021.08.26-65-g3505809
2021.08.26-67-g1b89490
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -322,13 +322,14 @@ jobs:


- name: Update GitHub
continue-on-error: true
run: |
set -euv
export COMMIT_MSG=$(git log --format=%B --no-merges -1)
export GH_ISSUES=$(echo $COMMIT_MSG | grep -o "GH Issues: .*" | awk '{print $3}')
echo "GH Issues $GH_ISSUES"
bash .ci/scripts/update_github.py $GH_ISSUES
.ci/scripts/update_github.py
- name: Create release on GitHub
run: bash .github/workflows/scripts/create_release_from_tag.sh ${{ github.event.inputs.release }}
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,6 @@ services:
image: "pulp:${TAG}"
volumes:
- ./settings:/etc/pulp
- name: ciproxy
image: ghcr.io/abhinavsingh/proxy.py:latest
command: "--basic-auth foo:bar --hostname 0.0.0.0"
VARSYAML
fi

Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/scripts/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,6 @@ if [[ "$TEST" == "performance" ]]; then
exit
fi

# Enable proxy.py
export PULP_PROXY_TEST=enabled

if [ -f $FUNC_TEST_SCRIPT ]; then
source $FUNC_TEST_SCRIPT
else
Expand Down

0 comments on commit 09a99fa

Please sign in to comment.