Skip to content

Commit 6012e40

Browse files
author
David Swan
committed
(FM-8199) - Github actions set to run on release branch
- Test’s currently set to run in parity with Jenkins, further work will be done to enable full functionality testing
1 parent 1cb10d5 commit 6012e40

File tree

1 file changed

+83
-0
lines changed

1 file changed

+83
-0
lines changed

.github/workflows/release.yml

+83
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
2+
name: "release"
3+
4+
on:
5+
push:
6+
branches:
7+
- 'release'
8+
9+
jobs:
10+
LitmusAcceptance2012Sql:
11+
runs-on: self-hosted
12+
strategy:
13+
matrix:
14+
ruby_version: [2.5.x]
15+
puppet_gem_version: [~> 6.0]
16+
platform: [release_checks_sql_2012]
17+
agent_family: ['puppet5', 'puppet6']
18+
additional_command: ['bundle exec rake litmus:add_feature[sqlversion_2012]']
19+
20+
steps:
21+
- uses: actions/checkout@v1
22+
- name: Litmus Parallel
23+
uses: puppetlabs/action-litmus_parallel@master
24+
with:
25+
platform: ${{ matrix.platform }}
26+
agent_family: ${{ matrix.agent_family }}
27+
additional_command: ${{ matrix.additional_command }}
28+
LitmusAcceptance2014Sql:
29+
runs-on: self-hosted
30+
strategy:
31+
matrix:
32+
ruby_version: [2.5.x]
33+
puppet_gem_version: [~> 6.0]
34+
platform: [release_checks_sql_2014_parity]
35+
agent_family: ['puppet5', 'puppet6']
36+
additional_command: ['bundle exec rake litmus:add_feature[sqlversion_2014]']
37+
38+
steps:
39+
- uses: actions/checkout@v1
40+
- name: Litmus Parallel
41+
uses: puppetlabs/action-litmus_parallel@master
42+
with:
43+
platform: ${{ matrix.platform }}
44+
agent_family: ${{ matrix.agent_family }}
45+
additional_command: ${{ matrix.additional_command }}
46+
LitmusAcceptance2016Sql:
47+
runs-on: self-hosted
48+
strategy:
49+
matrix:
50+
ruby_version: [2.5.x]
51+
puppet_gem_version: [~> 6.0]
52+
platform: [release_checks_sql_2016_parity]
53+
agent_family: ['puppet5', 'puppet6']
54+
additional_command: ['bundle exec rake litmus:add_feature[sqlversion_2016]']
55+
56+
steps:
57+
- uses: actions/checkout@v1
58+
- name: Litmus Parallel
59+
uses: puppetlabs/action-litmus_parallel@master
60+
with:
61+
platform: ${{ matrix.platform }}
62+
agent_family: ${{ matrix.agent_family }}
63+
additional_command: ${{ matrix.additional_command }}
64+
65+
Spec:
66+
runs-on: self-hosted
67+
strategy:
68+
matrix:
69+
check: [parallel_spec, 'syntax lint metadata_lint check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop']
70+
ruby_version: [2.5.x]
71+
puppet_gem_version: [~> 5.0, ~> 6.0]
72+
exclude:
73+
- puppet_gem_version: ~> 5.0
74+
check: 'syntax lint metadata_lint check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop'
75+
- ruby_version: 2.5.x
76+
puppet_gem_version: ~> 5.0
77+
steps:
78+
- uses: actions/checkout@v1
79+
- name: Spec Tests
80+
uses: puppetlabs/action-litmus_spec@master
81+
with:
82+
puppet_gem_version: ${{ matrix.puppet_gem_version }}
83+
check: ${{ matrix.check }}

0 commit comments

Comments
 (0)