Skip to content

Commit

Permalink
feat(formula): add eclipse-formula
Browse files Browse the repository at this point in the history
  • Loading branch information
myii committed May 6, 2020
1 parent b005099 commit 4acc24d
Show file tree
Hide file tree
Showing 4 changed files with 79 additions and 1 deletion.
1 change: 1 addition & 0 deletions pillar.example
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ ssf:
- dhcpd
- django
- docker
- eclipse
- epel
- exim
- fail2ban
Expand Down
17 changes: 16 additions & 1 deletion ssf/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ ssf_node_anchors:
# `git describe --abbrev=0 --tags`
# yamllint disable rule:line-length rule:quoted-strings
title: "feat(semantic-release): standardise for this formula"
body: '* Automated using https://github.com/myii/ssf-formula/pull/176'
body: '* Automated using https://github.com/myii/ssf-formula/pull/177'
# yamllint enable rule:line-length rule:quoted-strings
github:
owner: 'saltstack-formulas'
Expand Down Expand Up @@ -356,6 +356,21 @@ ssf:
dhcpd: *formula_default
django: *formula_default
docker: *formula_default
eclipse:
<<: *formula_default
context:
<<: *context_default
inspec_suites_kitchen:
<<: *isk_default
0:
<<: *isk_suite_default
name: 'java'
1:
<<: *isk_suite_default
name: 'cpp'
2:
<<: *isk_suite_default
name: 'javascript'
epel: *formula_default
exim: *formula_default
fail2ban: *formula_default
Expand Down
1 change: 1 addition & 0 deletions ssf/files/tofs_template-formula/docs/CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ These formulas are already compatible with semantic-release *and* have global ``
#. `arvados-formula <https://github.com/saltstack-formulas/arvados-formula>`_
#. `bind-formula <https://github.com/saltstack-formulas/bind-formula>`_
#. `deepsea-formula <https://github.com/saltstack-formulas/deepsea-formula>`_
#. `eclipse-formula <https://github.com/saltstack-formulas/eclipse-formula>`_
#. `fail2ban-formula <https://github.com/saltstack-formulas/fail2ban-formula>`_
#. `iptables-formula <https://github.com/saltstack-formulas/iptables-formula>`_
#. `iscsi-formula <https://github.com/saltstack-formulas/iscsi-formula>`_
Expand Down
61 changes: 61 additions & 0 deletions ssf/formulas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -826,6 +826,67 @@ ssf:
additional:
- docker/osfamilymap.yaml
semrel_files: *semrel_files_default
eclipse:
context:
codeowners:
entries:
global:
- '*': '@noelmcloughlin'
git:
github:
repo: 'eclipse-formula'
inspec_suites_kitchen:
0:
inspec_yml:
summary: >-
Verify that the eclipse formula is setup and configured correctly
(Java package)
provisioner:
pillars_from_files:
- .sls: 'test/salt/java/pillar.sls'
1:
inspec_yml:
summary: >-
Verify that the eclipse formula is setup and configured correctly
(C/C++ package)
provisioner:
pillars_from_files:
- .sls: 'test/salt/cpp/pillar.sls'
2:
inspec_yml:
summary: >-
Verify that the eclipse formula is setup and configured correctly
(Web/JavaScript package)
provisioner:
pillars_from_files:
- .sls: 'test/salt/javascript/pillar.sls'
inspec_suites_matrix:
- java
- cpp
- javascript
platforms: *platforms_new
platforms_matrix:
# [os , os_ver, salt_ver, py_ver, inspec_suite]
- [debian , 10 , master, 3, java]
- [centos , 8 , master, 3, cpp]
- [fedora , 31 , master, 3, java]
- [opensuse/leap, 15.1 , master, 3, javascript]
- [ubuntu , 18.04, 3000.1, 3, cpp]
# To deal with excessive instances when mimicking `kitchen list -b`
# If values are set, only use these as commented entries in the matrix
platforms_matrix_commented_includes:
# [os , os_ver, salt_ver, py_ver, inspec_suite]
- [debian , 10 , master, 3, java]
- [debian , 10 , master, 3, java]
shellcheck:
exclude_paths:
- 'eclipse/files/'
use_tofs: true
yamllint:
ignore:
additional:
- eclipse/osfamilymap.yaml
semrel_files: *semrel_files_default
epel:
context:
git:
Expand Down

0 comments on commit 4acc24d

Please sign in to comment.