Skip to content

Commit 06f470f

Browse files
alnrory-bot
authored andcommitted
chore: add retries to more curl invocations
GitOrigin-RevId: 325d1539f33363e8541ca776b8cbfbd393ed1780
1 parent 50f6515 commit 06f470f

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ docs/swagger:
2929
npx @redocly/openapi-cli preview-docs spec/swagger.json
3030

3131
.bin/golangci-lint: Makefile
32-
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -d -b .bin v2.4.0
32+
curl --retry 7 --retry-connrefused -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -d -b .bin v2.4.0
3333

3434
.bin/hydra: Makefile
35-
bash <(curl https://raw.githubusercontent.com/ory/meta/master/install.sh) -d -b .bin hydra v2.2.0-rc.3
35+
bash <(curl --retry 7 --retry-connrefused https://raw.githubusercontent.com/ory/meta/master/install.sh) -d -b .bin hydra v2.2.0-rc.3
3636

3737
.bin/ory: Makefile
38-
curl https://raw.githubusercontent.com/ory/meta/master/install.sh | bash -s -- -b .bin ory v0.2.2
38+
curl --retry 7 --retry-connrefused https://raw.githubusercontent.com/ory/meta/master/install.sh | bash -s -- -b .bin ory v0.2.2
3939
touch -a -m .bin/ory
4040

4141
.bin/buf: Makefile
@@ -152,7 +152,7 @@ quickstart-dev:
152152
docker-compose -f quickstart.yml -f quickstart-standalone.yml -f quickstart-latest.yml $(QUICKSTART_OPTIONS) up --build --force-recreate
153153

154154
authors: # updates the AUTHORS file
155-
curl https://raw.githubusercontent.com/ory/ci/master/authors/authors.sh | env PRODUCT="Ory Kratos" bash
155+
curl --retry 7 --retry-connrefused https://raw.githubusercontent.com/ory/ci/master/authors/authors.sh | env PRODUCT="Ory Kratos" bash
156156

157157
# Formats the code
158158
.PHONY: format
@@ -200,7 +200,7 @@ licenses: .bin/licenses node_modules # checks open-source licenses
200200
.bin/licenses
201201

202202
.bin/licenses: Makefile
203-
curl https://raw.githubusercontent.com/ory/ci/master/licenses/install | sh
203+
curl --retry 7 --retry-connrefused https://raw.githubusercontent.com/ory/ci/master/licenses/install | sh
204204

205205
node_modules: package-lock.json
206206
npm ci

oryx/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ SHELL=/bin/bash -o pipefail
33
export PATH := .bin:${PATH}
44

55
.bin/ory: Makefile
6-
curl https://raw.githubusercontent.com/ory/meta/master/install.sh | bash -s -- -b .bin ory v0.2.2
6+
curl --retry 7 --retry-connrefused https://raw.githubusercontent.com/ory/meta/master/install.sh | bash -s -- -b .bin ory v0.2.2
77
touch .bin/ory
88

99
.PHONY: format
@@ -13,10 +13,10 @@ format: .bin/ory node_modules
1313
npm exec -- prettier --write .
1414

1515
.bin/golangci-lint: Makefile
16-
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b .bin v2.4.0
16+
curl --retry 7 --retry-connrefused -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b .bin v2.4.0
1717

1818
.bin/licenses: Makefile
19-
curl https://raw.githubusercontent.com/ory/ci/master/licenses/install | sh
19+
curl --retry 7 --retry-connrefused https://raw.githubusercontent.com/ory/ci/master/licenses/install | sh
2020

2121
licenses: .bin/licenses node_modules # checks open-source licenses
2222
.bin/licenses

0 commit comments

Comments
 (0)