@fishawack/lab-env 5.7.1-beta.1 → 5.8.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/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  ## Changelog
2
2
 
3
+ ### 5.8.0-beta.1 (2026-09-07)
4
+
5
+ #### Features
6
+
7
+ * ssl verification shared between docker volumes ([ab4b13e](https://bitbucket.org/fishawackdigital/lab-env/commits/ab4b13e168b158a298060bc323a1bf3cf7ac5ca2))
8
+
9
+ #### Bug Fixes
10
+
11
+ * **php:** ownership of php dir and git flag for local modules ([2043400](https://bitbucket.org/fishawackdigital/lab-env/commits/20434007a15a286cbd5adaa00cf27fb70909acab))
12
+ * use new token instead of app password post release ([19d91c4](https://bitbucket.org/fishawackdigital/lab-env/commits/19d91c4be3de30f7aada42d3d334eefba57ecfbd))
13
+
3
14
  ### 5.7.1-beta.1 (2026-09-07)
4
15
 
5
16
  #### Build Updates
@@ -6,7 +6,7 @@ git config --global user.email "digital@fishawack.com"
6
6
 
7
7
  git config --global user.name "Digital Fishawack"
8
8
 
9
- git clone https://$GIT_CREDENTIALS@bitbucket.org/fishawackdigital/aws-runner
9
+ git clone https://x-bitbucket-api-token-auth:$BITBUCKET_TOKEN@bitbucket.org/fishawackdigital/aws-runner
10
10
 
11
11
  cd aws-runner
12
12
 
@@ -0,0 +1,7 @@
1
+ [client]
2
+ # Local dev only: mysql containers auto-generate a self-signed cert, which
3
+ # the mariadb-client bundled in the php images refuses by default
4
+ # ("TLS/SSL error: self-signed certificate in certificate chain"). Keeps
5
+ # TLS encryption on, only skips server-cert verification (never disables
6
+ # ssl entirely).
7
+ ssl-verify-server-cert=0
@@ -38,6 +38,7 @@ services:
38
38
  volumes:
39
39
  - $CWD/:/app
40
40
  - vendor:/app/vendor
41
+ - $DIRNAME/_Shared/mysql-client/.my.cnf:/home/php/.my.cnf:ro
41
42
  environment:
42
43
  - FW_ROOT=${FW_ROOT:-}
43
44
  - USER_UID=${USER_UID:-0}
@@ -48,6 +48,7 @@ services:
48
48
  - $CWD/profiles:/app/web/profiles
49
49
  - vendor:/app/vendor
50
50
  - drupal:/app/web
51
+ - $DIRNAME/_Shared/mysql-client/.my.cnf:/home/php/.my.cnf:ro
51
52
  environment:
52
53
  - FW_ROOT=${FW_ROOT:-}
53
54
  - USER_UID=${USER_UID:-0}
@@ -42,6 +42,7 @@ services:
42
42
  - $CWD/:/app
43
43
  - vendor:/app/vendor
44
44
  - $FW_DIR/.ssh:/home/php/.ssh
45
+ - $DIRNAME/_Shared/mysql-client/.my.cnf:/home/php/.my.cnf:ro
45
46
  environment:
46
47
  - FW_ROOT=${FW_ROOT:-}
47
48
  - USER_UID=${USER_UID:-0}
@@ -19,6 +19,9 @@ RUN apt-get update && \
19
19
  # Add php user
20
20
  RUN useradd -m -G www-data -s /bin/bash php
21
21
 
22
+ # Set safe directory to remove intel errors when running git rev-parse
23
+ RUN su php -c "git config --global --add safe.directory /app"
24
+
22
25
  # Change composer home dir
23
26
  ENV COMPOSER_HOME=/home/php/.composer
24
27
 
@@ -11,6 +11,9 @@ if [ -z "$FW_ROOT" ]; then
11
11
  # Own the vendor folder otherwise it'll be owned by root/previous php id which will prevent writing
12
12
  chown php /app/vendor
13
13
 
14
+ # Own the php home directory without following symlinks
15
+ chown -Rh php /home/php
16
+
14
17
  # If bash command then start an non login interactive shell
15
18
  if [[ "$@" == "bash" ]]; then
16
19
  exec su php
@@ -38,6 +38,7 @@ services:
38
38
  volumes:
39
39
  - $CWD/:/app
40
40
  - vendor:/app/vendor
41
+ - $DIRNAME/_Shared/mysql-client/.my.cnf:/home/php/.my.cnf:ro
41
42
  environment:
42
43
  - FW_ROOT=${FW_ROOT:-}
43
44
  - USER_UID=${USER_UID:-0}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fishawack/lab-env",
3
- "version": "5.7.1-beta.1",
3
+ "version": "5.8.0-beta.1",
4
4
  "description": "Docker manager for FW",
5
5
  "main": "cli.js",
6
6
  "scripts": {
@@ -40,6 +40,7 @@ services:
40
40
  - $CWD/:/app
41
41
  - vendor:/app/vendor
42
42
  - wordpress:/app/wordpress
43
+ - $DIRNAME/_Shared/mysql-client/.my.cnf:/home/php/.my.cnf:ro
43
44
  environment:
44
45
  - FW_ROOT=${FW_ROOT:-}
45
46
  - USER_UID=${USER_UID:-0}