File tree Expand file tree Collapse file tree 2 files changed +34
-2
lines changed Expand file tree Collapse file tree 2 files changed +34
-2
lines changed Original file line number Diff line number Diff line change 7
7
jobs :
8
8
trigger-circleci :
9
9
runs-on : ubuntu-latest
10
+ strategy :
11
+ matrix :
12
+ distribution :
13
+ - stretch
14
+ - buster
15
+ - xenial
16
+ - artful
17
+ - bionic
18
+ - cosmic
19
+ - disco
20
+ - eoan
21
+ - focal
22
+ - centos_7
23
+ - centos_8
10
24
steps :
11
25
-
12
26
name : Set version
22
36
name : Trigger Circle CI API
23
37
env :
24
38
CIRCLE_API_TOKEN : ${{ secrets.CIRCLE_API_TOKEN }}
39
+ DISTRIBUTION : ${{ matrix.distribution }}
25
40
run : >
26
41
curl --request POST
27
42
--url https://circleci.com/api/v2/project/github/jolicode/redirection.io/pipeline
37
52
\"release_env\": \"production\",
38
53
\"release_channel\": \"beta\",
39
54
\"release_main_version_dir\": \"$MAJOR_VERSION\",
40
- \"release_nginx_module_version\": \"$VERSION\"
55
+ \"release_nginx_module_version\": \"$VERSION\",
56
+ \"release_distribution\": \"$DISTRIBUTION\"
41
57
}
42
58
}
43
59
"
Original file line number Diff line number Diff line change 7
7
jobs :
8
8
trigger-circleci :
9
9
runs-on : ubuntu-latest
10
+ strategy :
11
+ matrix :
12
+ distribution :
13
+ - stretch
14
+ - buster
15
+ - xenial
16
+ - artful
17
+ - bionic
18
+ - cosmic
19
+ - disco
20
+ - eoan
21
+ - focal
22
+ - centos_7
23
+ - centos_8
10
24
steps :
11
25
-
12
26
name : Set version
22
36
name : Trigger Circle CI API
23
37
env :
24
38
CIRCLE_API_TOKEN : ${{ secrets.CIRCLE_API_TOKEN }}
39
+ DISTRIBUTION : ${{ matrix.distribution }}
25
40
run : >
26
41
curl --request POST
27
42
--url https://circleci.com/api/v2/project/github/jolicode/redirection.io/pipeline
37
52
\"release_env\": \"production\",
38
53
\"release_channel\": \"stable\",
39
54
\"release_main_version_dir\": \"$MAJOR_VERSION\",
40
- \"release_nginx_module_version\": \"$VERSION\"
55
+ \"release_nginx_module_version\": \"$VERSION\",
56
+ \"release_distribution\": \"$DISTRIBUTION\"
41
57
}
42
58
}
43
59
"
You can’t perform that action at this time.
0 commit comments