Skip to content

Commit

Permalink
debug release asset
Browse files Browse the repository at this point in the history
  • Loading branch information
ab77 committed May 27, 2024
1 parent c8cba45 commit 1405077
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 3 additions & 2 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,8 @@ Start-Service -Name Docker
### SSL Configuration
opeBalena server supports automatic SSL configuration via ACME protocol using **one** of
the following DNS providers:
opeBalena server now uses automatic SSL configuration via ACME [DNS-01] challenge. Support
for the following DNS providers is currently implemented:
* Cloudflare
* Gandi
Expand Down Expand Up @@ -476,3 +476,4 @@ Enjoy Balenafying All the Things!
[Docker Engine]: https://docs.docker.com/engine/install
[Change cgroup version]: https://docs.docker.com/config/containers/runmetrics/#changing-cgroup-version
[composition]: https://github.com/balena-io/open-balena/blob/master/docker-compose.yml
[DNS-01]: https://letsencrypt.org/docs/challenge-types/#dns-01-challenge
6 changes: 4 additions & 2 deletions src/balena-tests/balena.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ set -ae
curl_opts="--retry 3 --fail"
if [[ $VERBOSE =~ on|On|Yes|yes|true|True ]]; then
set -x
curl_opts="${curl_opts} -v"
curl_opts="${curl_opts} --verbose"
else
curl_opts="${curl_opts} --silent"
fi

source /usr/sbin/functions
Expand Down Expand Up @@ -270,7 +272,7 @@ function upload_release_asset() {
--form "release=${release_id}" \
--form "asset_key=logo-$((RANDOM)).png" \
| jq -re .asset.href \
| xargs -sfivo "/tmp/logo-$((RANDOM)).png"
| xargs curl ${curl_opts} -o "/tmp/logo-$((RANDOM)).png"
fi
}

Expand Down

0 comments on commit 1405077

Please sign in to comment.