Commit Graph

962 Commits

Author SHA1 Message Date
Roberto Abdelkader Martínez Pérez
419f8eb172 chore: revert to default banner in windows installer 2020-12-30 11:54:39 +01:00
pancho horrillo
fe9c5281b6 chore(workflows): produce NSIS windows installers (#142)
* chore(workflows): produce NSIS windows installers

Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com>
2020-12-29 16:43:35 +01:00
Roberto Abdelkader Martínez Pérez
c71cadea60 chore: use 'git describe --tags' to deduce the version for current build
Co-authored-by: pancho horrillo <pancho.horrillo@bbva.com>
2020-12-24 16:41:16 +01:00
pancho horrillo
100b41f482 Merge branch 'feature/exec-pow-files'
Closes: #95 and two stones

Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com>
2020-12-24 14:18:38 +01:00
pancho horrillo
68a25e68b8 feat: kapow server <initprgs> honors --debug
Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com>
2020-12-24 14:16:39 +01:00
pancho horrillo
26fa12c871 doc: drop mentions to .pow files ($deity REST their soul)
Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com>
2020-12-24 14:03:49 +01:00
pancho horrillo
e72c65c859 feat: os-dependent default entrypoint
Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com>
2020-12-24 14:03:49 +01:00
Roberto Abdelkader Martínez Pérez
0c16b5472f feat: run multiple init programs
- We log their outputs and status codes
- Windows is supported as well, leveraging cmd.exe /c

Co-authored-by: pancho horrillo <pancho.horrillo@bbva.com>
2020-12-24 14:03:25 +01:00
pancho horrillo
989bf2ed66 doc(examples): mTLS usage
Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com>
2020-12-22 13:11:38 +01:00
pancho horrillo
2ae51b2598 style(tools): drop stale comment
Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com>
2020-12-22 12:55:50 +01:00
pancho horrillo
f25b7ee892 feat(tools): add validssclient for mutual tls auth
Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com>
2020-12-21 13:00:25 +01:00
pancho horrillo
678a5a217c chore(goreleaser): don't filter feat, filter style 2020-12-19 04:14:51 +01:00
pancho horrillo
5ffbd83672 chore(goreleaser): fix autochangelog
. don't sort entries
. filter selected semantic commit messages

Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com>
2020-12-18 16:15:26 +01:00
pancho horrillo
8fe5372ab4 chore(goreleaser): filter certain semantic commits from autochangelog
Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com>
2020-12-18 15:45:12 +01:00
pancho horrillo
e792bf9f29 chore: drop GO_VERSION from Docker image tags
If a Kapow! release is rebuilt against a new Go, the Kapow! release
should get a minor release bump.

Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com>
2020-12-18 12:38:01 +01:00
pancho horrillo
76725555d2 doc: /server/log/<prefix> endpoint
Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com>
2020-12-18 12:22:41 +01:00
pancho horrillo
80abcb727e chore: draft release + allow prereleases with -rc tags
See https://goreleaser.com/customization/release/
for details.

Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com>
2020-12-18 12:01:37 +01:00
pancho horrillo
929d6bb8ba chore: disable GPG handling for now
Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com>
2020-12-18 11:57:14 +01:00
pancho horrillo
7c4e32a34b feat: add /server/log/{prefix} endpoint
/{prefix} is optional

Sample usage: kapow set /server/log/myapp "$msg"

Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com>
2020-12-18 11:48:25 +01:00
dependabot[bot]
cb6873e559 Merge pull request #141 from BBVA/dependabot/docker/dot-github/go/golang-1.15.6 2020-12-17 17:19:22 +00:00
dependabot[bot]
13d58fcf21 chore(deps): bump golang from 1.15.2 to 1.15.6 in /.github/go
Bumps golang from 1.15.2 to 1.15.6.

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-17 17:12:42 +00:00
dependabot[bot]
67aae6a476 Merge pull request #140 from BBVA/dependabot/go_modules/gopkg.in/h2non/gock.v1-1.0.16 2020-12-17 17:11:01 +00:00
dependabot[bot]
90d73a3d9f chore(deps): bump gopkg.in/h2non/gock.v1 from 1.0.15 to 1.0.16
Bumps [gopkg.in/h2non/gock.v1](https://github.com/h2non/gock) from 1.0.15 to 1.0.16.
- [Release notes](https://github.com/h2non/gock/releases)
- [Changelog](https://github.com/h2non/gock/blob/master/History.md)
- [Commits](https://github.com/h2non/gock/compare/v1.0.15...v1.0.16)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-17 16:52:11 +00:00
dependabot[bot]
a8274ced08 Merge pull request #133 from BBVA/dependabot/go_modules/github.com/spf13/cobra-1.1.1 2020-12-17 15:57:16 +00:00
dependabot[bot]
2bb397148a chore(deps): bump github.com/spf13/cobra from 1.0.0 to 1.1.1
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.0.0 to 1.1.1.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Changelog](https://github.com/spf13/cobra/blob/master/CHANGELOG.md)
- [Commits](https://github.com/spf13/cobra/compare/v1.0.0...v1.1.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-17 15:51:26 +00:00
pancho horrillo
ec0fa6d505 chore: add FreeBSD to the list of architectures
Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com>
2020-12-17 16:41:46 +01:00
pancho horrillo
0ba65ef96d chore: drop signatures for now
Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com>
2020-12-17 16:41:14 +01:00
pancho horrillo
4d05223224 feat: Access Logging on the user server
Closes: #98

Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com>
2020-12-17 16:30:55 +01:00
pancho horrillo
41be4f9344 refactor: use a common logger for consistency
All kapow messages will end up in stderr (incl. debug mode).
stdout is reserved for the access logs.

Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com>
2020-12-16 17:29:26 +01:00
pancho horrillo
d62a9dba68 chore: Remove unused code
Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com>
2020-12-16 16:41:49 +01:00
pancho horrillo
dbd1a6aa86 Merge branch 'bugfix/issue-138'
Closes: #138

Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com>
2020-12-15 19:02:25 +01:00
pancho horrillo
4546fc65b6 fix: honor global flag --debug
Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com>
2020-12-15 18:59:29 +01:00
pancho horrillo
58fae53e2e test: logStream() behaves correctly like a good kiddo
Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com>
2020-12-15 18:37:44 +01:00
pancho horrillo
6ec9b54670 fix: add missing spawner reset code to test
Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com>
2020-12-15 18:37:44 +01:00
Roberto Abdelkader Martínez Pérez
0dd9cf07ab wip: create pipes to manage entrypoint stdout/stderr even after termination 2020-12-15 18:37:44 +01:00
pancho horrillo
847c1bd7a0 chore(actions): bump golangci-lint-action
To work around the deprection of `set-env`
2020-11-18 19:31:48 +01:00
Roberto Abdelkader Martínez Pérez
310d319ea3 test: Update kapow env vars to the new ones.
Co-authored-by: César Gallego <cesar.gallego.next@bbva.com>
2020-11-17 17:10:05 +01:00
Roberto Abdelkader Martínez Pérez
7c952faf11 Update README.md 2020-11-01 19:22:20 +01:00
pancho horrillo
faea65688d chore(gomod): bump spf13/cobra to v1.0.0
Minor changes since v0.0.7.  Seems simple formalization that the
interface is now stable.

See https://github.com/spf13/cobra/releases/tag/v1.0.0
2020-10-02 14:32:37 +02:00
pancho horrillo
19b6df4742 chore(gomod): run go mod tidy 2020-10-02 14:30:38 +02:00
pancho horrillo
abac3ee772 chore(dependabot): ping dependabot 2020-10-02 14:12:25 +02:00
dependabot[bot]
7dc6701fc7 chore(deps): bump github.com/google/uuid from 1.1.1 to 1.1.2 (#129) 2020-10-02 12:09:07 +00:00
dependabot[bot]
1eb7bdd5f7 chore(deps): bump github.com/gorilla/mux from 1.7.3 to 1.8.0 (#128) 2020-10-02 12:05:16 +00:00
dependabot[bot]
3e0bf94169 chore(deps): bump github.com/spf13/cobra from 0.0.5 to 0.0.7 (#127)
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 0.0.5 to 0.0.7.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Changelog](https://github.com/spf13/cobra/blob/master/CHANGELOG.md)
- [Commits](https://github.com/spf13/cobra/compare/0.0.5...0.0.7)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-02 14:00:19 +02:00
dependabot[bot]
ca1e17f79c chore(deps): bump golang from 1.14.3 to 1.15.2 in /.github/go (#125)
Bumps golang from 1.14.3 to 1.15.2.

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-02 13:55:46 +02:00
pancho horrillo
0dc0b741ff Merge pull request #126 from BBVA/dependabot/github_actions/golangci/golangci-lint-action-v2.2.0
chore(deps): bump golangci/golangci-lint-action from v1 to v2.2.0
2020-10-02 13:52:14 +02:00
pancho horrillo
aa86efdcc5 chore(workflows): fix golangci version
The patch version should not be specified, only minor.

Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com>
2020-10-02 13:47:32 +02:00
pancho horrillo
f67e7c1938 Bump golangci-lint to v1.31.0
Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com>
2020-10-02 13:44:15 +02:00
pancho horrillo
630006f49f chore: remove obsolete workflow 'Bump Go'
Superseded by dependabot
2020-10-01 18:01:51 +02:00
pancho horrillo
f0758bb9f4 chore: obtain Go version from ad-hoc Dockerfile 2020-10-01 17:55:33 +02:00