File tree 7 files changed +13
-12
lines changed
7 files changed +13
-12
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ include $(INCLUDE_BUILD_DIR)/ci.mk
31
31
include $(INCLUDE_BUILD_DIR ) /release.mk
32
32
33
33
# test
34
+ include $(INCLUDE_TEST_DIR ) /common.mk
34
35
include $(INCLUDE_TEST_DIR ) /test.mk
35
36
36
37
# tools
File renamed without changes.
Original file line number Diff line number Diff line change 1
1
# Include Ansible dependencies common installation strategy
2
- include ../ansible/Ansible. common
2
+ include ../ansible/common.mk
3
3
4
4
ANSIBLE_FOLDER := $(CURDIR )
5
5
ANSIBLE_FORKS ?= 20
Original file line number Diff line number Diff line change 1
1
# Include AWS common features
2
- include ../../ansible/Ansible.common
2
+ include ../../ansible/common.mk
3
+ include ../../common.mk
3
4
4
5
PROVISION_ALERTS_TERRAFORM_WORKSPACE ?= $(CURDIR )
5
6
Original file line number Diff line number Diff line change
1
+ .PHONY : validate-aws-credentials
2
+ validate-aws-credentials :
3
+ @ACC_ID=" $$ (aws sts get-caller-identity --output text|awk '{print $$ 1}')" ; \
4
+ if [ " $$ {ACC_ID}" != " $( AWS_ACCOUNT_ID) " ]; then \
5
+ echo " Invalid AWS account ID. Expected: $( AWS_ACCOUNT_ID) , got: $$ {ACC_ID}." ; \
6
+ exit 1; \
7
+ fi
Original file line number Diff line number Diff line change 1
1
# Include Ansible dependencies common installation strategy
2
- include ../ansible/Ansible. common
2
+ include ../ansible/common.mk
3
3
4
4
CROWDSTRIKE_REPO_SSH_KEY ?= $(HOME ) /.ssh/crowdstrike_ansible_role_key
5
5
TERRAFORM_DIR := ./terraform
Original file line number Diff line number Diff line change 1
- include $(CURDIR ) /test/ansible/Ansible. common
1
+ include $(CURDIR ) /test/ansible/common.mk
2
2
3
3
PROVISION_HOST_PREFIX := $(shell whoami) -$(shell hostname)
4
4
AWS_ACCOUNT_ID = "018789649883"# CAOS
@@ -52,11 +52,3 @@ ifndef AGENT_VERSION
52
52
else
53
53
bash $(CURDIR)/test/packaging/docker.sh
54
54
endif
55
-
56
- .PHONY : validate-aws-credentials
57
- validate-aws-credentials :
58
- @ACC_ID=" $$ (aws sts get-caller-identity --output text|awk '{print $$ 1}')" ; \
59
- if [ " $$ {ACC_ID}" != " $( AWS_ACCOUNT_ID) " ]; then \
60
- echo " Invalid AWS account ID. Expected: $( AWS_ACCOUNT_ID) , got: $$ {ACC_ID}." ; \
61
- exit 1; \
62
- fi
You can’t perform that action at this time.
0 commit comments