@fishawack/lab-env 5.9.0-beta.4 → 5.9.0-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/README.md +78 -0
- package/_Test/force-managed-updates.js +1205 -0
- package/cli.js +1 -0
- package/commands/create/cmds/force-managed-updates.js +689 -0
- package/commands/create/services/aws/elasticbeanstalk.js +131 -0
- package/drupal/9/php/CHANGELOG.md +3 -0
- package/drupal/9/php/Dockerfile +1 -1
- package/drupal/9/php/package.json +1 -1
- package/globals.js +12 -4
- package/laravel/10/php/CHANGELOG.md +3 -0
- package/laravel/10/php/package.json +1 -1
- package/laravel/9/php/CHANGELOG.md +3 -0
- package/laravel/9/php/Dockerfile +1 -1
- package/laravel/9/php/package.json +1 -1
- package/package.json +1 -1
- package/php/8.2/CHANGELOG.md +3 -0
- package/php/8.2/package.json +1 -1
- package/wordpress/1/php/CHANGELOG.md +3 -0
- package/wordpress/1/php/Dockerfile +1 -1
- package/wordpress/1/php/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
## Changelog
|
|
2
2
|
|
|
3
|
+
### 5.9.0-beta.5 (2026-10-23)
|
|
4
|
+
|
|
5
|
+
#### Features
|
|
6
|
+
|
|
7
|
+
* added force-managed-updates command ([9d4ce48](https://bitbucket.org/fishawackdigital/lab-env/commits/9d4ce4826fc5df0e3a864727f461066bb9a00a3c))
|
|
8
|
+
|
|
9
|
+
#### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* bumped wordpress to php 8.2 ([b09d093](https://bitbucket.org/fishawackdigital/lab-env/commits/b09d093a316bd52ffb52dfab11410d01a98d8a7a))
|
|
12
|
+
|
|
13
|
+
#### Build Updates
|
|
14
|
+
|
|
15
|
+
* bumped fishawack/lab-env-drupal-9-php to 0.6.2 ([53165e5](https://bitbucket.org/fishawackdigital/lab-env/commits/53165e515d1863d2b7dd2f7da54505bcb036fced))
|
|
16
|
+
* bumped fishawack/lab-env-laravel-10-php to 1.0.2 ([372caba](https://bitbucket.org/fishawackdigital/lab-env/commits/372cabacc6984946c5a8af5980aab8f3234a9b49))
|
|
17
|
+
* bumped fishawack/lab-env-laravel-9-php to 1.0.4 ([a913f2b](https://bitbucket.org/fishawackdigital/lab-env/commits/a913f2b869058b608c2250c9efe096ceed49e05c))
|
|
18
|
+
* bumped fishawack/lab-env-php-8-2 to 1.0.1 ([9fc732f](https://bitbucket.org/fishawackdigital/lab-env/commits/9fc732fabedd22deca892d18fc2a59fdaf1ef9a7))
|
|
19
|
+
* bumped fishawack/lab-env-wordpress-1-php to 1.1.2 ([c497bb9](https://bitbucket.org/fishawackdigital/lab-env/commits/c497bb9af7e8df714bec40471236224210c48d1f))
|
|
20
|
+
|
|
3
21
|
### 5.9.0-beta.4 (2026-10-08)
|
|
4
22
|
|
|
5
23
|
#### Bug Fixes
|
package/README.md
CHANGED
|
@@ -63,6 +63,84 @@ choco install git
|
|
|
63
63
|
|
|
64
64
|
## Getting started
|
|
65
65
|
|
|
66
|
+
### Applying Managed Platform Updates
|
|
67
|
+
|
|
68
|
+
`fw force-managed-updates` (alias `fw fmu`) scans Elastic Beanstalk environments
|
|
69
|
+
across selected AWS accounts and regions, then presents a checkbox list of
|
|
70
|
+
scheduled managed updates and available patch-only platform updates. Select none to exit, or confirm your selection to
|
|
71
|
+
apply updates one at a time. Instance refreshes are not offered.
|
|
72
|
+
|
|
73
|
+
When no managed platform update is scheduled, the command checks available
|
|
74
|
+
versions in the same supported platform branch. A change such as `4.13.12` to
|
|
75
|
+
`4.13.15` is offered as `[Direct patch]`. Scheduled actions are labelled
|
|
76
|
+
`[Managed update]`. The command compares the
|
|
77
|
+
Elastic Beanstalk platform release version, not the PHP/Python runtime version.
|
|
78
|
+
Minor or major changes (for example `4.14.0` or `5.0.0`) are reported separately
|
|
79
|
+
as higher risk and are not selectable. Branch migrations, retired/deprecated
|
|
80
|
+
branches, prereleases, and downgrades are not offered as direct updates.
|
|
81
|
+
|
|
82
|
+
Direct patches call `UpdateEnvironment` and follow the environment's configured
|
|
83
|
+
configuration-update policy and health settings. Managed updates use AWS's
|
|
84
|
+
managed maintenance workflow, which always uses immutable updates. An immutable
|
|
85
|
+
configuration-update policy provides similar instance replacement protections;
|
|
86
|
+
rolling configuration updates follow the configured batch and health settings.
|
|
87
|
+
The command does not inspect or change these settings, or guarantee compatibility
|
|
88
|
+
or zero downtime.
|
|
89
|
+
Targets are revalidated immediately before applying. The queue waits for an
|
|
90
|
+
environment completion event, `Ready` state, and the selected platform ARN before
|
|
91
|
+
reporting success. Unconfirmed outcomes stop the queue. Existing scheduled
|
|
92
|
+
managed updates retain their managed-action workflow and are not duplicated.
|
|
93
|
+
|
|
94
|
+
Before selection, the scan report lists every discovered environment, including
|
|
95
|
+
those with no scheduled platform updates. It distinguishes AWS-recommended
|
|
96
|
+
versions on supported branches from non-recommended versions, deprecated or
|
|
97
|
+
retired platform branches, in-progress actions, and unverified platform metadata.
|
|
98
|
+
Retired branches require migration; a lack of scheduled updates does not mean
|
|
99
|
+
the environment is up to date. "Up to date" means AWS's recommended platform
|
|
100
|
+
version within the current branch, not an audit of application packages, instance
|
|
101
|
+
patches, or physical hardware. Environments without a platform ARN or accessible
|
|
102
|
+
lifecycle metadata remain unverified.
|
|
103
|
+
|
|
104
|
+
```bash
|
|
105
|
+
fw fmu
|
|
106
|
+
fw fmu --all
|
|
107
|
+
fw fmu --client fishawack --region us-east-1 --timeout 120
|
|
108
|
+
fw fmu --filter PHP
|
|
109
|
+
fw fmu --filter "PHP 8.2"
|
|
110
|
+
fw fmu --filter "Amazon Linux 2023"
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
`--filter` (alias `-f`) restricts both the report and update choices to current
|
|
114
|
+
platform descriptions matching a case-insensitive, contiguous literal phrase.
|
|
115
|
+
Whitespace is normalized and word/version boundaries are respected: `PHP 8.2`
|
|
116
|
+
does not match `PHP 8.1`, `PHP 8.20`, or `PHP 8.2.1`, and `Amazon Linux 2` does
|
|
117
|
+
not match `Amazon Linux 2023`. It is not a regular expression or a match against
|
|
118
|
+
the proposed target version. Account-wide concurrency safety checks still apply
|
|
119
|
+
to environments outside the filter.
|
|
120
|
+
|
|
121
|
+
`--all` selects the scan scope only; it never bypasses update selection or
|
|
122
|
+
confirmation. The command is visible in help for the devops preset and hidden
|
|
123
|
+
for the permanent preset, matching `server-status`.
|
|
124
|
+
|
|
125
|
+
Progress is polled every 15 seconds, with a default monitoring timeout of 120
|
|
126
|
+
minutes per update. Confirmed failures are reported and the queue continues;
|
|
127
|
+
temporary `Unknown` statuses keep polling without advancing the queue until AWS
|
|
128
|
+
confirms completion or failure. Timeouts, monitoring errors, and uncertain apply
|
|
129
|
+
results stop the queue. Ctrl+C stops local monitoring, **not the AWS update**.
|
|
130
|
+
Check the reported environment
|
|
131
|
+
and action ID in AWS before starting further updates. Existing in-progress or
|
|
132
|
+
unknown managed actions in an account/region cause queued updates there to be
|
|
133
|
+
skipped. Independent AWS maintenance and other operators can still start updates.
|
|
134
|
+
|
|
135
|
+
The AWS profile needs `elasticbeanstalk:DescribeEnvironments`,
|
|
136
|
+
`elasticbeanstalk:DescribePlatformVersion`,
|
|
137
|
+
`elasticbeanstalk:ListPlatformVersions`, `elasticbeanstalk:DescribeEvents`,
|
|
138
|
+
`elasticbeanstalk:UpdateEnvironment`,
|
|
139
|
+
`elasticbeanstalk:DescribeEnvironmentManagedActions`,
|
|
140
|
+
`elasticbeanstalk:DescribeEnvironmentManagedActionHistory`, and
|
|
141
|
+
`elasticbeanstalk:ApplyEnvironmentManagedAction` permissions. This command does
|
|
142
|
+
not enable managed updates or schedule new ones.
|
|
143
|
+
|
|
66
144
|
### Install
|
|
67
145
|
|
|
68
146
|
```bash
|