Commit Graph

341 Commits

Author SHA1 Message Date
unknowingknow e1c4717de6 add an option to run the command when the repository is updated 2020-10-02 19:28:25 +09:00
Kubernetes Prow Robot 94f13f483f
Merge pull request #291 from thockin/logtostderr
logtostderr defaults to true: don't set it in test
2020-09-29 04:53:27 -07:00
Tim Hockin 1992a2bfab logtostderr defaults to true: don't set it in test 2020-09-28 16:31:33 -07:00
Tim Hockin 44e94a16b0 Fix webhook regression: allow -1 to ignore status 2020-09-25 11:17:56 -07:00
Kubernetes Prow Robot 66320a6b92
Merge pull request #243 from killuazhu/kyle-relax-wait
Relax wait between sync
2020-09-25 10:30:26 -07:00
Kubernetes Prow Robot 57ee2d1e70
Merge pull request #282 from thockin/staging
Use new staging GCR
2020-09-08 09:19:43 -07:00
Kubernetes Prow Robot b57238d575
Merge pull request #280 from davidkarlsen/socat
add socat to image to allow for proxying. Fixes #279
2020-09-08 09:17:43 -07:00
David Karlsen 3b52b63327
add documentation
Signed-off-by: David Karlsen <david@davidkarlsen.com>
2020-09-08 12:25:11 +02:00
Tim Hockin 7d89f343be Use new staging GCR 2020-09-07 17:28:57 -07:00
Kubernetes Prow Robot 428ffb71bb
Merge pull request #278 from thockin/10-askpass-url-as-arg
Clean up askpass function to take url as arg
2020-09-07 17:19:43 -07:00
Tim Hockin 4225d000e0 Clean up askpass function to take url as arg 2020-09-07 17:16:56 -07:00
Kubernetes Prow Robot ed57c29d83
Merge pull request #275 from thockin/7-askpass-metric
Add metric for askpass, noop sync != success
2020-09-07 17:11:42 -07:00
Kubernetes Prow Robot 2baf53e1c3
Merge pull request #268 from thockin/multiarch-via-buildx
Multiarch via buildx
2020-09-07 16:57:42 -07:00
David Karlsen 48c7b9aa02
add socat to image to allow for proxying. #279
Signed-off-by: David Karlsen <david@davidkarlsen.com>
2020-09-06 18:59:05 +02:00
Kubernetes Prow Robot c210398e92
Merge pull request #273 from thockin/5-flag-input-checking
Improve flag input checking and errors
2020-09-05 10:33:41 -07:00
Tim Hockin 9cef5f8ced Improve flag input checking and errors 2020-09-05 10:30:25 -07:00
Kubernetes Prow Robot f67c13654e
Merge pull request #277 from thockin/9-better-logs
Better logs and errors
2020-09-05 10:27:40 -07:00
Kubernetes Prow Robot 9c56b25591
Merge pull request #276 from thockin/8-use-filepath
use filepath.Join, drop dep on path
2020-09-05 10:25:41 -07:00
Tim Hockin 04c85ee1dc Add metric for askpass, noop sync != success 2020-09-05 10:24:08 -07:00
Kubernetes Prow Robot 37f74f46fe
Merge pull request #274 from thockin/6-better-run-logs
Improve logs when running a command
2020-09-05 10:21:41 -07:00
Kubernetes Prow Robot 7d63180e78
Merge pull request #272 from thockin/4-move-setFlagDefaults
Move setFlagDefaults closer to flag code
2020-09-05 10:17:41 -07:00
Kubernetes Prow Robot c4f83fdae3
Merge pull request #271 from thockin/3-submod-strings
Minor tweaks to submodules strings & consts
2020-09-05 10:15:41 -07:00
Kubernetes Prow Robot 16e2818704
Merge pull request #270 from thockin/2-useless-test
Remove useless test case
2020-09-05 10:13:40 -07:00
Tim Hockin 8f87fd8397 Fix multi-arch build support
Buildx seems to do what we need.
2020-09-04 23:01:45 -07:00
Tim Hockin e43fb2513e Better logs and errors 2020-09-04 20:14:51 -07:00
Tim Hockin 07b1ab7572 use filepth.Join, drop dep on path 2020-09-04 20:13:22 -07:00
Tim Hockin 5ac2975ec4 Improve logs when running a command 2020-09-04 20:11:34 -07:00
Tim Hockin af755fbe99 Move setFlagDefaults closer to flag code 2020-09-04 20:07:47 -07:00
Tim Hockin 89aad82a31 Minor tweaks to submodules strings & consts
Rename consts internally and shorten help string a bit.
2020-09-04 20:06:44 -07:00
Tim Hockin a29fab5bfa Remove useless test case 2020-09-04 20:03:37 -07:00
Tim Hockin 366e08ff40 Trivial comment change 2020-09-04 20:03:04 -07:00
alix.cook11 dcf169c10a
add option to NOT recursively clone submodules (#246)
* add option to NOT recursively clone submodules

* Add "shallow" and "off" modes to submodule clone

* update readme to reflect new flag

* wording and such feedback
2020-07-30 21:29:07 -07:00
Kubernetes Prow Robot c17c10638d
Merge pull request #258 from joelsmith/master
Add repo SECURITY.md
2020-07-27 15:33:08 -07:00
Joel Smith 61520d8a95 Add SECURITY.md 2020-07-27 16:00:54 -06:00
Kubernetes Prow Robot 1209ca54ee
Merge pull request #252 from windayski/fixtypo
fix typo
2020-06-30 09:00:07 -07:00
windayski f44e140358
fix typo
fix typo
2020-06-30 16:21:33 +08:00
Kubernetes Prow Robot 6807e1fb3c
Merge pull request #248 from aneesh-joseph/patch-1
use uid,gid instead of username and groupname
2020-05-08 15:57:52 -07:00
Aneesh Joseph 5e19658708
use uid,gid instead of username and groupname 2020-05-03 09:35:00 +05:30
Tim Hockin d507f43105 Build updates
Move to go 1.14

Explicitly apt-get update when building
2020-05-01 14:58:00 -07:00
Tim Hockin 7b25906ff7 Build updates
Move to go 1.14

Explicitly apt-get update when building
2020-05-01 14:22:06 -07:00
Kyle Zhu 1546e3415f
Reduce wait time 2020-04-24 17:32:32 -04:00
Kyle Zhu c1d4d77216
Relax wait between sync 2020-04-24 15:21:09 -04:00
Kubernetes Prow Robot e001cde4ac
Merge pull request #237 from thockin/pid1-and-stdout-stderr
Split stdout and stderr in runCommand.  Bugs in pid1.
2020-03-21 22:20:47 -07:00
Tim Hockin 82cd91958b Split stdout/stderr in runCommand()
Sometimes git emits things on stderr that are not errors but not part of
the programmatic output either.  Don't combine the output.
2020-03-20 13:44:33 -07:00
Tim Hockin 95a1690e6f Fix 2 bugs in pid1
1) Was calling Wait() on the child process, but also calling Wait4,
which would race, causing an occasional error or panic.

2) In testing (1), I observed occasional hangs.  Tracing it down to a
SIGWINCH, which masked a SIGCHLD, causing it to hang.  Both seem fixed.

Added a manual test script.
2020-03-20 13:44:27 -07:00
Kubernetes Prow Robot 8015d4b24e
Merge pull request #239 from Rested/master
Fixes handling of invalid urls in webhooks
2020-03-19 08:25:23 -07:00
Reuben Thomas-Davis 4a75452461 avoid accessing Request in webhook.go until possible error due to invalid url has been handled 2020-03-16 19:49:59 +00:00
Kubernetes Prow Robot f4fd49cfc7
Merge pull request #232 from jimangel/env-vars
added table for env vars
2020-02-10 15:07:53 -08:00
Jim Angel 55b3e5e6ef added table for env vars 2020-02-10 16:09:47 -06:00
Kubernetes Prow Robot ad2444ac5d
Merge pull request #231 from marcomicera/fix_docker_image_tag_ssh_doc
Fixed Docker image tag in SSH documentation page
2020-02-03 09:01:21 -08:00