|
17 | 17 |
|
18 | 18 | [//]: # (list changes here, using '-' for each new entry, remove this when items are added) |
19 | 19 |
|
| 20 | +[2.18.15](https://github.com/bird-house/birdhouse-deploy/tree/2.18.15) (2025-12-01) |
| 21 | +------------------------------------------------------------------------------------------------------------------ |
| 22 | + |
| 23 | +## Changes |
| 24 | + |
| 25 | +- README: remind the user to source control `env.local` securely as it may contains passwords. |
| 26 | + |
| 27 | +## Fixes |
| 28 | + |
| 29 | +- Autodeploy broken due to new config variable precedence order. |
| 30 | + |
| 31 | + Broken since `2.18.8` (https://github.com/bird-house/birdhouse-deploy/pull/600). |
| 32 | + |
| 33 | + Example breakage scenario: |
| 34 | + |
| 35 | + Autodeploy starts and calls `read_configs`, then git pull a newer |
| 36 | + version of `env.local` (which might modify `EXTRA_CONF_DIRS` to enable |
| 37 | + new components for example). But since the new var precedence locked |
| 38 | + all the values to the first call of `read_configs`, the new change to |
| 39 | + `EXTRA_CONF_DIRS` (or any vars in `env.local`) never went into |
| 40 | + effect at the end of the autodeploy process when we start the full |
| 41 | + stack. |
| 42 | + |
| 43 | + This is because `read_configs` returns all variables as environment |
| 44 | + variables and the new variable precedence order gives environment |
| 45 | + variables precedence higher than the values in `env.local`. So after |
| 46 | + the first call to `read_configs` (or `read_basic_configs_only`), all the |
| 47 | + values are "locked" for all child processes even if they try to call |
| 48 | + `read_configs` again to get the newest values from `env.local`. |
| 49 | + |
| 50 | + The fix is to avoid getting these config variables as environment |
| 51 | + variables which will avoid "locking" their values for child processes. |
| 52 | + |
| 53 | +- Autodeploy broken due to attempt to be compat with changing the location of `env.local` via `BIRDHOUSE_LOCAL_ENV`. |
| 54 | + |
| 55 | + Broken since `2.18.9` (https://github.com/bird-house/birdhouse-deploy/pull/601). |
| 56 | + |
| 57 | + It was working for the first run of autodeploy but on the next run, the value of |
| 58 | + `BIRDHOUSE_LOCAL_ENV` in `optional-components/scheduler-job-autodeploy/config.yml` |
| 59 | + is wrong ! |
| 60 | + |
| 61 | + Good value in first run: |
| 62 | + |
| 63 | + `--volume /real/path/to/env.local:/tmp/birdhouse-local-env` |
| 64 | + |
| 65 | + Bad value in subsequent run: |
| 66 | + |
| 67 | + `--volume /tmp/birdhouse-local-env:/tmp/birdhouse-local-env` |
| 68 | + |
| 69 | + This is because we override `--env BIRDHOUSE_LOCAL_ENV=/tmp/birdhouse-local-env` in |
| 70 | + `optional-components/scheduler-job-autodeploy/config.yml.template` as env var so on |
| 71 | + the subsequent runs the bad value persists because it is an env var. |
| 72 | + |
| 73 | + This `BIRDHOUSE_LOCAL_ENV` is meant to be set "outside" the stack as env var |
| 74 | + so there is nothing in the stack that will fix this value if it is bad. |
| 75 | + |
| 76 | + The fix is to revert that attempt. So autodeploy only supports changing the |
| 77 | + location of `env.local` via symlink, or by manually adding the folder |
| 78 | + containing the file `env.local` to `BIRDHOUSE_AUTODEPLOY_EXTRA_REPOS` if |
| 79 | + `env.local` is set by `BIRDHOUSE_LOCAL_ENV` environment variable and not via |
| 80 | + symlink. |
| 81 | + |
| 82 | +- One feature of autodeploy is broken due to a missing mapping in back-compat config var name change. |
| 83 | + |
| 84 | + Broken since `2.4.0` but only if back-compat var name mode is required. |
| 85 | + |
| 86 | + The `AUTODEPLOY_CODE_OWNERSHIP` old name mapping is missing in `BIRDHOUSE_BACKWARDS_COMPATIBLE_VARIABLES`. |
| 87 | + |
| 88 | + Autodeploy is missing the `chown` step to the good code owner because it does |
| 89 | + not "see" the value of the old variable name since the mapping to the new |
| 90 | + variable name is missing. |
| 91 | + |
| 92 | +- Missing default value for `BIRDHOUSE_HTTP_ONLY` causing inconsistent behavior |
| 93 | + when the var is used in `env.local` then removed from `env.local`. The |
| 94 | + behavior never revert back as if it has never been initially used in |
| 95 | + `env.local`. See [discussion](https://github.com/bird-house/birdhouse-deploy/pull/600#issuecomment-3528058708). |
| 96 | + |
| 97 | + |
20 | 98 | [2.18.14](https://github.com/bird-house/birdhouse-deploy/tree/2.18.14) (2025-12-01) |
21 | 99 | ------------------------------------------------------------------------------------------------------------------ |
22 | 100 |
|
|
0 commit comments