@fishawack/lab-env 5.2.0-beta.1 → 5.2.0
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 +49 -0
- package/adonis/0/docker-compose.yml +2 -0
- package/adonis/0/nginx/CHANGELOG.md +3 -0
- package/adonis/0/nginx/nginx.conf +5 -1
- package/adonis/0/nginx/package.json +1 -1
- package/bitbucket-pipelines.yml +1 -1
- package/cli.js +1 -1
- package/commands/test.js +11 -11
- package/laravel/10/docker-compose.yml +2 -0
- package/laravel/8/docker-compose.yml +2 -0
- package/laravel/8/nginx/CHANGELOG.md +3 -0
- package/laravel/8/nginx/nginx.conf +5 -1
- package/laravel/8/nginx/package.json +1 -1
- package/laravel/9/docker-compose.yml +2 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,54 @@
|
|
|
1
1
|
## Changelog
|
|
2
2
|
|
|
3
|
+
### 5.2.0 (2026-01-17)
|
|
4
|
+
|
|
5
|
+
#### Features
|
|
6
|
+
|
|
7
|
+
* added ignore 4xx and self healing configs to default high avail provision ([d8d2748](https://bitbucket.org/fishawackdigital/lab-env/commits/d8d27484973779e7954a23618f1af98fcb698a7b))
|
|
8
|
+
* can now set region for prov and deprov commands ([2a2d06e](https://bitbucket.org/fishawackdigital/lab-env/commits/2a2d06e8a3bb1fff4b25cea41f1027aa0d6949f7))
|
|
9
|
+
* database now only added if asked for via prompt ([dc890bb](https://bitbucket.org/fishawackdigital/lab-env/commits/dc890bb52bf44cc529a0ec47e621fa0b0eea2d51))
|
|
10
|
+
* flatten environment settings so nested objects can be set together that share conditions ([5bbcc30](https://bitbucket.org/fishawackdigital/lab-env/commits/5bbcc301e93789c6e0bad05e321ff66f80f973cb))
|
|
11
|
+
* objects in environemnt settings now takes a method to allow customization ([d1a2456](https://bitbucket.org/fishawackdigital/lab-env/commits/d1a24567c45ef98840766555debde9932b90ad6c))
|
|
12
|
+
* python now has a self authored based image allowing overriding ([3a3827c](https://bitbucket.org/fishawackdigital/lab-env/commits/3a3827c6b26a14fb204888f86c74494141bf6880))
|
|
13
|
+
* region is now a list rather than free text ([d1eceea](https://bitbucket.org/fishawackdigital/lab-env/commits/d1eceeaad271686b18cb8d8ef786c2b9c9aac070))
|
|
14
|
+
* setup custom managed elasticbeanstalk profile on new prov commands ([75559af](https://bitbucket.org/fishawackdigital/lab-env/commits/75559afbace897eebf380fe66df6d6ab22758fbb))
|
|
15
|
+
* switch subnets and vpc when switching between eu and us python services ([817d60a](https://bitbucket.org/fishawackdigital/lab-env/commits/817d60ade606716184074342c6e1d19a54115140))
|
|
16
|
+
* utilize python self authored image and allow overriding ([a63ae30](https://bitbucket.org/fishawackdigital/lab-env/commits/a63ae30213a7101d9030efe7b2240e8dc1b73053))
|
|
17
|
+
|
|
18
|
+
#### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* added missing list tags permission ([bcff194](https://bitbucket.org/fishawackdigital/lab-env/commits/bcff19487d1b26ec2529309925cfb625733e4ed2))
|
|
21
|
+
* deprov no longer prompts for region ([2b3a627](https://bitbucket.org/fishawackdigital/lab-env/commits/2b3a62749463f6280ab52e1e6ed8d24e8d5a8f4a))
|
|
22
|
+
* handle errors on content command ([25e32bb](https://bitbucket.org/fishawackdigital/lab-env/commits/25e32bb78ded523ef25eee2b467dc4be7c05ca5f))
|
|
23
|
+
* make nginx depend on web server to stop race condition errors ([16f6b11](https://bitbucket.org/fishawackdigital/lab-env/commits/16f6b11592107bcbdd1d2dc5e32cc4312b1e2909))
|
|
24
|
+
* nginx now resolves on request rather than start time to avoid race conditions ([7cb6356](https://bitbucket.org/fishawackdigital/lab-env/commits/7cb6356b5628534aa6487178e1cc988e645b0771))
|
|
25
|
+
* only prompt for region on fullstack as cloudfront only supports us-east-1 ([53d8ef7](https://bitbucket.org/fishawackdigital/lab-env/commits/53d8ef7eb85d175ee5e684f34509f83f74a24f48))
|
|
26
|
+
* python now has access to webDev commands like install and runs npm test ([44c2cf3](https://bitbucket.org/fishawackdigital/lab-env/commits/44c2cf3d7287ad1c34e87917334a95d565793ab4))
|
|
27
|
+
* remove client from method params ([29b8423](https://bitbucket.org/fishawackdigital/lab-env/commits/29b84238c32742044dba867a90616506918a4d3e))
|
|
28
|
+
* use same role for service and managed updates ([4a69f4d](https://bitbucket.org/fishawackdigital/lab-env/commits/4a69f4d20c2231f8cffb95c4790f0e557ba59d57))
|
|
29
|
+
|
|
30
|
+
#### Build Updates
|
|
31
|
+
|
|
32
|
+
* bumped fishawack/lab-env-adonis-0-nginx to 1.0.1 ([337f993](https://bitbucket.org/fishawackdigital/lab-env/commits/337f993c4eac2d1a253c38c87f20d50577d66959))
|
|
33
|
+
* bumped fishawack/lab-env-laravel-8-nginx to 0.1.3 ([5aa1a0e](https://bitbucket.org/fishawackdigital/lab-env/commits/5aa1a0e032319ba1f68117734bbb3ea6a6920148))
|
|
34
|
+
* bumped fishawack/lab-env-python-0 to 1.0.0 ([21d7da1](https://bitbucket.org/fishawackdigital/lab-env/commits/21d7da1bbdcf932fe74351882282577710bfb81d))
|
|
35
|
+
* login to docker before tests ([ee005ff](https://bitbucket.org/fishawackdigital/lab-env/commits/ee005ff06a146ef1060dc8a24ace80e2b94691f5))
|
|
36
|
+
* updated auto bumped commands to pass linting ([437d2e8](https://bitbucket.org/fishawackdigital/lab-env/commits/437d2e8c9e9d183f955c17a8edb7186dc61f2e0f))
|
|
37
|
+
|
|
38
|
+
### 5.2.0-beta.2 (2026-01-17)
|
|
39
|
+
|
|
40
|
+
#### Bug Fixes
|
|
41
|
+
|
|
42
|
+
* make nginx depend on web server to stop race condition errors ([16f6b11](https://bitbucket.org/fishawackdigital/lab-env/commits/16f6b11592107bcbdd1d2dc5e32cc4312b1e2909))
|
|
43
|
+
* nginx now resolves on request rather than start time to avoid race conditions ([7cb6356](https://bitbucket.org/fishawackdigital/lab-env/commits/7cb6356b5628534aa6487178e1cc988e645b0771))
|
|
44
|
+
* python now has access to webDev commands like install and runs npm test ([44c2cf3](https://bitbucket.org/fishawackdigital/lab-env/commits/44c2cf3d7287ad1c34e87917334a95d565793ab4))
|
|
45
|
+
|
|
46
|
+
#### Build Updates
|
|
47
|
+
|
|
48
|
+
* bumped fishawack/lab-env-adonis-0-nginx to 1.0.1 ([337f993](https://bitbucket.org/fishawackdigital/lab-env/commits/337f993c4eac2d1a253c38c87f20d50577d66959))
|
|
49
|
+
* bumped fishawack/lab-env-laravel-8-nginx to 0.1.3 ([5aa1a0e](https://bitbucket.org/fishawackdigital/lab-env/commits/5aa1a0e032319ba1f68117734bbb3ea6a6920148))
|
|
50
|
+
* login to docker before tests ([ee005ff](https://bitbucket.org/fishawackdigital/lab-env/commits/ee005ff06a146ef1060dc8a24ace80e2b94691f5))
|
|
51
|
+
|
|
3
52
|
### 5.2.0-beta.1 (2026-01-14)
|
|
4
53
|
|
|
5
54
|
#### Features
|
|
@@ -2,8 +2,12 @@ server {
|
|
|
2
2
|
listen 80;
|
|
3
3
|
listen [::]:80;
|
|
4
4
|
|
|
5
|
+
# Docker embedded DNS
|
|
6
|
+
resolver 127.0.0.11 ipv6=off valid=10s;
|
|
7
|
+
|
|
5
8
|
location / {
|
|
6
|
-
|
|
9
|
+
set $upstream node:3333;
|
|
10
|
+
proxy_pass http://$upstream;
|
|
7
11
|
proxy_http_version 1.1;
|
|
8
12
|
proxy_set_header Upgrade $http_upgrade;
|
|
9
13
|
proxy_set_header Connection 'upgrade';
|
package/bitbucket-pipelines.yml
CHANGED
package/cli.js
CHANGED
|
@@ -95,7 +95,7 @@ const args = hideBin(process.argv);
|
|
|
95
95
|
adonis: ["base", "webDev"],
|
|
96
96
|
php: ["base", "webDev"],
|
|
97
97
|
core: ["base", "webDev"],
|
|
98
|
-
python: ["base"], // Python only gets base commands, no webDev
|
|
98
|
+
python: ["base", "webDev"], // Python only gets base commands, no webDev
|
|
99
99
|
};
|
|
100
100
|
|
|
101
101
|
// Config-based command additions
|
package/commands/test.js
CHANGED
|
@@ -6,21 +6,21 @@ module.exports = [
|
|
|
6
6
|
() => {},
|
|
7
7
|
() => {
|
|
8
8
|
_.up(() => {
|
|
9
|
+
_.command(
|
|
10
|
+
"core",
|
|
11
|
+
`${process.env.VERSION === "0" ? "xvfb-run " : ""}npm run test`,
|
|
12
|
+
);
|
|
13
|
+
|
|
9
14
|
if (_.platform === "python") {
|
|
10
15
|
_.command("python", `uv run pytest -o log_cli=true`);
|
|
11
|
-
}
|
|
12
|
-
_.command(
|
|
13
|
-
"core",
|
|
14
|
-
`${process.env.VERSION === "0" ? "xvfb-run " : ""}npm run test`,
|
|
15
|
-
);
|
|
16
|
+
}
|
|
16
17
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
if (_.platform === "laravel") {
|
|
19
|
+
_.command("php", `php artisan test`);
|
|
20
|
+
}
|
|
20
21
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
22
|
+
if (_.platform === "adonis") {
|
|
23
|
+
_.command("node", `node ace test`);
|
|
24
24
|
}
|
|
25
25
|
});
|
|
26
26
|
},
|
|
@@ -13,6 +13,9 @@ server {
|
|
|
13
13
|
|
|
14
14
|
charset utf-8;
|
|
15
15
|
|
|
16
|
+
# Docker embedded DNS
|
|
17
|
+
resolver 127.0.0.11 ipv6=off valid=10s;
|
|
18
|
+
|
|
16
19
|
location / {
|
|
17
20
|
try_files $uri $uri/ /index.php?$query_string;
|
|
18
21
|
}
|
|
@@ -23,7 +26,8 @@ server {
|
|
|
23
26
|
error_page 404 /index.php;
|
|
24
27
|
|
|
25
28
|
location ~ \.php$ {
|
|
26
|
-
|
|
29
|
+
set $upstream php:9000;
|
|
30
|
+
fastcgi_pass $upstream;
|
|
27
31
|
include fastcgi_params;
|
|
28
32
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
|
29
33
|
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
|