pancho horrillo
ada23ca04e
fix: drop stale Pipfile{,.lock}
...
We're using now nix for handling dependencies.
Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com >
Co-authored-by: César Gallego Rodríguez <cesar.gallego.next@bbva.com >
2021-04-05 11:34:03 +02:00
pancho horrillo
7807ccd194
Merge branch 'feature/secure-control-api'
2021-03-12 17:33:28 +01:00
pancho horrillo
1e63f3c104
feat: Control API uses automatic cross-pinning mTLS ( Closes #119 )
...
. kapow server generates on startup a pair of certificates
that will use to secure communications to its control server.
It will communicate the server and client certificates as well
as the client private key to the init programs it launches,
via environment variables.
. kapow server now understands a new flag --control-reachable-addr
which accepts either a IP address or a DNS name, that can be used
to ensure that the generated server certificate will be appropiate
in case the control server must be accessed from something other
than localhost.
Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com >
2021-03-12 17:24:17 +01:00
pancho horrillo
ab50721f69
test(spec): Control Server API secured via cross-pinning mTLS
...
. We are now leveraging nix for portable dependency handling.
. There are now three types of tests: client, server and end-to-end.
. server tests exercise the actual kapow server being tested, while the
requests are performed using the test steps.
. client tests exercise the actual kapow client being tested, while the
requests are served using the test steps.
. e2e test exercise the actual kapow program in its dual role of client
and server (¡como tiene que ser!).
Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com >
2021-03-12 17:09:50 +01:00
pancho horrillo
b7b55d2f3b
test(poc): Secure Control API using cross-pinning mTLS
...
Note that we are leveraging nix-shell to provide portable dependency
handling.
Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com >
2021-03-12 17:00:53 +01:00
dependabot[bot]
175f174b8c
chore(deps): bump golang from 1.16.1 to 1.16.2 in /.github/go ( #162 )
...
Bumps golang from 1.16.1 to 1.16.2.
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-12 09:22:00 +01:00
dependabot[bot]
e6be5b6efd
chore(deps): bump golang from 1.16.0 to 1.16.1 in /.github/go ( #161 )
...
Bumps golang from 1.16.0 to 1.16.1.
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-11 11:07:42 +01:00
dependabot[bot]
c724b5f283
chore(deps): bump aiohttp from 3.5.4 to 3.7.4 in /testutils/poc ( #160 )
2021-02-26 09:35:50 +01:00
dependabot[bot]
bf2879b657
chore(deps): bump golangci/golangci-lint-action from v2.4.0 to v2.5.1 ( #159 )
2021-02-26 09:30:34 +01:00
dependabot[bot]
e25dc445f7
Merge pull request #158 from BBVA/dependabot/docker/dot-github/go/golang-1.16.0
2021-02-18 07:33:01 +00:00
dependabot[bot]
2c83f5430f
chore(deps): bump golang from 1.15.7 to 1.16.0 in /.github/go
...
Bumps golang from 1.15.7 to 1.16.0.
Signed-off-by: dependabot[bot] <support@github.com >
2021-02-18 07:31:29 +00:00
dependabot[bot]
27b003a4b4
Merge pull request #157 from BBVA/dependabot/github_actions/golangci/golangci-lint-action-v2.4.0
2021-02-18 07:30:48 +00:00
dependabot[bot]
6c9dbf9c91
chore(deps): bump golangci/golangci-lint-action from v2.3.0 to v2.4.0
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from v2.3.0 to v2.4.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v2.3.0...544d2efb307b3f205f34886f2787046abe7fb26e )
Signed-off-by: dependabot[bot] <support@github.com >
2021-02-18 07:26:30 +00:00
dependabot[bot]
18d252806d
Merge pull request #156 from BBVA/dependabot/go_modules/github.com/spf13/cobra-1.1.3
2021-02-18 07:23:01 +00:00
dependabot[bot]
2b65d53b2c
chore(deps): bump github.com/spf13/cobra from 1.1.1 to 1.1.3
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.1.1 to 1.1.3.
- [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.1.1...v1.1.3 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-02-18 07:16:58 +00:00
dependabot[bot]
c72ede73b7
Merge pull request #153 from BBVA/dependabot/go_modules/github.com/google/uuid-1.2.0
2021-02-18 06:31:39 +00:00
cr0hn
9b05e7ec1f
Update README.md
...
Fix - Contributing link
2021-01-29 11:11:16 +01:00
dependabot[bot]
a2d7be4933
chore(deps): bump github.com/google/uuid from 1.1.5 to 1.2.0
...
Bumps [github.com/google/uuid](https://github.com/google/uuid ) from 1.1.5 to 1.2.0.
- [Release notes](https://github.com/google/uuid/releases )
- [Commits](https://github.com/google/uuid/compare/v1.1.5...v1.2.0 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-01-25 07:15:09 +00:00
dependabot[bot]
4da8e4378e
chore(deps): bump golang from 1.15.6 to 1.15.7 in /.github/go ( #152 )
2021-01-21 07:11:07 +00:00
dependabot[bot]
1225c82be0
chore(deps): bump github.com/google/uuid from 1.1.4 to 1.1.5 ( #151 )
2021-01-15 17:27:44 +00:00
pancho horrillo
c1ce5add75
doc(legal): reproduce Apache 2 LICENSE verbatim
...
Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com >
2021-01-14 10:21:03 +01:00
pancho horrillo
e6a6f6f683
chore(workflows): build spec test docker image locally
...
Remove an inherent race condition when using Docker Hub.
Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com >
2021-01-11 18:03:04 +01:00
pancho horrillo
6821eca6f3
fix: drop black magic that is no longer needed
...
Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com >
2021-01-11 17:59:31 +01:00
pancho horrillo
ec227c2ba3
fix: don't flush status immediately
...
Closes : #148
Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com >
2021-01-11 17:54:54 +01:00
dependabot[bot]
5dbfee40eb
chore(deps): bump github.com/google/uuid from 1.1.3 to 1.1.4 ( #147 )
...
Bumps [github.com/google/uuid](https://github.com/google/uuid ) from 1.1.3 to 1.1.4.
- [Release notes](https://github.com/google/uuid/releases )
- [Commits](https://github.com/google/uuid/compare/v1.1.3...v1.1.4 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-11 11:21:48 +01:00
Roberto Abdelkader Martínez Pérez
cb27b290b8
doc(readme): explain the UUoC
2020-12-31 21:17:44 +01:00
dependabot[bot]
c70843a7ea
chore(deps): bump github.com/google/uuid from 1.1.2 to 1.1.3 ( #146 )
...
Bumps [github.com/google/uuid](https://github.com/google/uuid ) from 1.1.2 to 1.1.3.
- [Release notes](https://github.com/google/uuid/releases )
- [Commits](https://github.com/google/uuid/compare/v1.1.2...v1.1.3 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-31 20:54:13 +01:00
Roberto Abdelkader Martínez Pérez
91192660d9
chore: remove --all-tags option in docker push due to old version
...
Co-authored-by: pancho horrillo <pancho.horrillo@bbva.com >
2020-12-31 20:26:56 +01:00
Roberto Abdelkader Martínez Pérez
e8aa205052
chore: deal with upper and lower cased version numbers
2020-12-31 20:14:20 +01:00
Roberto Abdelkader Martínez Pérez
3a619bfa4f
chore: rename workflow file to match name
2020-12-30 17:53:59 +01:00
Roberto Abdelkader Martínez Pérez
6783812e05
chore: binary distributions for all platforms
2020-12-30 17:47:22 +01:00
Roberto Abdelkader Martínez Pérez
a8799e64e7
doc: fix broken internal refs
2020-12-30 17:43:12 +01:00
Roberto Abdelkader Martínez Pérez
b64f0a4fb9
chore: fix broken readthedocs PDF generation
2020-12-30 17:39:40 +01:00
Roberto Abdelkader Martínez Pérez
5679fdf295
doc(readme): remove superfluous option
2020-12-30 17:27:37 +01:00
Roberto Abdelkader Martínez Pérez
e127db6aa9
chore: fix step name
2020-12-30 17:01:47 +01:00
Roberto Abdelkader Martínez Pérez
0ffb28c3d6
chore: test documentation ( #145 )
...
* chore: Test documentation
* docs: fix broken links
2020-12-30 16:59:22 +01:00
Roberto Abdelkader Martínez Pérez
52fcbfbcdf
chore: unify test and release workflows ( #144 )
2020-12-30 16:21:28 +01:00
Roberto Abdelkader Martínez Pérez
7949ac860a
chore: Do not try to upload docker images if secrets are undefined ( #143 )
2020-12-30 15:41:30 +01:00
Roberto Abdelkader Martínez Pérez
41dc6b69e4
chore: Strip -RC postfix from version when passing to NSIS
2020-12-30 12:32:05 +01:00
Roberto Abdelkader Martínez Pérez
77afa60889
chore: Use Kapow! logo as windows installer icon.
...
This has been generated in all sizes with Gimp and iconify https://gist.github.com/YeldhamDev/45d4677fd4849b920c5855653ecce3e9
2020-12-30 12:19:31 +01:00
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