@fishawack/lab-env 4.48.0 → 5.0.0-beta.1

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/.prettierignore CHANGED
@@ -4,7 +4,7 @@
4
4
  **/node_modules
5
5
  **/vendor
6
6
  **/storage
7
- bootstrap
7
+ bootstrap/**/*
8
8
  coverage
9
9
  .tmp
10
10
  dist
@@ -46,6 +46,8 @@ wp-content/themes/**/*
46
46
  # Laravel specific
47
47
  resources/content
48
48
  public/
49
+ !bootstrap/app.php
50
+ !bootstrap/providers.php
49
51
 
50
52
  # Drupal specific ignores
51
53
  themes/custom/**/*
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  ## Changelog
2
2
 
3
+ ### 5.0.0-beta.1 (2025-10-27)
4
+
5
+ #### Features
6
+
7
+ * **core@1:** point to 1.8.0-beta.2 ([aaaed0a](https://bitbucket.org/fishawackdigital/lab-env/commits/aaaed0af45bde22341fbeb2e59467902be747aff))
8
+ * **laravel:** source env.sh when present by default ([7fe564a](https://bitbucket.org/fishawackdigital/lab-env/commits/7fe564a85b014c67cfcc6d34e699c8e7e5d77acd))
9
+
10
+ #### Bug Fixes
11
+
12
+ * dont ignore bootstrap files now a lot of laravel code is in there ([92d67c2](https://bitbucket.org/fishawackdigital/lab-env/commits/92d67c2dc9e065a2781a2ff02ee559fb615fc90f))
13
+ * switched from elasticsearch to opensearch ([a589384](https://bitbucket.org/fishawackdigital/lab-env/commits/a5893848e37415d769419f4dc54549b0cd6408c6))
14
+
15
+ ### 4.48.1-beta.1 (2025-10-26)
16
+
17
+ #### Build Updates
18
+
19
+ * **core/1:** Bumped lab-env-core-1 ([a0ce4c7](https://bitbucket.org/fishawackdigital/lab-env/commits/a0ce4c77514c2bb3b24870e63d5ec23b411db9b6))
20
+
3
21
  ### 4.48.0 (2025-09-12)
4
22
 
5
23
  #### Features
package/_Ai/lab-env-@.md CHANGED
@@ -62,7 +62,7 @@ services:
62
62
  nginx: # Web server
63
63
  php: # PHP-FPM application server
64
64
  redis: # Caching and sessions
65
- elasticsearch: # Search engine (v8.8.1)
65
+ search: # Search engine (v2.19.3)
66
66
  ```
67
67
 
68
68
  **Ports**: Web: 8000, Database: 3306, Elasticsearch: 9200
@@ -99,7 +99,7 @@ Each framework manages persistent data through Docker volumes:
99
99
  - **vendor**: PHP Composer dependencies (PHP frameworks)
100
100
  - **mysql**: Database storage (all frameworks with DB)
101
101
  - **redis**: Cache storage (Laravel)
102
- - **elasticsearch**: Search index storage (Laravel)
102
+ - **search**: Search index storage (Laravel)
103
103
  - **wordpress**: WordPress core files (WordPress)
104
104
  - **drupal**: Drupal core files (Drupal)
105
105
 
@@ -35,5 +35,10 @@ describe("deploy", () => {
35
35
  encoding: "utf8",
36
36
  stdio: "inherit",
37
37
  });
38
+
39
+ execSync(`docker image prune --all -f`, {
40
+ encoding: "utf8",
41
+ stdio: "inherit",
42
+ });
38
43
  });
39
44
  });
@@ -35,5 +35,10 @@ describe("deploy", () => {
35
35
  encoding: "utf8",
36
36
  stdio: "inherit",
37
37
  });
38
+
39
+ execSync(`docker image prune --all -f`, {
40
+ encoding: "utf8",
41
+ stdio: "inherit",
42
+ });
38
43
  });
39
44
  });
@@ -35,5 +35,10 @@ describe("deploy", () => {
35
35
  encoding: "utf8",
36
36
  stdio: "inherit",
37
37
  });
38
+
39
+ execSync(`docker image prune --all -f`, {
40
+ encoding: "utf8",
41
+ stdio: "inherit",
42
+ });
38
43
  });
39
44
  });
@@ -35,5 +35,10 @@ describe("deploy", () => {
35
35
  encoding: "utf8",
36
36
  stdio: "inherit",
37
37
  });
38
+
39
+ execSync(`docker image prune --all -f`, {
40
+ encoding: "utf8",
41
+ stdio: "inherit",
42
+ });
38
43
  });
39
44
  });
@@ -35,5 +35,10 @@ describe("deploy", () => {
35
35
  encoding: "utf8",
36
36
  stdio: "inherit",
37
37
  });
38
+
39
+ execSync(`docker image prune --all -f`, {
40
+ encoding: "utf8",
41
+ stdio: "inherit",
42
+ });
38
43
  });
39
44
  });
@@ -35,5 +35,10 @@ describe("deploy", () => {
35
35
  encoding: "utf8",
36
36
  stdio: "inherit",
37
37
  });
38
+
39
+ execSync(`docker image prune --all -f`, {
40
+ encoding: "utf8",
41
+ stdio: "inherit",
42
+ });
38
43
  });
39
44
  });
@@ -35,5 +35,10 @@ describe("deploy", () => {
35
35
  encoding: "utf8",
36
36
  stdio: "inherit",
37
37
  });
38
+
39
+ execSync(`docker image prune --all -f`, {
40
+ encoding: "utf8",
41
+ stdio: "inherit",
42
+ });
38
43
  });
39
44
  });
@@ -1,5 +1,17 @@
1
1
  ## Changelog
2
2
 
3
+ ### 1.9.0 (2025-10-26)
4
+
5
+ #### Features
6
+
7
+ * source env.sh when preset by default ([ce109de](https://bitbucket.org/fishawackdigital/lab-env-core-1/commits/ce109ded16f8d25659d4316bc311412dccdc87e9))
8
+
9
+ ### 1.9.0-beta.1 (2025-10-26)
10
+
11
+ #### Features
12
+
13
+ * source env.sh when preset by default ([ce109de](https://bitbucket.org/fishawackdigital/lab-env-core-1/commits/ce109ded16f8d25659d4316bc311412dccdc87e9))
14
+
3
15
  ### 1.8.0 (2025-08-10)
4
16
 
5
17
  #### Features
@@ -26,11 +26,34 @@ pipelines:
26
26
  - eval `ssh-agent` && ssh-add || true
27
27
  # Publish docker image
28
28
  - docker login $DOCKER_CREDENTIALS && docker buildx create --use && npm run image
29
- # Sync beta after publish
29
+ # Open PR to re-sync beta after release
30
+ - |
31
+ curl https://api.bitbucket.org/2.0/repositories/${BITBUCKET_REPO_OWNER}/${BITBUCKET_REPO_SLUG}/pullrequests \
32
+ -u $GIT_CREDENTIALS \
33
+ --header 'Content-Type: application/json' \
34
+ --data "{
35
+ \"title\": \"fw-auto: sync beta after release\",
36
+ \"source\": {
37
+ \"branch\": {
38
+ \"name\": \"master\"
39
+ }
40
+ },
41
+ \"destination\": {
42
+ \"branch\": {
43
+ \"name\": \"beta\"
44
+ }
45
+ },
46
+ \"reviewers\": [
47
+ {
48
+ \"uuid\": \"{2518e4c3-fc1d-4653-b355-c00be099ce6c}\"
49
+ }
50
+ ]
51
+ }"
52
+ # Custom post-release code
53
+ - if [ -f ./_Scripts/post-release.sh ]; then /bin/bash ./_Scripts/post-release.sh; fi
54
+ # Commit and create pull request for new version on lab-env repo
30
55
  - git config --global user.email "digital@fishawack.com"
31
56
  - git config --global user.name "Digital Fishawack"
32
- - git fetch origin "+refs/heads/*:refs/remotes/origin/*" && git checkout beta && git merge master && git push origin beta
33
- # Commit and create pull request for new version on lab-env repo
34
57
  - git clone https://$GIT_CREDENTIALS@bitbucket.org/fishawackdigital/lab-env
35
58
  - cd lab-env
36
59
  - git checkout -b "$BITBUCKET_REPO_SLUG-$BITBUCKET_COMMIT" origin/beta
@@ -32,6 +32,9 @@ services:
32
32
  - BRANCH=${BRANCH:-}
33
33
  - CI_COMMIT_REF_NAME=${CI_COMMIT_REF_NAME:-}
34
34
  - REMOTE_BROWSERS=${REMOTE_BROWSERS:-chrome}
35
+ env_file:
36
+ - path: $CWD/env.sh
37
+ required: false
35
38
  volumes:
36
39
  node_modules:
37
40
  driver: "local"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "core",
3
- "version": "1.8.0",
3
+ "version": "1.9.0",
4
4
  "description": "lab-env docker config for the @fishawack/core/1 npm module",
5
5
  "scripts": {
6
6
  "setup": "ln -sfn ../../.commitlintrc.json .commitlintrc.json && ln -sfn ../../.editorconfig .editorconfig && ln -sfn ../../.prettierignore .prettierignore && ln -sfn ../../.husky/ .husky && husky &>/dev/null || true",
package/globals.js CHANGED
@@ -736,7 +736,7 @@ if (platform === "wordpress" && process.env.VERSION_WORDPRESS !== "0") {
736
736
  }
737
737
 
738
738
  if (platform === "laravel") {
739
- volumes.push("redis", "elasticsearch");
739
+ volumes.push("redis", "search");
740
740
  }
741
741
 
742
742
  if (
@@ -33,6 +33,9 @@ services:
33
33
  working_dir: /app
34
34
  networks:
35
35
  - default
36
+ env_file:
37
+ - path: $CWD/env.sh
38
+ required: false
36
39
  volumes:
37
40
  - $CWD/:/app
38
41
  - vendor:/app/vendor
@@ -47,18 +50,29 @@ services:
47
50
  - default
48
51
  volumes:
49
52
  - redis:/data
50
- elasticsearch:
51
- image: elasticsearch:8.8.1
53
+ search:
54
+ image: opensearchproject/opensearch:2.19.3
52
55
  environment:
53
56
  - discovery.type=single-node
54
- - xpack.security.enabled=false
57
+ - bootstrap.memory_lock=true
58
+ - OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m
59
+ - DISABLE_SECURITY_PLUGIN=true
60
+ - cluster.name=dev-cluster-1
61
+ - node.name=dev-node-1
55
62
  networks:
56
63
  - default
57
64
  ports:
58
65
  - "${PORT_ES:-9200}:9200"
59
66
  volumes:
60
- - elasticsearch:/usr/share/elasticsearch/data
67
+ - search:/usr/share/opensearch/data
61
68
  mem_limit: 2G
69
+ ulimits:
70
+ memlock:
71
+ soft: -1
72
+ hard: -1
73
+ nofile:
74
+ soft: 65536
75
+ hard: 65536
62
76
  networks:
63
77
  default:
64
78
  driver: "bridge"
@@ -69,5 +83,5 @@ volumes:
69
83
  driver: "local"
70
84
  redis:
71
85
  driver: "local"
72
- elasticsearch:
86
+ search:
73
87
  driver: "local"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fishawack/lab-env",
3
- "version": "4.48.0",
3
+ "version": "5.0.0-beta.1",
4
4
  "description": "Docker manager for FW",
5
5
  "main": "cli.js",
6
6
  "scripts": {