mirror of
https://github.com/certbot/certbot.git
synced 2026-06-03 13:59:02 -04:00
make test changes
This commit is contained in:
parent
d50cd96b57
commit
ff7d64283d
2 changed files with 2 additions and 12 deletions
|
|
@ -6,14 +6,10 @@ stages:
|
|||
pool:
|
||||
vmImage: ubuntu-latest
|
||||
steps:
|
||||
- task: DownloadSecureFile@1
|
||||
name: webhook_url
|
||||
inputs:
|
||||
secureFile: mattermost_webhook_url_release_notify
|
||||
- bash: |
|
||||
set -e
|
||||
python -m venv venv
|
||||
source venv/bin/activate
|
||||
tools/pip_install.py requests
|
||||
tools/notify_mattermost.py" $(webhook_url.secureFilePath)
|
||||
"${BUILD_REPOSITORY_LOCALPATH}/tools/notify_mattermost.py"
|
||||
displayName: Send mattermost message
|
||||
|
|
|
|||
|
|
@ -91,10 +91,4 @@ def get_content():
|
|||
}
|
||||
return content
|
||||
|
||||
response = requests.request(
|
||||
method='POST',
|
||||
url=get_mattermost_url(),
|
||||
headers=get_headers(),
|
||||
json=get_content(),
|
||||
)
|
||||
response.raise_for_status()
|
||||
print(get_content())
|
||||
|
|
|
|||
Loading…
Reference in a new issue