Skip to content

Commit

Permalink
test: update esti to use LAKEFSACTION prefix for env (#7105)
Browse files Browse the repository at this point in the history
  • Loading branch information
nopcoder authored Dec 4, 2023
1 parent c673319 commit f1d923a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion esti/action_files/action_pre_commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ hooks:
properties:
url: "{{.URL}}/pre-commit"
query_params:
check_env_vars: "{{"{{ ENV.ACTIONS_VAR }}"}}"
check_env_vars: "{{"{{ ENV.LAKEFSACTION_VAR }}"}}"
2 changes: 1 addition & 1 deletion esti/ops/docker-compose-dynamodb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ services:
- LAKEFS_BLOCKSTORE_GS_CREDENTIALS_JSON
- LAKEFS_STATS_ENABLED
- LAKEFS_DATABASE_DYNAMODB_ENDPOINT=http://dynamodb:8000
- ACTIONS_VAR=this_is_actions_var
- LAKEFSACTION_VAR=this_is_actions_var
- LAKEFS_DATABASE_TYPE=dynamodb
- LAKEFS_DATABASE_KV_ENABLED=true
- LAKEFS_DATABASE_DYNAMODB_AWS_REGION=us-east-1
Expand Down
2 changes: 1 addition & 1 deletion esti/ops/docker-compose-external-db.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ services:
- LAKEFS_BLOCKSTORE_AZURE_STORAGE_ACCESS_KEY
- LAKEFS_LOGGING_LEVEL=DEBUG
- LAKEFS_STATS_ENABLED=false
- ACTIONS_VAR=this_is_actions_var
- LAKEFSACTION_VAR=this_is_actions_var
- LAKEFS_DATABASE_TYPE=cosmosdb
- LAKEFS_DATABASE_COSMOSDB_ENDPOINT
- LAKEFS_DATABASE_COSMOSDB_DATABASE
Expand Down
2 changes: 1 addition & 1 deletion esti/ops/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ services:
- AZURE_CLIENT_ID
- AZURE_CLIENT_SECRET
- AZURE_TENANT_ID
- ACTIONS_VAR=this_is_actions_var
- LAKEFSACTION_VAR=this_is_actions_var
entrypoint: ["/app/wait-for", "postgres:5432", "--", "/app/lakefs", "run"]
postgres:
image: "postgres:11"
Expand Down
2 changes: 1 addition & 1 deletion esti/scripts/set_env_vars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ export ESTI_SETUP_LAKEFS="true"
export ESTI_STORAGE_NAMESPACE="local://system-testing"

# Lakefs env vars for test
export ACTIONS_VAR="this_is_actions_var"
export LAKEFSACTION_VAR="this_is_actions_var"

0 comments on commit f1d923a

Please sign in to comment.