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

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.4",
3
+ "version": "2.18.0-beta.6",
4
4
  "description": "A collection of build / support tools for Leverege developers",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -1,4 +1,7 @@
1
1
  #!/bin/bash
2
+ echo "_______STARTING_DECRYPT_SECRETS__________" # XXX
3
+ what_the_actual_fuck_you_fucking_fucks
4
+
2
5
  display_usage() {
3
6
  echo "This script decrypts files using Google KMS."
4
7
  echo -e "\nInputs: .env.enc and secrets.tar.gz.enc (if it exists) \n"
@@ -58,8 +61,8 @@ initialize_gcloud() {
58
61
 
59
62
  function decryptEnvToPipeline() {
60
63
  echo "------------- BitBucket Pipeline Detected -------------"
61
- printf " GCLOUD_PROJECT [$GCLOUD_PROJECT]\n"
62
- printf " GCLOUD_COMPUTE_ZONE [$GCLOUD_COMPUTE_ZONE]\n"
64
+ echo " GCLOUD_PROJECT [$GCLOUD_PROJECT]"
65
+ echo " GCLOUD_COMPUTE_ZONE [$GCLOUD_COMPUTE_ZONE]"
63
66
 
64
67
  gcloud --quiet config set project ${GCLOUD_PROJECT}
65
68
  gcloud --quiet config set compute/zone ${GCLOUD_COMPUTE_ZONE}
@@ -82,7 +85,7 @@ if [ "$1" == "-h" ]; then
82
85
  exit 1
83
86
  fi
84
87
 
85
- printf "BITBUCKETCI=[$BITBUCKETCI] CIRCLECI=[$CIRCLECI]\n"
88
+ echo "BITBUCKETCI=[$BITBUCKETCI] CIRCLECI=[$CIRCLECI]"
86
89
 
87
90
  if [ "$BITBUCKETCI" == "true" ];
88
91
  then
@@ -94,6 +97,8 @@ if [ "$CIRCLECI" == "true" ]; then
94
97
  initialize_gcloud
95
98
  fi
96
99
 
100
+ echo "XXXXXXXXXX SHOULD NOT BE HERE XXXXXXXXXX" && exit 0 # XXX
101
+
97
102
  git_origin=`git config --get remote.origin.url`
98
103
 
99
104
  if [[ $git_origin = https* ]]; then