Justin Chadwell
c47eb3bf5a
git: propogate failure to locate git binary
...
Signed-off-by: Justin Chadwell <me@jedevc.com>
1 year ago
Justin Chadwell
48d7dafbd5
git: update gitutil test utilities
...
- Adds a new GitServeHTTP function to start an http server to serve a
target git repository.
- Adds a new GitDir helper method to get the path to the .git
directory
- Updates the GitAdd method to take a variable number of files
Signed-off-by: Justin Chadwell <me@jedevc.com>
2 years ago
CrazyMax
15eb6418e8
build: strip credentials from remote url on collecting Git provenance info
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2 years ago
David Gageot
d4a4aaf509
Remove git warning: buildx/1633
...
Signed-off-by: David Gageot <david.gageot@docker.com>
2 years ago
CrazyMax
fd5884189c
build: check reachable git commits
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2 years ago
CrazyMax
a8eb2a7fbe
gitutil: override the locale to ensure consistent output
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2 years ago
CrazyMax
c1058c17aa
build: set remote origin url
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2 years ago
CrazyMax
0d1fea8134
build: warn if git operation fails
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2 years ago
CrazyMax
19417e76e7
build: lookup the right git binary on WSL
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2 years ago
CrazyMax
6ad5e2fcf3
build: set provenance vcs details
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2 years ago