Skip to content

Commit 854fca0

Browse files
upgrade bitops to 2.2 (#12)
* upgrade bitops to 2.2 * Bump to latest version * Fixing Terraform plugin stack-action * Fixing boolean validation in after script Co-authored-by: LeoDiazL <[email protected]>
1 parent 49b256a commit 854fca0

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

operations/_scripts/deploy/deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,4 @@ docker run --rm --name bitops \
6262
-e DEFAULT_FOLDER_NAME="_default" \
6363
-e BITOPS_FAST_FAIL="${BITOPS_FAST_FAIL}" \
6464
-v $(echo $GITHUB_ACTION_PATH)/operations:/opt/bitops_deployment \
65-
bitovi/bitops:2.1.0
65+
bitovi/bitops:2.2.1

operations/_scripts/generate/generate_bitops_config.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ fi
1717

1818
echo "
1919
terraform:
20-
cli: {}
21-
options:
20+
cli:
2221
stack-action: ${CONFIG_STACK_ACTION}
22+
options: {}
2323
" >> "${GITHUB_ACTION_PATH}/operations/deployment/terraform/bitops.config.yaml"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
if ( $TERRAFORM_DESTROY ) ; then
3+
if [[ $TERRAFORM_DESTROY = true ]] ; then
44
echo "Destroying S3 buket"
55
aws s3 rb s3://$TF_STATE_BUCKET --force
66
fi

0 commit comments

Comments
 (0)