Commit Graph

194 Commits

Author SHA1 Message Date
Imran Iqbal
7d80e4afc1
ci(gitlab-ci): add rubocop linter (with allow_failure) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/277
2020-12-19 14:34:43 +00:00
Imran Iqbal
4f290c2dde
ci(gitlab-ci): use GitLab CI as Travis CI replacement
* Automated using https://github.com/myii/ssf-formula/pull/275
2020-12-16 06:39:08 +00:00
N
ba6fde24c0
Merge pull request #53 from noelmcloughlin/repo
fix(clean): include repo clean too
2020-12-15 10:04:57 +00:00
noelmcloughlin
782dd45452 fix(clean): include repo clean too 2020-11-28 20:25:01 +00:00
semantic-release-bot
156d09e32d chore(release): 5.3.0 [skip ci]
# [5.3.0](https://github.com/saltstack-formulas/prometheus-formula/compare/v5.2.0...v5.3.0) (2020-11-17)

### Documentation

* **archive:** update pillar.example with unofficial exporter ([10c0b4a](10c0b4a030))

### Features

* **archive:** add support for non official exporters ([2ff6b90](2ff6b90cd8))

### Tests

* **archive:** add unofficial exporter test ([43053a6](43053a6e59))
2020-11-17 23:30:21 +00:00
N
6ab735e16c
Merge pull request #52 from lagooj/feat/unofficial_exporters
Manage unofficial exporters
2020-11-17 23:17:31 +00:00
lagooj
43053a6e59 test(archive): add unofficial exporter test 2020-11-17 15:47:00 +01:00
lagooj
10c0b4a030 docs(archive): update pillar.example with unofficial exporter 2020-11-17 15:46:52 +01:00
lagooj
2ff6b90cd8 feat(archive): add support for non official exporters
* add offical pillar true(default) / false
  to use raw source url in component:name:archive:source
* add tar pillar true(default) / false
  to use file instead of tar, some repo provide only the binary
* update archive/install.sls and map.jinja
2020-11-17 12:50:36 +01:00
semantic-release-bot
aad810fa6a chore(release): 5.2.0 [skip ci]
# [5.2.0](https://github.com/saltstack-formulas/prometheus-formula/compare/v5.1.0...v5.2.0) (2020-11-12)

### Bug Fixes

* **state:** dangling servicename ([5457a9f](5457a9f2f2))
* **windows:** windows has no osarch grain ([468e420](468e420b34))

### Features

* **archive:** use args pillar when using upstream from repo / archive ([7a08e8d](7a08e8db54))
2020-11-12 09:49:46 +00:00
N
815f4757a9
Merge pull request #50 from lagooj/feat/manage_args
Managed args for archive as upstream
2020-11-12 09:38:58 +00:00
N
cb2a565d98
Merge pull request #49 from noelmcloughlin/service
fix(state): dangling servicename
2020-11-12 09:38:44 +00:00
N
61b1a43e40
Merge pull request #48 from noelmcloughlin/win2
fix(windows): windows has no osarch grain
2020-11-12 09:38:25 +00:00
semantic-release-bot
f8d03c85b2 chore(release): 5.1.0 [skip ci]
# [5.1.0](https://github.com/saltstack-formulas/prometheus-formula/compare/v5.0.2...v5.1.0) (2020-11-12)

### Continuous Integration

* **pre-commit:** add to formula [skip ci] ([a639b78](a639b782cf))
* **pre-commit:** enable/disable `rstcheck` as relevant [skip ci] ([5dd496c](5dd496c1c4))
* **pre-commit:** finalise `rstcheck` configuration [skip ci] ([d00473a](d00473a70c))

### Features

* **config:** defaults.yaml update archives versions and hashes ([bfff38b](bfff38b8b7))

### Tests

