File tree Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Original file line number Diff line number Diff line change
1
+ version : 2.1
2
+
3
+ # NOTE:
4
+ #
5
+ # This file has been added to 3.10, 3.9, and 3.8 stable branches to prevent
6
+ # CircleCI's Github integration from spamming PRs that are opened from these
7
+ # branches with failures.
8
+ #
9
+ # For CircleCI to run successful testing on this branch the test setup from
10
+ # the devel branch will have to be ported.
11
+ #
12
+ setup : true
13
+
14
+ orbs :
15
+ continuation : circleci/continuation@0.3.1
16
+
17
+ # our defined job, and its steps
18
+ jobs :
19
+ setup :
20
+ docker :
21
+ - image : cimg/python:3.11.1
22
+ executor : continuation/default
23
+ steps :
24
+ - run :
25
+ name : Checkout
26
+ command : |
27
+ # We do not want to clone the whole repository since we only need a few files.
28
+ # Unfortunately GitHub does not support the git-archive protocol, so we need to fetch the required files by hand.
29
+ (mkdir .circleci && cd .circleci && curl https://api.github.com/repos/arangodb/arangodb/contents/.circleci?ref=$CIRCLE_SHA1 | jq ".[].download_url" | xargs wget)
30
+ (mkdir tests && cd tests && wget https://raw.githubusercontent.com/arangodb/arangodb/$CIRCLE_SHA1/tests/test-definitions.txt)
31
+ - run :
32
+ name : Generate config
33
+ command : |
34
+ pip install pyyaml
35
+ python3 ".circleci/generate_config.py" -o generated_config.yml ./.circleci/base_config.yml "tests/test-definitions.txt"
36
+
37
+ - continuation/continue :
38
+ configuration_path : generated_config.yml # use newly generated config to continue
39
+
40
+ # our single workflow, that triggers the setup job defined above
41
+ workflows :
42
+ setup :
43
+ when :
44
+ or :
45
+ - equal : [ devel, << pipeline.git.branch >> ]
46
+ - equal : [ api, << pipeline.trigger_source >> ]
47
+ jobs :
48
+ - setup
You can’t perform that action at this time.
0 commit comments