Tim Hockin
653bd85fc6
Use debian-base as base image
...
All of the main Kubernetes components are switching to it, since we can
maintain it more easily.
2019-03-11 17:16:53 -07:00
Kubernetes Prow Robot
b3e501fc68
Merge pull request #152 from joelsmith/secdoc
...
Update embargo doc link in SECURITY_OWNERS and change PST to PSC
2019-03-08 10:13:56 -08:00
Joel Smith
2eb8ff1182
Update embargo doc link in SECURITY_OWNERS and changes PST to PSC
2019-03-08 10:23:48 -07:00
Kubernetes Prow Robot
7bb3262084
Merge pull request #144 from thockin/fix-ssh
...
Fix SSH
2019-02-11 12:38:26 -08:00
Tim Hockin
51f19b81c9
Fix SSH
...
* Create a git-sync user to run as, with an entry in /etc/passwd and
writable homedir
* Remove our own validation of key perms - let SSH do that.
* Update docs,
2019-02-07 16:32:01 -08:00
Kubernetes Prow Robot
c1edeed768
Merge pull request #143 from thockin/build-rel-tweaks
...
Fix bad perms on make
2019-02-01 10:12:27 -08:00
Tim Hockin
899ae45fa2
Merge branch 'master' into build-rel-tweaks
2019-02-01 10:09:36 -08:00
Tim Hockin
f7546fc17f
Fix bad perms on make
2019-02-01 08:23:54 -08:00
Kubernetes Prow Robot
32982a9dda
Merge pull request #142 from EugeneChung/patch-1
...
~ -> $HOME
2019-01-31 00:39:36 -08:00
Eugene Chung
4b8d266d1f
~ -> $HOME
...
On Mac, ~ is not translated to the home directory. I guess $HOME is more portable.
2019-01-31 17:15:38 +09:00
Kubernetes Prow Robot
d43840aa01
Merge pull request #141 from thockin/build-rel-tweaks
...
Build rel tweaks
2019-01-28 12:51:45 -08:00
Tim Hockin
dbfa625b4e
Sync to latest go-build-template Makefile
2019-01-28 11:42:28 -08:00
Tim Hockin
1c374dab1f
Update Makefile to not repeat build when possible
2019-01-28 10:53:16 -08:00
Kubernetes Prow Robot
fc8555da29
Merge pull request #140 from thockin/build-rel-tweaks
...
Clean up / document build and release
2019-01-25 13:37:01 -08:00
Tim Hockin
497c7df123
Clean up / document build and release
...
In writing better RELEASING docs, I realized the build was repeating
steps. In fixing that I fixed some make deps, but realized I *still*
can't make the build ideal.
At least it is written down now...
2019-01-25 10:45:09 -08:00
Kubernetes Prow Robot
3286e39b80
Merge pull request #139 from jacksontj/tests
...
e2e test for #135 and #131
2019-01-23 12:47:52 -08:00
Thomas Jackson
5676842f8c
Address comments from PR
2019-01-23 12:30:19 -08:00
Thomas Jackson
b2677cc434
Add e2e test for http handler
...
Tests for #135
2019-01-23 11:05:47 -08:00
Thomas Jackson
6d98f420e7
Add e2e test for webhook
...
Test for #131
2019-01-23 11:05:47 -08:00
Kubernetes Prow Robot
95d1059554
Merge pull request #122 from chris060986/master
...
Allow to build container behind a proxy
2019-01-23 08:27:10 -08:00
Tim Hockin
b75b896e1b
Merge branch 'master' into master
2019-01-23 08:25:14 -08:00
Kubernetes Prow Robot
c49fb6eb00
Merge pull request #135 from jacksontj/metrics
...
Add metrics to the git-sync process
2019-01-23 08:24:10 -08:00
Tim Hockin
abf5f0748d
Merge branch 'master' into metrics
2019-01-23 08:18:21 -08:00
Tim Hockin
59c5910890
Merge branch 'master' into master
2019-01-23 08:04:22 -08:00
chris060986
e37fa08e74
Fix docker build arg for https proxy
2019-01-23 07:35:13 +01:00
Kubernetes Prow Robot
511b3997ab
Merge pull request #138 from jacksontj/fetch_depth
...
Use depth option when doing fetches
2019-01-22 17:36:19 -08:00
Thomas Jackson
6cfa3e1690
Add pprof endpoint
...
This requires moving to a non-default ServeMux so we can control whether
pprof is enabled or not
2019-01-22 17:26:27 -08:00
Thomas Jackson
73a0e50ee1
Add dumb liveliness endpoint
...
This currently returns 200 always. In the future we can add options for
controling what constitues "liveliness"
2019-01-22 17:26:27 -08:00
Thomas Jackson
0beb2decf4
Change HTTP flags
...
This enables the HTTP endpoint by default using ":8080". In addition
this adds a flag for disabling the metrics endpoint
2019-01-22 17:26:27 -08:00
Thomas Jackson
e32712b301
Add basic prometheus metrics
2019-01-22 17:26:27 -08:00
Thomas Jackson
4df44b1fcf
Add http handler option
2019-01-22 17:26:27 -08:00
Thomas Jackson
07f0e6dde2
Cleanup container from sync-loop-timeout
...
Otherwise any test running afterwards fails because it left the
container running.
2019-01-22 17:15:03 -08:00
Thomas Jackson
b0c1234787
Add e2e tests for depth flag
2019-01-22 16:59:53 -08:00
Thomas Jackson
f1a1a1b61e
Use depth option when doing fetches
...
Previously the `depth` flag was only used for the initial clone-- so
although you might start with a depth=10 as more commits show up you are
always >10. With this diff we enforce that depth on each fetch, this way
old-commits can get GCd off to reduce the size of the local checkout
required.
2019-01-22 16:44:16 -08:00
Kubernetes Prow Robot
720753a200
Merge pull request #131 from jacksontj/pr_110
...
Add Webhook on git-sync update
2019-01-22 16:25:40 -08:00
Thomas Jackson
87503c6dce
Clarify webhook behavior in docs/README
2019-01-22 14:12:49 -08:00
Thomas Jackson
edaa75b8a5
Remove empty comment line
2019-01-22 14:12:49 -08:00
Thomas Jackson
ad41260327
Clarify success-status config/option
2019-01-22 14:12:49 -08:00
Thomas Jackson
54ec971ba0
Remove "duration" from flag/env/var names
2019-01-22 14:12:49 -08:00
Thomas Jackson
9bfa91b0af
Update README to new flags
2019-01-22 14:12:49 -08:00
Thomas Jackson
6e0bd948ec
Add option to control backoff for failed webhook calls
2019-01-22 14:12:49 -08:00
Thomas Jackson
fdc9b49de2
Reduce to a single webhook call
2019-01-22 14:12:49 -08:00
Thomas Jackson
96714ebed2
Remove global trigger channel
...
Instead change syncRepo to return a boolean which is whether a change
occured.
2019-01-22 14:12:49 -08:00
Thomas Jackson
5c63dc9cb5
Update README based on comments in #110
2019-01-22 14:12:49 -08:00
Thomas Jackson
39ca0a2ca0
Fix error log to print out actual status codes
2019-01-22 14:12:49 -08:00
Thomas Jackson
18f68d3ab6
Move timeout into the json arg for webhook
2019-01-22 14:12:49 -08:00
Thomas Jackson
a45699efb1
goimports
2019-01-22 14:12:49 -08:00
Zac
160d68f29c
removed unecessary logs
2019-01-22 14:12:49 -08:00
Zac
6b8aac0b83
modularized and documented
2019-01-22 14:12:49 -08:00
Zac
e437d8e9a3
adding changes from previous PR, updated README
2019-01-22 14:12:49 -08:00