forked from demisto/content
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcircle.yml
More file actions
53 lines (40 loc) · 1.36 KB
/
circle.yml
File metadata and controls
53 lines (40 loc) · 1.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
machine:
node:
version: v9.8.0
test:
pre:
# install dependencies
- npm install npm -g
- pip install git+https://github.com/demisto/demisto-py.git@test-content
- pip install pykwalify
- npm install -g jsdoc-to-markdown
- pip install git+https://github.com/rahulrrixe/parinx.git@master
# validate yaml
- chmod +x ./Tests/yamlvalidator
- ./Tests/yamlvalidator
# build content descriptor
- ./setContentDescriptor.sh $CIRCLE_BUILD_NUM 00147fc001414670732cb2de5298f8e2188f10cc 18.4.1
# create common server documentation
- ./Docs/commonServerDocs.sh
# create content bundle
- python content_creator.py $CIRCLE_ARTIFACTS
override:
- chmod +x ./Tests/scripts/*
# ensure file name
- ./Tests/scripts/validate_files_structure.sh
# get installer from server
- ./Tests/scripts/server_get_artifact.sh
# run demisto instance
- ./Tests/scripts/create_instance.sh
# download conf file
- ./Tests/scripts/download_demisto_conf.sh
# run installer
- ./Tests/scripts/run_installer_on_instance.sh
# wait until server is ready
- ./Tests/scripts/wait_until_server_ready.sh
# pull all non default docker images
#- ./Tests/scripts/pull_docker_images.sh
# run tests
- ./Tests/scripts/run_tests.sh
# terminate instance
- ./Tests/scripts/destroy_instances.sh