@fishawack/lab-env 2.0.2 → 3.0.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.
@@ -139,6 +139,12 @@ RUN rm -rf ./aws-elastic-beanstalk-cli-setup
139
139
  RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \
140
140
  locale-gen
141
141
 
142
+ # Install AWS-CLI@2
143
+ RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
144
+ RUN unzip awscliv2.zip
145
+ RUN ./aws/install
146
+ RUN rm -rf ./aws && rm -rf awscliv2.zip
147
+
142
148
  # Cleanup apt-get install folders
143
149
  RUN apt-get clean && \
144
150
  rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
File without changes
@@ -0,0 +1,4 @@
1
+ ## Changelog
2
+
3
+ ### 0.1.0 (2022-05-27)
4
+ * [Feature] Added aws-cli@2 to core container
package/core/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "core",
3
- "version": "0.0.21",
3
+ "version": "0.1.0",
4
4
  "description": "lab-env docker config for the @fishawack/core npm module",
5
5
  "scripts": {
6
6
  "postversion": "mv ./*/ ./$npm_package_version && docker build ./*/ -t fishawack/core:$npm_package_version -t fishawack/core:latest && docker push fishawack/core:$npm_package_version && docker push fishawack/core:latest && git add . && git commit -m 'Bumped core to $npm_package_version'"
@@ -1,3 +1,4 @@
1
+ Mutex posixsem
1
2
  LoadModule proxy_fcgi_module modules/mod_proxy_fcgi.so
2
3
 
3
4
  <VirtualHost *:8080>
@@ -36,7 +36,7 @@ services:
36
36
  build:
37
37
  context: ./php/
38
38
  dockerfile: Dockerfile
39
- image: lab-env/drupal/9/php:0.0.3
39
+ image: lab-env/drupal/9/php:0.0.4
40
40
  init: true
41
41
  working_dir: /app
42
42
  networks:
@@ -1,4 +1,4 @@
1
- FROM chialab/php:7.4-fpm
1
+ FROM chialab/php:8.1-fpm
2
2
 
3
3
  MAINTAINER Mike Mellor
4
4
 
package/globals.js CHANGED
@@ -20,8 +20,15 @@ var run;
20
20
  var exec;
21
21
  var running;
22
22
  var services;
23
+ var branch;
23
24
  var opts = {encoding: 'utf8', stdio: 'inherit', shell: '/bin/bash'};
24
25
 
26
+ try{
27
+ branch = process.env.BRANCH || process.env.CI_COMMIT_REF_NAME || require('git-branch').sync();
28
+ } catch(e){
29
+ branch = 'unknown';
30
+ }
31
+
25
32
  try{
26
33
  repo = execSync('basename "$(git rev-parse --show-toplevel)"', {encoding: 'utf8', stdio: 'pipe'}).trim() || path.basename(process.cwd());
27
34
  } catch(e){
@@ -113,6 +120,7 @@ module.exports = {
113
120
  services,
114
121
  platform,
115
122
  repo,
123
+ branch,
116
124
  repo_safe: repo.replace(/\./g, ''),
117
125
  pkg,
118
126
  docker,
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@fishawack/lab-env",
3
- "version": "2.0.2",
3
+ "version": "3.0.0",
4
4
  "description": "Docker manager for FW",
5
5
  "main": "cli.js",
6
6
  "scripts": {
7
- "test": "rm -rf _Test/_fixtures && mkdir _Test/_fixtures && mocha _Test/*.js --timeout 120s --bail",
7
+ "test": "rm -rf _Test/_fixtures/boilerplate*; mocha _Test/*.js --timeout 1200s --bail",
8
8
  "preversion": "npm test",
9
9
  "postversion": "git push && git push --tags && npm publish",
10
10
  "postpublish": "git checkout development && git merge master && git push"
@@ -16,23 +16,34 @@
16
16
  "author": "",
17
17
  "license": "ISC",
18
18
  "homepage": "https://bitbucket.org/fishawackdigital/lab-env#readme",
19
+ "type": "commonjs",
19
20
  "bin": {
20
21
  "lab-env": "./cli.js",
21
22
  "fw": "./cli.js"
22
23
  },
23
24
  "dependencies": {
24
- "axios": "0.21.1",
25
+ "@aws-sdk/client-cloudfront": "^3.141.0",
26
+ "@aws-sdk/client-iam": "^3.150.0",
27
+ "@aws-sdk/client-s3": "^3.141.0",
28
+ "axios": "^0.21.4",
25
29
  "chalk": "4.1.0",
30
+ "generate-password": "^1.7.0",
26
31
  "get-port": "5.1.1",
32
+ "git-branch": "^2.0.1",
27
33
  "glob": "7.1.7",
28
34
  "inquirer": "8.1.2",
29
35
  "ora": "5.4.1",
30
36
  "semver": "7.3.4",
31
- "update-notifier": "5.1.0",
37
+ "update-notifier": "^6.0.2",
32
38
  "yargs": "16.2.0"
33
39
  },
34
40
  "devDependencies": {
35
41
  "chai": "4.3.4",
36
- "mocha": "9.1.2"
42
+ "mocha": "^9.2.2",
43
+ "node-fetch": "^3.2.10"
44
+ },
45
+ "engines": {
46
+ "npm": ">=8",
47
+ "node": ">=18"
37
48
  }
38
49
  }