aboutsummaryrefslogtreecommitdiffstats
path: root/builds.sr.ht
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-04-01 10:39:18 +0000
committerDrew DeVault <sir@cmpwn.com>2022-04-08 11:55:14 +0200
commit1866f16695c8c5a6f01f62ac8be9f242eda25bb8 (patch)
tree9a7e93cf79bd96a218c0325facd4b9c7f729852e /builds.sr.ht
parent4fc23ffa9ba842a71fe7781a325eaaeed56257f7 (diff)
downloadsr.ht-docs-1866f16695c8c5a6f01f62ac8be9f242eda25bb8.tar.gz
builds.sr.ht: mention hut, deprecate acurl
builds.sr.ht now sets up a hut configuration file.
Diffstat (limited to 'builds.sr.ht')
-rw-r--r--builds.sr.ht/index.md1
-rw-r--r--builds.sr.ht/manifest.md7
2 files changed, 6 insertions, 2 deletions
diff --git a/builds.sr.ht/index.md b/builds.sr.ht/index.md
index 5975486..46dd6b3 100644
--- a/builds.sr.ht/index.md
+++ b/builds.sr.ht/index.md
@@ -137,6 +137,7 @@ Each task's script is given a preamble that looks like this:
. ~/.buildenv
set -xe
+# Deprecated -- use hut instead
acurl() (
set +x
curl --oauth2-bearer "$OAUTH2_TOKEN" "$@"
diff --git a/builds.sr.ht/manifest.md b/builds.sr.ht/manifest.md
index cc22277..12c8693 100644
--- a/builds.sr.ht/manifest.md
+++ b/builds.sr.ht/manifest.md
@@ -116,6 +116,7 @@ with the following preamble:
. ~/.buildenv
set -xe
+# Deprecated -- use hut instead
acurl() (
set +x
curl --oauth2-bearer "$OAUTH2_TOKEN" "$@"
@@ -161,5 +162,7 @@ List of secret UUIDs to be added to the guest during the build. See also:
If present, and secrets are enabled for this build, an OAuth 2.0 bearer token is
generated for this build with the given string as the list of grants. The
-`acurl` command may be used in the task scripts to perform authenticated
-[GraphQL API requests](https://man.sr.ht/graphql.md).
+[hut](https://sr.ht/~emersion/hut/) tool may be used in the task scripts to
+perform authenticated [GraphQL API requests](https://man.sr.ht/graphql.md).
+hut needs to be included in the [`packages`](#packages) list (using the name
+of the [hut package for your OS](https://repology.org/project/hut/versions)).