Commit Graph

871 Commits

Author SHA1 Message Date
pancho horrillo a311da0d87 doc: drop shebang lines in .pow files
For now, Kapow! treats .pow files as shell scripts, not executables.
See https://github.com/BBVA/kapow/issues/62
2020-06-11 20:04:11 +02:00
pancho horrillo 77b358e3c8 doc: style fixes 2020-06-11 19:48:47 +02:00
pancho horrillo 09b6d54487 doc: wording and style fixes 2020-06-11 19:45:57 +02:00
pancho horrillo 87ec20519a fix: typo in docs 2020-06-11 19:14:32 +02:00
pancho horrillo 8160a1b893 fix: typo in docs 2020-06-11 19:10:04 +02:00
pancho horrillo d877ab1e38 fix: unify definition of GO_VERSION in workflow
Co-authored-by: Héctor Hurtado <hector.hurtado@bbva.com>
2020-06-09 16:56:37 +02:00
Héctor Hurtado 622682aae2 Added GPG revokers publick keys and remove CircleCI pipeline 2020-06-09 11:56:33 +02:00
pancho horrillo 8d72cc1b71 chore: replace azure action with inline code (docker login)
Co-authored-by: Héctor Hurtado <hector.hurtado@bbva.com>
2020-06-05 12:46:07 +02:00
pancho horrillo 5f5d867c24 chore: handle gpg manually
Co-authored-by: Héctor Hurtado <hector.hurtado@bbva.com>
2020-06-05 12:35:00 +02:00
pancho horrillo 4f9ad6f69f chore: prepare release v0.5.4
Co-authored-by: Héctor Hurtado <hector.hurtado@bbva.com>
2020-06-05 11:33:54 +02:00
pancho horrillo 797b85b228 chore: use external gpg handling action
Co-authored-by: Héctor Hurtado <hector.hurtado@bbva.com>
2020-06-05 11:10:34 +02:00
pancho horrillo ddeb119522 chore: update name of secrets
Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com>
2020-05-26 10:58:28 +02:00
pancho horrillo dca957bd14 chore: bump go version 2020-05-19 12:15:09 +02:00
pancho horrillo 87aec0196e chore: prepare release v0.5.3 2020-05-19 12:04:14 +02:00
pancho horrillo e506fb2013 chore: update release workflow to use azure/docker-login action
This will enable the goreleaser action to actually push to docker hub.

See https://github.com/marketplace/actions/docker-login
2020-05-12 10:24:19 +02:00
pancho horrillo ae5bd9b395 feat: first cut at building docker images
- Update .goreleaser to build docker images
- Update Dockerfile to work with goreleaser
- Update examples/docker/awscli/Dockerfile to pull kapow docker image

Co-authored-by: César Gallego <gallego.cesar@gmail.com>
Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com>
Co-authored-by: Héctor Hurtado <hector.hurtado@bbva.com>
2020-05-12 10:24:19 +02:00
César Gallego Rodríguez 6249dce11d pow-ready dockerfile for aws 2020-05-12 10:24:19 +02:00
César Gallego Rodríguez 367cd6ad9f update golang version to 1.14 2020-05-12 10:24:19 +02:00
César Gallego Rodríguez 33d77ce86c Dockerfile added 2020-05-12 10:24:19 +02:00
pancho horrillo b362d04167 chore: prepare release v0.5.2
Co-authored-by: César Gallego Rodríguez <gallego.cesar@gmail.com>
2020-05-11 17:26:44 +02:00
pancho horrillo 975aea88ae fix: prevent spurious stack trace with misbehaving clients
See https://github.com/golang/go/commit/9997545a8626bf1a73002f44a7b7538988da4e76
and the previous commit.

Co-authored-by: César Gallego Rodríguez <gallego.cesar@gmail.com>
2020-05-11 15:57:25 +02:00
pancho horrillo 13adcc37b6 fix: panic sentinel value if http client misbehaves
When an http client does not consume the whole body, we panic'ed a
custom message instead of the required sentinel value.

For the details, check ¹ and look for ErrAbortHandler.

¹: https://pkg.go.dev/net/http

