Skip to content

Commit e707b56

Browse files
authored
ci: enable dependabot update PRs (#95)
1 parent 2c38de4 commit e707b56

File tree

4 files changed

+337
-314
lines changed

4 files changed

+337
-314
lines changed

.github/dependabot.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# See the documentation for all configuration options:
2+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
3+
4+
version: 2
5+
updates:
6+
# Update npm dependencies
7+
- package-ecosystem: "npm"
8+
directory: "/"
9+
schedule:
10+
interval: "monthly"
11+
12+
# Update GitHub Actions dependencies
13+
- package-ecosystem: "github-actions"
14+
directory: "/"
15+
schedule:
16+
interval: "monthly"

e2e/00-login.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,14 @@ set -euo pipefail
77
REGISTRY_URL="http://localhost:4873"
88

99
token_matcher='"token": ?"(.+)"'
10-
create_user_response=$(curl -s -X PUT -H 'content-type: application/json' -d '{"name": "test", "password": "test"}' ${REGISTRY_URL}/-/user/org.couchdb.user:test)
10+
retry_count=3
11+
create_user_response=""
12+
13+
until [[ ${create_user_response} || ${retry_count} -le 0 ]]; do
14+
sleep 1
15+
create_user_response=$(curl -v -s -X PUT -H 'content-type: application/json' -d '{"name": "test", "password": "test"}' ${REGISTRY_URL}/-/user/org.couchdb.user:test || true)
16+
retry_count=$((retry_count - 1))
17+
done
1118

1219
echo "DEBUG: Create user response - ${create_user_response}" 1>&2
1320

0 commit comments

Comments
 (0)