Skip to content

Commit 67d7117

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 67d7117

File tree

1 file changed

+81
-0
lines changed

1 file changed

+81
-0
lines changed

.github/workflows/release.yml

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
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+
19+
steps:
20+
- uses: actions/checkout@v1
21+
- name: Litmus Parallel
22+
uses: puppetlabs/action-litmus_parallel@master
23+
with:
24+
platform: ${{ matrix.platform }}
25+
agent_family: ${{ matrix.agent_family }}
26+
additional_command: ${{ matrix.additional_command }}
27+
LitmusAcceptance2014Sql:
28+
runs-on: self-hosted
29+
strategy:
30+
matrix:
31+
ruby_version: [2.5.x]
32+
puppet_gem_version: [~> 6.0]
33+
platform: [release_checks_sql_2014]
34+
agent_family: ['puppet5', 'puppet6']
35+
36+
steps:
37+
- uses: actions/checkout@v1
38+
- name: Litmus Parallel
39+
uses: puppetlabs/action-litmus_parallel@master
40+
with:
41+
platform: ${{ matrix.platform }}
42+
agent_family: ${{ matrix.agent_family }}
43+
additional_command: ${{ matrix.additional_command }}
44+
LitmusAcceptance2016Sql:
45+
runs-on: self-hosted
46+
strategy:
47+
matrix:
48+
ruby_version: [2.5.x]
49+
puppet_gem_version: [~> 6.0]
50+
platform: [release_checks_sql_2016_parity]
51+
agent_family: ['puppet5', 'puppet6']
52+
additional_command: ['bundle exec rake litmus:add_feature[sqlversion_2016]']
53+
54+
steps:
55+
- uses: actions/checkout@v1
56+
- name: Litmus Parallel
57+
uses: puppetlabs/action-litmus_parallel@master
58+
with:
59+
platform: ${{ matrix.platform }}
60+
agent_family: ${{ matrix.agent_family }}
61+
additional_command: ${{ matrix.additional_command }}
62+
63+
Spec:
64+
runs-on: self-hosted
65+
strategy:
66+
matrix:
67+
check: [parallel_spec, 'syntax lint metadata_lint check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop']
68+
ruby_version: [2.5.x]
69+
puppet_gem_version: [~> 5.0, ~> 6.0]
70+
exclude:
71+
- puppet_gem_version: ~> 5.0
72+
check: 'syntax lint metadata_lint check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop'
73+
- ruby_version: 2.5.x
74+
puppet_gem_version: ~> 5.0
75+
steps:
76+
- uses: actions/checkout@v1
77+
- name: Spec Tests
78+
uses: puppetlabs/action-litmus_spec@master
79+
with:
80+
puppet_gem_version: ${{ matrix.puppet_gem_version }}
81+
check: ${{ matrix.check }}

0 commit comments

Comments
 (0)