@leverege/build-tools 2.18.0-beta.6 → 2.18.0-beta.8

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.
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leverege/build-tools",
3
- "version": "2.18.0-beta.6",
3
+ "version": "2.18.0-beta.8",
4
4
  "description": "A collection of build / support tools for Leverege developers",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -1,7 +1,4 @@
1
1
  #!/bin/bash
2
- echo "_______STARTING_DECRYPT_SECRETS__________" # XXX
3
- what_the_actual_fuck_you_fucking_fucks
4
-
5
2
  display_usage() {
6
3
  echo "This script decrypts files using Google KMS."
7
4
  echo -e "\nInputs: .env.enc and secrets.tar.gz.enc (if it exists) \n"
@@ -60,9 +57,9 @@ initialize_gcloud() {
60
57
  }
61
58
 
62
59
  function decryptEnvToPipeline() {
63
- echo "------------- BitBucket Pipeline Detected -------------"
64
- echo " GCLOUD_PROJECT [$GCLOUD_PROJECT]"
65
- echo " GCLOUD_COMPUTE_ZONE [$GCLOUD_COMPUTE_ZONE]"
60
+ printf "------------- BitBucket Pipeline Detected -------------\n"
61
+ printf " GCLOUD_PROJECT [$GCLOUD_PROJECT]\n"
62
+ printf " GCLOUD_COMPUTE_ZONE [$GCLOUD_COMPUTE_ZONE]\n"
66
63
 
67
64
  gcloud --quiet config set project ${GCLOUD_PROJECT}
68
65
  gcloud --quiet config set compute/zone ${GCLOUD_COMPUTE_ZONE}
@@ -85,7 +82,7 @@ if [ "$1" == "-h" ]; then
85
82
  exit 1
86
83
  fi
87
84
 
88
- echo "BITBUCKETCI=[$BITBUCKETCI] CIRCLECI=[$CIRCLECI]"
85
+ printf "\nBITBUCKETCI=[$BITBUCKETCI] CIRCLECI=[$CIRCLECI]\n"
89
86
 
90
87
  if [ "$BITBUCKETCI" == "true" ];
91
88
  then
@@ -97,7 +94,7 @@ if [ "$CIRCLECI" == "true" ]; then
97
94
  initialize_gcloud
98
95
  fi
99
96
 
100
- echo "XXXXXXXXXX SHOULD NOT BE HERE XXXXXXXXXX" && exit 0 # XXX
97
+ printf "\nXXXXXXXXXX SHOULD NOT BE HERE XXXXXXXXXX\n" && exit 0 # XXX
101
98
 
102
99
  git_origin=`git config --get remote.origin.url`
103
100
 
@@ -108,7 +105,7 @@ else
108
105
  fi
109
106
 
110
107
  # Set project based on org name
111
- printf "\nDetecting organization name...\n"
108
+ printf "\nSON OF A BITCH XXX - Detecting organization name...\n"
112
109
 
113
110
  if [ "$git_orgname" = "leverege" ]; then
114
111
  printf "\nUsing leverege\n\n"