Skip to content

Commit fb85ed9

Browse files
authored
0.5.3 bug-fixing (#129)
* Added missing function * cleanup * Commented code cleanup
1 parent 2566696 commit fb85ed9

File tree

4 files changed

+4
-20
lines changed

4 files changed

+4
-20
lines changed

operations/_scripts/deploy/deploy.sh

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -32,19 +32,6 @@ export LB_LOGS_BUCKET="$(/bin/bash $GITHUB_ACTION_PATH/operations/_scripts/gener
3232
# Generate Ansible playbook
3333
/bin/bash $GITHUB_ACTION_PATH/operations/_scripts/generate/generate_ansible_playbook.sh
3434

35-
# List terraform folder
36-
echo "ls -al $GITHUB_ACTION_PATH/operations/deployment/terraform/"
37-
ls -al $GITHUB_ACTION_PATH/operations/deployment/terraform/
38-
# Prints out bitops.config.yaml
39-
echo "cat $GITHUB_ACTION_PATH/operations/deployment/terraform/bitops.config.yaml"
40-
cat $GITHUB_ACTION_PATH/operations/deployment/terraform/bitops.config.yaml
41-
42-
43-
echo "cat GITHUB_ACTION_PATH/operations/deployment/terraform/provider.tf"
44-
cat $GITHUB_ACTION_PATH/operations/deployment/terraform/provider.tf
45-
echo "ls GITHUB_ACTION_PATH/operations/deployment/ansible/app/${GITHUB_REPO_NAME}"
46-
ls "$GITHUB_ACTION_PATH/operations/deployment/ansible/app/${GITHUB_REPO_NAME}"
47-
4835
TERRAFORM_COMMAND=""
4936
TERRAFORM_DESTROY=""
5037
if [ "$STACK_DESTROY" == "true" ]; then

operations/_scripts/generate/generate_ansible_playbook.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ set -e
44

55
echo "In generate_ansible_playbook.sh"
66

7+
function alpha_only() {
8+
echo "$1" | tr -cd '[:alpha:]' | tr '[:upper:]' '[:lower:]'
9+
}
10+
711
echo -en "- name: Ensure hosts is up and running
812
hosts: bitops_servers
913
gather_facts: no

operations/_scripts/generate/generate_tf_vars.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,6 @@ aws_postgres_subnets=
9292
if [ -n "${AWS_POSTGRES_SUBNETS}" ]; then
9393
aws_postgres_subnets="aws_postgres_subnets = \"$(comma_str_to_tf_array $AWS_POSTGRES_SUBNETS)\""
9494
fi
95-
echo "AWS Postgres subnets: $aws_postgres_subnets"
96-
9795

9896
#-- Application --#
9997
app_port=$(generate_var app_port $APP_PORT)

operations/deployment/terraform/elb.tf

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,6 @@ resource "aws_s3_bucket_policy" "allow_access_from_another_account" {
3131
POLICY
3232
}
3333

34-
# resource "aws_s3_bucket_acl" "lb_access_logs_acl" {
35-
# bucket = aws_s3_bucket.lb_access_logs.id
36-
# acl = "private"
37-
# }
38-
3934
resource "aws_elb" "vm_ssl" {
4035
count = local.cert_available ? 1 : 0
4136
name = var.aws_resource_identifier_supershort

0 commit comments

Comments
 (0)