d6a057c89d
This commit contains a new utility that helps to automate a version bump for sandbox. You can run this command to get the vibe of what it does. ``` $ go run cmd/bump-version/main.go -help ``` In order to try it out you can run this command form sandbox root. By default it won't overwrite anything. It will print to stdout a new version of the current_versions.sh file where all the images are calculate cloning the various repositories ``` $ go run cmd/bump-version/main.go ``` If you want to overwrite the current_versions file you can use the flag `-overwrite`. More will come but for now, that's the PoC. Ideally this can be hooked to CI/CD and run periodically, opening a PR that can be evaluated and merged. Signed-off-by: Gianluca Arbezzano <gianarb92@gmail.com>
14 lines
399 B
Modula-2
14 lines
399 B
Modula-2
module github.com/tinkerbell/sandbox
|
|
|
|
go 1.15
|
|
|
|
require (
|
|
github.com/containers/image v3.0.2+incompatible
|
|
github.com/containers/image/v5 v5.8.0
|
|
github.com/gianarb/vagrant-go v0.0.0-20200902133321-62ba563fe383 // indirect
|
|
github.com/go-git/go-git/v5 v5.2.0
|
|
github.com/joho/godotenv v1.3.0
|
|
github.com/pkg/errors v0.9.1
|
|
github.com/tinkerbell/tink v0.0.0-20210211152036-a7e947efc194 // indirect
|
|
)
|