* **archive:** update test according to defaults.yaml changes ([34a9805](34a9805886))
2020-11-12 09:27:53 +00:00
N
3551d1df38
Merge pull request #51 from lagooj/feat/update_archives_versions
Update component to latest versions
2020-11-12 09:17:08 +00:00
lagooj
34a9805886 test(archive): update test according to defaults.yaml changes 2020-11-12 09:53:16 +01:00
lagooj
bfff38b8b7 feat(config): defaults.yaml update archives versions and hashes 2020-11-12 09:53:16 +01:00
lagooj
7a08e8db54 feat(archive): use args pillar when using upstream from repo / archive 2020-11-11 14:11:15 +01:00
noelmcloughlin
5457a9f2f2 fix(state): dangling servicename 2020-11-07 19:18:55 +00:00
noelmcloughlin
468e420b34 fix(windows): windows has no osarch grain 2020-11-03 10:18:43 +00:00
N
79db2125f7
Merge pull request #46 from noelmcloughlin/win
chore(windows): basic support
2020-11-03 09:29:08 +00:00
Imran Iqbal
f68028883f
chore(gemfile+lock): update to latest gem versions (2020-W44) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/274
2020-10-26 22:53:12 +00:00
Imran Iqbal
519bf8442a
chore(gemfile+lock): update to latest gem versions (2020-W43) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/273
2020-10-20 10:21:10 +01:00
noelmcloughlin
9abc98274e chore(windows): tentative windows support 2020-10-19 16:25:52 +01:00
Imran Iqbal
d00473a70c
ci(pre-commit): finalise rstcheck configuration [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/267
2020-10-10 06:51:16 +01:00
Dafydd Jones
92cc06a202
chore(commitlint): add {body,footer,header}-max(-line)-length [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/265
2020-10-07 09:09:20 +01:00
Imran Iqbal
376a3bad1b
chore(gemfile+lock): update to latest gem versions (2020-W41) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/263
2020-10-07 00:07:39 +01:00
Imran Iqbal
5dd496c1c4
ci(pre-commit): enable/disable rstcheck as relevant [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/262
2020-10-05 00:23:49 +01:00
Dafydd Jones
a639b782cf
ci(pre-commit): add to formula [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/259
2020-10-03 10:52:33 +01:00
Imran Iqbal
f6eb546174
chore: standardise structure [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/261
2020-10-02 23:02:49 +01:00
semantic-release-bot
26b26abd28 chore(release): 5.0.2 [skip ci]
## [5.0.2](https://github.com/saltstack-formulas/prometheus-formula/compare/v5.0.1...v5.0.2) (2020-08-31)

### Bug Fixes

* **archive:** add config file to service only if defined ([](https://github.com/saltstack-formulas/prometheus-formula/commit/a5b44c8))
* **archive:** service name needs to use pillar values ([](https://github.com/saltstack-formulas/prometheus-formula/commit/219250a))
* **debian:** add some valid defaults ([](https://github.com/saltstack-formulas/prometheus-formula/commit/844a77f))

### Tests

* **archive:** add tests to check service names ([](https://github.com/saltstack-formulas/prometheus-formula/commit/a5d4d03))
* **services:** fix path for debian family ([](https://github.com/saltstack-formulas/prometheus-formula/commit/7c1cdb8))
2020-08-31 17:03:48 +00:00
Nicolas Rodriguez
a53d228c95
Merge pull request #44 from netmanagers/master
fix(debian): add some valid defaults
2020-08-31 18:53:24 +02:00
Javier Bértoli
a5b44c812b fix(archive): add config file to service only if defined 2020-08-29 18:26:02 -03:00
Javier Bértoli
a5d4d03f8d test(archive): add tests to check service names
this commit makes `service name` to consider pillar provided values,
fallback to a consistent `service name` when {archive|package} is available
for the component, or to `service name == name` when no other value
is provided
2020-08-25 14:10:02 -03:00
Javier Bértoli
219250a215 fix(archive): service name needs to use pillar values
in archive mode, the service file name was ignoring the value set in
pillar (`pgk:component:service:name`).
2020-08-25 11:28:28 -03:00
Javier Bértoli
7c1cdb8fdf test(services): fix path for debian family 2020-08-24 19:55:09 -03:00
semantic-release-bot
47ffcb269e chore(release): 5.0.1 [skip ci]
## [5.0.1](https://github.com/saltstack-formulas/prometheus-formula/compare/v5.0.0...v5.0.1) (2020-08-24)

### Bug Fixes

* **pillar:** fix service name in archive mode ([](https://github.com/saltstack-formulas/prometheus-formula/commit/b03a1cc))
* **service:** pick up the right service name in pillars ([](https://github.com/saltstack-formulas/prometheus-formula/commit/0169c89))
* **service:** service is not reloaded because of failing if ([](https://github.com/saltstack-formulas/prometheus-formula/commit/deb9cd2))
* **test:** add tests on node_exporter service ([](https://github.com/saltstack-formulas/prometheus-formula/commit/4e8c69f))
* **test:** add tests on prometheus-node-exporter ([](https://github.com/saltstack-formulas/prometheus-formula/commit/6010cc3))
* **test:** fix alertmanager service name in repo mode test ([](https://github.com/saltstack-formulas/prometheus-formula/commit/41da7cc))
* **test:** fix test pillars ([](https://github.com/saltstack-formulas/prometheus-formula/commit/910a06d))
* **test:** fix tests for RedHat OSes in repo mode ([](https://github.com/saltstack-formulas/prometheus-formula/commit/49e6fa5))
* **test:** test Salt 3001 with Debian 9 and 10 ([](https://github.com/saltstack-formulas/prometheus-formula/commit/890bfc1))

### Styles

* **test:** improve Ruby style ([](https://github.com/saltstack-formulas/prometheus-formula/commit/461ce4f))
2020-08-24 22:31:29 +00:00
Javier Bértoli
844a77f16a fix(debian): add some valid defaults 2020-08-24 19:25:19 -03:00
Imran Iqbal
97584e6bc3
Merge pull request #43 from n-rodriguez/fix/debian
Fix node_exporter service not restarted on archive fresh install
2020-08-24 23:21:33 +01:00
Nicolas Rodriguez
49e6fa5671 fix(test): fix tests for RedHat OSes in repo mode 2020-08-25 00:03:10 +02:00
Nicolas Rodriguez
b03a1ccf04 fix(pillar): fix service name in archive mode 2020-08-24 23:02:21 +02:00
Nicolas Rodriguez
910a06df5f fix(test): fix test pillars 2020-08-24 22:48:53 +02:00
Nicolas Rodriguez
0169c89ca4 fix(service): pick up the right service name in pillars 2020-08-24 22:47:14 +02:00
Nicolas Rodriguez
41da7cc697 fix(test): fix alertmanager service name in repo mode test 2020-08-24 18:07:51 +02:00
semantic-release-bot
13597212cf chore(release): 5.0.0 [skip ci]
# [5.0.0](https://github.com/saltstack-formulas/prometheus-formula/compare/v4.1.1...v5.0.0) (2020-08-24)

### Bug Fixes

* **defaults:** set clientlibs defaults to an empty list ([](https://github.com/saltstack-formulas/prometheus-formula/commit/cdd2e6d))

### BREAKING CHANGES

* **defaults:** The golang clientib is not required for
the regular use of this formula but, if you already expected it to be
installed by default, you'll need to update your pillars to do so.
Running this version of the formula over previous ones won't break the
minions, only skip clientlibs.
2020-08-24 15:52:53 +00:00
Nicolas Rodriguez
deb9cd28a8 fix(service): service is not reloaded because of failing if 2020-08-24 17:52:22 +02:00
Nicolas Rodriguez
461ce4ffcd style(test): improve Ruby style 2020-08-24 17:51:59 +02:00
Nicolas Rodriguez
6010cc32b8 fix(test): add tests on prometheus-node-exporter 2020-08-24 17:51:21 +02:00
N
6478694fa4
Merge pull request #41 from netmanagers/master
fix(defaults): set clientlibs defaults to an empty list
2020-08-24 17:37:29 +02:00
Nicolas Rodriguez
4e8c69f72b fix(test): add tests on node_exporter service 2020-08-24 17:13:03 +02:00