Co-authored-by: César Gallego Rodríguez <gallego.cesar@gmail.com>
2020-05-11 13:59:09 +02:00
Héctor Hurtado 35376a407b Add missing copyright message to source files 2020-04-22 16:50:10 +02:00
pancho horrillo 2e1f80fc0c chore: add v0.5.1 GPG release key
Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com>
2020-04-22 11:19:07 +02:00
pancho horrillo 974ffb7918 Add release notes for v0.5.1
Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com>
2020-04-22 11:18:36 +02:00
Roberto Abdelkader Martínez Pérez a178d19360 doc: Debugging bash example 2020-04-22 10:26:29 +02:00
pancho horrillo f78f99511e chores: Bump actions/setup-go version to 2
Also bump go-version to 1.14.2

Co-authored-by: Héctor Hurtado <hector.hurtado@bbva.com>
2020-04-22 09:29:46 +02:00
Héctor Hurtado 1840209ad4 Added release notes for v0.5.0 2020-04-22 09:21:37 +02:00
César Gallego Rodríguez c1eac6eb23 Merge pull request #109 from BBVA/feature-script-debugging
Feature script debugging
2020-04-21 11:11:14 +02:00
Héctor Hurtado 45a577a547 Fix typo in documentation 2020-04-21 10:40:36 +02:00
Héctor Hurtado 1e276ab4cf Complete documentation with an explanation of set -x in script tricks 2020-04-20 10:38:54 +02:00
Héctor Hurtado 248f7d1fcc Added stderr output management to jaillover.
Added Spawn support for stderr redirection.
Added --debug option to server cmd.
Added debug information to documentation.
Finnished script logger.
2020-04-20 10:18:16 +02:00
Héctor Hurtado 63a675675a Added clean target to Makefile. Created package logger 2020-04-15 17:52:46 +02:00
Héctor Hurtado e1788b2874 Default handlers for NotFound and MethodNotAllowed returning json reason added to control y data servers 2020-04-07 12:22:15 +02:00
Héctor Hurtado 4988c48e03 Correct typo assigning KAPOW_CONTROL_URL env variable 2020-04-06 19:38:43 +02:00
Héctor Hurtado e6e25f25c7 Fix #102 2020-04-06 18:02:29 +02:00
Héctor Hurtado 73ef493f04 cmd/server sets now environment variables KAPOW_DATA_URL and KAPOW_CONTROL_URL
Remove golinter error S1036: unnecessary guard around map access in 
spawn package
2020-04-03 21:42:42 +02:00
pancho horrillo 1ff58d5332 chore: prepare release v0.4.0
- Update signing release key (pubkey)
- Add release notes
2020-02-29 13:46:02 +01:00
pancho horrillo 6f3cb233a9 chore(workflows): bump actions/checkout to v2
actions/checkout v2 clones shallow repos by default.
I've set the fetch-depth to 0 to prevent this, because goreleaser requires the
full history available locally in order to generate the release notes
automatically.
2020-02-29 13:20:06 +01:00
pancho horrillo d35b5bda20 Bump go version to 1.14 2020-02-27 07:21:52 +01:00
pancho horrillo 4b82a2e418 docs: style fixes 2020-02-24 15:13:53 +01:00
César Gallego Rodríguez 42329a6f56 kapow! tidy server example 2020-02-24 14:56:21 +01:00
Roberto Abdelkader Martínez Pérez 7d208d6318 doc: Use debian stable as the base image of the docker example 2020-02-13 15:25:38 +01:00
Roberto Abdelkader Martínez Pérez da50501428 Proper form file upload. https://medium.com/@petehouston/upload-files-with-curl-93064dcccc76 2020-02-13 12:25:58 +01:00
Roberto Abdelkader Martínez Pérez 5a3a421a04 RST formating 2020-02-03 14:29:47 +01:00
Roberto Abdelkader Martínez Pérez 018dfacc76 Missing authors 2020-02-03 14:27:39 +01:00
Roberto Abdelkader Martínez Pérez 22e9fc9f8e Add shebang to examples 2020-02-01 00:17:29 +01:00
Roberto Abdelkader Martínez Pérez 04e855c74d tcpdump example 2020-01-28 07:47:28 +01:00
Roberto Abdelkader Martínez Pérez 2c54ff5e3e Nmap example 2020-01-27 20:05:36 +01:00
Roberto Abdelkader Martínez Pérez e38f60ae05 Detailed instructions 2020-01-27 18:46:15 +01:00