Add status debug to oss plugin publish (#3934)
# What this PR does Step failure is intermittent add debugging to see what status code we are getting. If 5xx we can use --retry. If 4xx we will need a different approach. ## Which issue(s) this PR fixes #3921 ## Checklist - [ ] Unit, integration, and e2e (if applicable) tests updated - [x] Documentation added (or `pr:no public docs` PR label added if not required) - [x] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not required)
This commit is contained in:
parent
40e6c635dc
commit
b7d03489ea
1 changed files with 2 additions and 2 deletions
|
|
@ -213,7 +213,7 @@ steps:
|
|||
from_secret: gcom_plugin_publisher_api_key
|
||||
commands:
|
||||
# yamllint disable rule:line-length
|
||||
- 'curl -f -s -H "Authorization: Bearer $${GRAFANA_API_KEY}" -d "download[any][url]=https://storage.googleapis.com/grafana-oncall-app/releases/grafana-oncall-app-${DRONE_TAG}.zip" -d "download[any][md5]=$$(curl -sL https://storage.googleapis.com/grafana-oncall-app/releases/grafana-oncall-app-${DRONE_TAG}.zip | md5sum | cut -d'' '' -f1)" -d url=https://github.com/grafana/oncall/grafana-plugin https://grafana.com/api/plugins'
|
||||
- 'curl -f -w "status=%{http_code}" -s -H "Authorization: Bearer $${GRAFANA_API_KEY}" -d "download[any][url]=https://storage.googleapis.com/grafana-oncall-app/releases/grafana-oncall-app-${DRONE_TAG}.zip" -d "download[any][md5]=$$(curl -sL https://storage.googleapis.com/grafana-oncall-app/releases/grafana-oncall-app-${DRONE_TAG}.zip | md5sum | cut -d'' '' -f1)" -d url=https://github.com/grafana/oncall/grafana-plugin https://grafana.com/api/plugins'
|
||||
# yamllint enable rule:line-length
|
||||
depends_on:
|
||||
- sign and package plugin
|
||||
|
|
@ -385,6 +385,6 @@ name: cloud_access_policy_token
|
|||
|
||||
---
|
||||
kind: signature
|
||||
hmac: 5bf89aaec69ebec6d4489b6ef712f92d10ede5b242b88c8f62930d78ba780f7d
|
||||
hmac: 198b7c7d2c94fc5698b22a722e7748181990207755cf1778b2290137e262518c
|
||||
|
||||
...
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue