44 docker :
55 - image : ronykoz/content-build-node911:latest
66 environment :
7- CONTENT_VERSION : " 18.12.1 "
7+ CONTENT_VERSION : " 18.12.2 "
88 GIT_SHA1 : " 4df02ca52f0cd2709cbeef6fda31ba81ec37408d" # guardrails-disable-line
99 steps :
1010 - checkout
4242 command : python content_creator.py $CIRCLE_ARTIFACTS
4343 - store_artifacts :
4444 path : artifacts
45- destination : artifacts
46- - run :
47- name : Download Artifacts
48- command : |
49- if ./Tests/scripts/is_ami.sh ;
50- then
51- echo "Using AMI - Not downloading artifacts"
52-
53- else
54- ./Tests/scripts/server_get_artifact.sh $SERVER_CI_TOKEN
55- fi
56- - run :
57- name : Download Configuration
58- command : |
59- if ./Tests/scripts/is_ami.sh ;
60- then
61- ./Tests/scripts/download_demisto_conf.sh
62-
63- else
64- ./Tests/lastest_server_build_scripts/download_demisto_conf.sh
65- fi
66- - run :
67- name : Create Instance
68- command : |
69- if ./Tests/scripts/is_ami.sh ;
70- then
71- ./Tests/scripts/create_instance.sh instance.json
72-
73- else
74- ./Tests/lastest_server_build_scripts/create_instance.sh instance.json
75- fi
76- - run :
77- name : Setup Instance
78- command : |
79- if ./Tests/scripts/is_ami.sh ;
80- then
81- ./Tests/scripts/run_installer_on_instance.sh
82-
83- else
84- ./Tests/lastest_server_build_scripts/run_installer_on_instance.sh
85- fi
86-
87- ./Tests/scripts/wait_until_server_ready.sh
88- - run :
89- name : Run Tests
90- shell : /bin/bash
91- command : |
92- if ./Tests/scripts/is_ami.sh ;
93- then
94- ./Tests/scripts/run_tests.sh
95-
96- else
97- ./Tests/lastest_server_build_scripts/run_tests.sh
98- fi
99- - run :
100- name : Slack Notifier
101- shell : /bin/bash
102- command : ./Tests/scripts/slack_notifier.sh
103- when : always
104- - run :
105- name : Instance Test
106- command : ./Tests/scripts/instance_test.sh
107- when : always
108- - run :
109- name : Destroy Instances
110- command : ./Tests/scripts/destroy_instances.sh $CIRCLE_ARTIFACTS
111- when : always
112- - store_artifacts :
113- path : artifacts
114- destination : artifacts
115- when : always
45+ destination : artifacts
0 commit comments