This repository was archived by the owner on Oct 10, 2025. It is now read-only.
Commit e8fa04c
committed
fix: [#28] improve environment variable handling and terminology clarity
Environment Variable Construction Fixes:
- Fix ENVIRONMENT variable construction in health-check.sh
- Change from ${ENVIRONMENT_TYPE}-${ENVIRONMENT_FILE} to ${ENVIRONMENT_FILE}
- ENVIRONMENT_FILE already contains full identifier (e.g., 'e2e-libvirt')
- Prevents problematic patterns like 'e2e-e2e-libvirt'
Command Suggestion Updates:
- Update make command suggestions to use new ENVIRONMENT_TYPE/ENVIRONMENT_FILE format
- Replace legacy ENVIRONMENT= format in error messages and help text
- Provide clear guidance for infrastructure and application commands
Terminology Improvements:
- Change 'Environment:' to 'Environment type:' for clarity in logs
- Update Makefile help text to be more descriptive
- Improve user understanding of environment configuration structure
Files updated:
- Makefile: Update app-health-check help text for clarity
- infrastructure/scripts/configure-env.sh: Improve logging terminology
- infrastructure/scripts/health-check.sh: Fix environment variable construction and command suggestions1 parent 36282c5 commit e8fa04c
File tree
3 files changed
+8
-7
lines changed- infrastructure/scripts
3 files changed
+8
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
274 | | - | |
| 274 | + | |
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| |||
510 | 510 | | |
511 | 511 | | |
512 | 512 | | |
513 | | - | |
| 513 | + | |
514 | 514 | | |
515 | 515 | | |
516 | 516 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
125 | 126 | | |
126 | 127 | | |
127 | 128 | | |
128 | | - | |
| 129 | + | |
129 | 130 | | |
130 | 131 | | |
131 | 132 | | |
| |||
382 | 383 | | |
383 | 384 | | |
384 | 385 | | |
385 | | - | |
| 386 | + | |
386 | 387 | | |
387 | 388 | | |
388 | 389 | | |
| |||
446 | 447 | | |
447 | 448 | | |
448 | 449 | | |
449 | | - | |
| 450 | + | |
450 | 451 | | |
451 | 452 | | |
452 | 453 | | |
| |||
0 commit comments