Skip to content

Commit

Permalink
ci: enable dependabot update PRs (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcous authored May 2, 2023
1 parent 2c38de4 commit e707b56
Show file tree
Hide file tree
Showing 4 changed files with 337 additions and 314 deletions.
16 changes: 16 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# See the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
# Update npm dependencies
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "monthly"

# Update GitHub Actions dependencies
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
9 changes: 8 additions & 1 deletion e2e/00-login.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,14 @@ set -euo pipefail
REGISTRY_URL="http://localhost:4873"

token_matcher='"token": ?"(.+)"'
create_user_response=$(curl -s -X PUT -H 'content-type: application/json' -d '{"name": "test", "password": "test"}' ${REGISTRY_URL}/-/user/org.couchdb.user:test)
retry_count=3
create_user_response=""

until [[ ${create_user_response} || ${retry_count} -le 0 ]]; do
sleep 1
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)
retry_count=$((retry_count - 1))
done

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

Expand Down
Loading

0 comments on commit e707b56

Please sign in to comment.