Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use DALMATIAN_CONFIG_PATH if set #252

Merged
merged 1 commit into from
May 1, 2024
Merged

Conversation

rjw1
Copy link
Member

@rjw1 rjw1 commented Mar 1, 2024

Update the config scripts to use DALMATIAN_CONFIG_PATH if set so that people
who override the default get the correct results.

Update the config scripts to use DALMATIAN_CONFIG_PATH if set so that people
who override the default get the correct results.
INFRAS=$(yq e -o=json ".infrastructures" "$APP_ROOT/bin/tmp/dalmatian-config/dalmatian.yml")
CONFIG_FILE="${DALMATIAN_CONFIG_PATH:-$APP_ROOT/bin/tmp/dalmatian-config/dalmatian.yml}"

INFRAS=$(yq e -o=json ".infrastructures" "$CONFIG_FILE")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel like INFRAS should be renamed to INFRASTRUCTURES for consistency but its not a blocker

@Stretch96 Stretch96 merged commit 72ca5a4 into main May 1, 2024
2 checks passed
@Stretch96 Stretch96 deleted the update-config-file-path branch May 1, 2024 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants