Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
miguel-crespo-fdc committed Oct 2, 2024
1 parent 4f6752e commit b8f1223
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
7 changes: 3 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ services:
- KUBERPULT_DB_OPTION=postgreSQL
- KUBERPULT_DB_WRITE_ESL_TABLE_ONLY=false
- KUBERPULT_GIT_BRANCH=master
- KUBERPULT_GIT_NETWORK_TIMEOUT=5000s
- KUBERPULT_GIT_NETWORK_TIMEOUT=3s
- KUBERPULT_DEX_MOCK=false
- KUBERPULT_DEX_ENABLED=false
- KUBERPULT_DEX_RBAC_POLICY_PATH=/etc/policy.csv
Expand All @@ -40,7 +40,6 @@ services:
- KUBERPULT_MINOR_REGEXES=^.*exampleRegexForMinors:.*$,^secondExampleRegexForMinors:.*$
- KUBERPULT_DB_MAX_OPEN_CONNECTIONS=10
- KUBERPULT_DB_MAX_IDLE_CONNECTIONS=5
- KUBERPULT_RELEASE_VERSIONS_LIMIT=10
ports:
- "8080:8080"
- "8443:8443"
Expand All @@ -58,7 +57,7 @@ services:
- KUBERPULT_DB_LOCATION=postgres
- KUBERPULT_DB_MIGRATIONS_LOCATION=/kp/database/migrations/postgres/
- KUBERPULT_DB_OPTION=postgreSQL
- KUBERPULT_GIT_NETWORK_TIMEOUT=5000s
- KUBERPULT_GIT_NETWORK_TIMEOUT=3s
- KUBERPULT_DB_NAME=kuberpult
- KUBERPULT_DB_USER_NAME=postgres
- KUBERPULT_DB_USER_PASSWORD=mypassword
Expand All @@ -70,7 +69,7 @@ services:
- KUBERPULT_ENABLE_METRICS=false
- KUBERPULT_DOGSTATSD_ADDR=127.0.0.1:8125
- KUBERPULT_ARGO_CD_GENERATE_FILES=true
- KUBERPULT_RELEASE_VERSIONS_LIMIT=10
- KUBERPULT_RELEASE_VERSIONS_LIMIT=20
- KUBERPULT_NETWORK_TIMEOUT_SECONDS=120
- KUBERPULT_DB_SSL_MODE=disable
- KUBERPULT_DB_MAX_OPEN_CONNECTIONS=5
Expand Down
3 changes: 1 addition & 2 deletions infrastructure/scripts/create-testdata/create-app-lock.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@ set -eu
set -o pipefail
set -x


env=staging
lockId=test${RANDOM}
app=${1}
env=${2}
url="http://localhost:8081/environments/${env}/applications/${app}/locks/${lockId}"

curl -X PUT "$url" -d '{"message": "test app lock"}' -H 'Content-Type: application/json'
Expand Down

0 comments on commit b8f1223

Please sign in to comment.