Commit Graph

724 Commits

Author SHA1 Message Date
Tim Hockin 8b99b7c143 Use os.Symlink() and os.Rename() instead of exec
Should be more portable (MacOS flags to ln and mv are not the same as
GNU).
2022-08-12 21:00:28 -07:00
Tim Hockin 5050413d09 Reset --soft in the root
Using --hard checks out all the files.  Not resetting fails tests.
2022-08-12 16:34:14 -07:00
Kubernetes Prow Robot bc865d0329
Merge pull request #599 from thockin/master
Document filesystem-volumes issue
2022-08-01 12:34:28 -07:00
Tim Hockin 037af64d3f Add notes about volumes and lost+found 2022-07-29 14:20:41 -07:00
Tim Hockin 3cf0d42517 Add missing key to log-line 2022-07-29 14:00:03 -07:00
Kubernetes Prow Robot 8d03329d7c
Merge pull request #597 from thockin/v4_manifest-tool_update
Update manifest-tool and get rid of hacks and old docs
2022-07-27 01:12:31 -07:00
Kubernetes Prow Robot 9785945874
Merge pull request #596 from thockin/v4_log_env_at_startup
Log a redacted form of environment at startup
2022-07-27 01:10:31 -07:00
Kubernetes Prow Robot 7cc9db160c
Merge pull request #595 from thockin/v4_e2e_trap_ERR
e2e: also trap ERR
2022-07-27 01:00:32 -07:00
Kubernetes Prow Robot b5fc032911
Merge pull request #594 from thockin/v4_wrong_env_var_name
Fix wrong env var name in docs
2022-07-27 00:58:31 -07:00
Tim Hockin 2fceb47ba3 Get rid of special manifest-tool hacks 2022-07-26 11:28:48 -07:00
Tim Hockin 5ce0b80994 Update manifest-tool to latest
Latest doesn't need gross deps hacks.
2022-07-26 11:28:48 -07:00
Tim Hockin 0f1c792c5d Echo manifest-list name during build 2022-07-26 11:28:48 -07:00
Tim Hockin 0b92a4971c Log env at startup 2022-07-26 11:28:38 -07:00
Tim Hockin 9529c24f6d Redact password when logging args 2022-07-26 11:28:38 -07:00
Tim Hockin 48b006568d e2e: also trap ERR 2022-07-26 11:27:56 -07:00
Tim Hockin 035072b718 Fix wrong env var name in docs 2022-07-26 11:24:36 -07:00
Kubernetes Prow Robot c62f6cb833
Merge pull request #586 from thockin/v4_known_hosts_not_dev_null
v4: Don't set known_hosts to /dev/null
2022-07-14 10:16:57 -07:00
Tim Hockin 058ccea621 Don't set known_hosts to /dev/null
This causes git to log, repeatedly, that it is "adding to known hosts".
2022-07-14 10:11:13 -07:00
Kubernetes Prow Robot 3a5b5ca4c8
Merge pull request #584 from thockin/v4_cred_helper_cache
v4: Change from "store" to "cache" for credentials
2022-07-14 10:10:59 -07:00
Tim Hockin e8ef2c05be Change from "store" to "cache" for credentials
This means they need to be refreshed every so often, so we'll just do it
every sync loop.
2022-07-14 10:08:12 -07:00
Kubernetes Prow Robot 9b5b8143b3
Merge pull request #582 from thockin/v4_log_creds_md5
v4: log.V(9) md5sums of credentials
2022-07-14 10:04:57 -07:00
Tim Hockin e765289185 log.V(9) md5sums of credentials 2022-07-14 09:53:35 -07:00
Kubernetes Prow Robot 6e65782d45
Merge pull request #580 from thockin/v4_logging_cleanup
v4: Logging and error handling cleanup
2022-07-14 09:50:57 -07:00
Tim Hockin 94e8d00093 Logging and error handling cleanup 2022-07-14 08:29:53 -07:00
Kubernetes Prow Robot 467cbf3c76
Merge pull request #578 from thockin/v4_simpler_credential_init
v4: Clean up credential init
2022-07-14 03:42:57 -07:00
Kubernetes Prow Robot 68d9d4364f
Merge pull request #587 from thockin/v4_update_deps
v4: update deps
2022-07-07 23:35:46 -07:00
Kubernetes Prow Robot e7d6471ddd
Merge pull request #576 from thockin/v4_e2e_password_not_one_time
v4: e2e: Make password test not use --one-time
2022-07-07 23:33:49 -07:00
Tim Hockin 60a240bec4 Clean up credential init
Set the credential.helper early and just once.
2022-07-07 08:51:25 -07:00
Kubernetes Prow Robot 9e1fc987cf
Merge pull request #574 from thockin/v4_no_XDG_CONFIG_HOME
v4: e2e: don't set XDG_CONFIG_HOME
2022-07-07 05:19:34 -07:00
Kubernetes Prow Robot 8e51b42def
Merge pull request #572 from thockin/v4_askpass_helper_simpler
v4: Clean up askpass_URL
2022-07-07 05:05:35 -07:00
Kubernetes Prow Robot 344f3ecd09
Merge pull request #570 from thockin/v4_e2e_CLEANUP_docker_rm
v4: e2e: $CLEANUP decides whether to rm containers
2022-07-07 04:43:34 -07:00
Kubernetes Prow Robot 37eba714c5
Merge pull request #568 from thockin/v4_ncsvr_http_bug
v4: e2e: Fix ncsvr to wait for input on HTTP
2022-07-07 04:27:34 -07:00
Kubernetes Prow Robot 89c8060026
Merge pull request #590 from Liujingfang1/patch-2
Fix CVE-2022-2068
2022-07-06 12:19:33 -07:00
Jingfang Liu d9e8b72885
Fix CVE-2022-2068 2022-07-06 11:53:59 -07:00
Kubernetes Prow Robot 42d292d081
Merge pull request #566 from thockin/v4_makefile_dbg
v4: Bring some Makefile cleanups from k/k
2022-07-04 01:59:24 -07:00
Tim Hockin 56918b0055 e2e: don't set XDG_CONFIG_HOME 2022-07-03 16:53:09 -07:00
Tim Hockin 9d52a21123 Bring some Makefile cleanups from k/k 2022-07-03 16:50:51 -07:00
Kubernetes Prow Robot 6898074c8a
Merge pull request #564 from thockin/v4_e2e_rebuild_less
v4: e2e: rebuild the container less often
2022-07-03 14:31:22 -07:00
Tim Hockin c868972a52 deps: Bump prometheus client to 1.12.2 2022-07-03 13:47:52 -07:00
Tim Hockin 008e2673bc deps: Bump go-licenses to 1.2.1 2022-07-03 13:47:52 -07:00
Tim Hockin 034995c6c3 deps: Bump logr to 1.2.3 2022-07-03 13:47:52 -07:00
Kubernetes Prow Robot e9d4ecca41
Merge pull request #543 from thockin/v4-e2e_names
V4: Rename e2e tests for easier partial runs
2022-07-03 11:59:24 -07:00
Tim Hockin 20f0ab8a9b e2e: Make password test not use --one-time 2022-07-03 11:38:23 -07:00
Tim Hockin e40079fa8d Clean up askpass_URL
* Tighten git e2e shim
  - exit on errors
  - simpler
  - don't set XDG_CONFIG_HOME

* Reword logs
2022-07-03 11:37:11 -07:00
Tim Hockin e579cf18b2 e2e: $CLEANUP decides whether to rm containers 2022-07-03 11:36:48 -07:00
Tim Hockin ec25d1a3f5 e2e: Fix ncsvr to wait for input on HTTP
This caused occasional e2e flakes when the server responded before the
client request had been sent.
2022-07-03 11:36:05 -07:00
Tim Hockin 4b9431f9bc Don't run apt-get in e2e build if we can avoid 2022-07-03 11:35:09 -07:00
Tim Hockin 10abfd561b e2e: rebuild container less often 2022-07-03 11:35:09 -07:00
Tim Hockin 27ac1642c9 Rename tests for better filtering 2022-07-03 11:14:46 -07:00
Kubernetes Prow Robot 3719d0385e
Merge pull request #541 from thockin/v4-better_askpass_url
V4: beef up askpass-url test
2022-07-03 00:47:22 -07:00