Skip to content

Commit

Permalink
feat(formula): add jetbrains-datagrip-formula
Browse files Browse the repository at this point in the history
  • Loading branch information
myii committed May 14, 2020
1 parent a5c598e commit 65c17fd
Show file tree
Hide file tree
Showing 4 changed files with 76 additions and 3 deletions.
1 change: 1 addition & 0 deletions pillar.example
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ ssf:
- influxdb
- iptables
- iscsi
- jetbrains-datagrip
- jetbrains-intellij
- jetbrains-pycharm
- jetbrains-rubymine
Expand Down
13 changes: 11 additions & 2 deletions ssf/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ ssf_node_anchors:
# An alternative method could be to use:
# `git describe --abbrev=0 --tags`
# yamllint disable rule:line-length rule:quoted-strings
title: "ci(kitchen+travis): adjust matrix to add '`'3000.3'`' [skip ci]"
body: '* Automated using https://github.com/myii/ssf-formula/pull/185'
title: "feat(semantic-release): standardise for this formula"
body: '* Semi-automated using https://github.com/myii/ssf-formula/pull/186'
# yamllint enable rule:line-length rule:quoted-strings
github:
owner: 'saltstack-formulas'
Expand Down Expand Up @@ -401,6 +401,15 @@ ssf:
2:
<<: *isk_suite_default
name: 'arch'
jetbrains-datagrip:
<<: *formula_default
context:
<<: *context_default
inspec_suites_kitchen:
<<: *isk_default
1:
<<: *isk_suite_default
name: 'arch'
jetbrains-intellij:
<<: *formula_default
context:
Expand Down
3 changes: 2 additions & 1 deletion ssf/files/tofs_template-formula/docs/CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ These formulas are already compatible with semantic-release *and* have global ``
#. `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>`_
#. `jetbrains-datagrip-formula <https://github.com/saltstack-formulas/jetbrains-datagrip-formula>`_
#. `jetbrains-intellij-formula <https://github.com/saltstack-formulas/jetbrains-intellij-formula>`_
#. `jetbrains-pycharm-formula <https://github.com/saltstack-formulas/jetbrains-pycharm-formula>`_
#. `jetbrains-rubymine-formula <https://github.com/saltstack-formulas/jetbrains-rubymine-formula>`_
Expand All @@ -195,7 +196,7 @@ These formulas are already compatible with semantic-release *and* have global ``

These formulas are also compatible with semantic-release:

30. `apache-formula <https://github.com/saltstack-formulas/apache-formula>`_
31. `apache-formula <https://github.com/saltstack-formulas/apache-formula>`_
#. `apt-cacher-formula <https://github.com/saltstack-formulas/apt-cacher-formula>`_
#. `cert-formula <https://github.com/saltstack-formulas/cert-formula>`_
#. `chrony-formula <https://github.com/saltstack-formulas/chrony-formula>`_
Expand Down
62 changes: 62 additions & 0 deletions ssf/formulas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1245,6 +1245,68 @@ ssf:
additional:
- '*.arch'
semrel_files: *semrel_files_default
jetbrains-datagrip:
context:
codeowners:
entries:
global:
- '*': '@noelmcloughlin'
git:
github:
repo: 'jetbrains-datagrip-formula'
inspec_suites_kitchen:
0:
excludes: *platforms_os_arch_base_new
inspec_yml:
summary: >-
Verify that the datagrip formula is setup and configured correctly
provisioner:
pillars_from_files:
- .sls: 'test/salt/default/pillar.sls' # TODO: CHANGE
state_top:
- '*':
- .clean
- .
1:
includes: *platforms_os_arch_base_new
inspec_yml:
summary: >-
Verify that the datagrip formula is setup and configured correctly
(on Arch Linux)
provisioner:
pillars_from_files:
- .sls: 'test/salt/default/pillar.sls' # TODO: CHANGE
state_top:
- '*':
- .clean
- .
inspec_suites_matrix:
- default
- arch
platforms: *platforms_new
platforms_matrix:
# [os , os_ver, salt_ver, py_ver, inspec_suite]
- [debian , 10 , master, 3, default]
- [centos , 8 , master, 3, default]
- [fedora , 31 , master, 3, default]
- [opensuse/leap, 15.1 , master, 3, default]
- [arch-base , latest, 2019.2, 2, arch]
use_tofs: true
yamllint:
ignore:
additional:
- datagrip/osfamilymap.yaml
semrel_files:
<<: *semrel_files_default
formula/libtofs.jinja:
<<: *file__formula__libtofs--jinja
alt_semrel_formula: 'datagrip'
inspec/inspec.yml:
<<: *file__inspec__inspec--yml
alt_semrel_formula: 'datagrip'
kitchen.yml:
<<: *file__kitchen--yml
alt_semrel_formula: 'datagrip'
jetbrains-intellij:
context:
codeowners:
Expand Down

0 comments on commit 65c17fd

Please sign in to comment.