chore: upgrade GTS to v0.12.2
Also update magefiles to always enable logging to os.Stdout when verifying downloaded files.
This commit is contained in:
parent
bf215d8891
commit
beb3826190
3 changed files with 4 additions and 6 deletions
2
config
2
config
|
@ -1 +1 @@
|
|||
Subproject commit 2e25386f4f48da38e34b0ea259b04f310d1a3c91
|
||||
Subproject commit da2421971dc58cfa90c472c59292129596408158
|
|
@ -12,8 +12,6 @@ import (
|
|||
|
||||
// Deploy deploys the services to the Flow Platform.
|
||||
func Deploy(environment, name string) error {
|
||||
os.Setenv("MAGEFILE_VERBOSE", "true")
|
||||
|
||||
mg.Deps(
|
||||
mg.F(Prepare, environment, name),
|
||||
)
|
||||
|
@ -39,5 +37,5 @@ func Deploy(environment, name string) error {
|
|||
command = append(command, name)
|
||||
}
|
||||
|
||||
return sh.Run(command[0], command[1:]...)
|
||||
return sh.RunV(command[0], command[1:]...)
|
||||
}
|
||||
|
|
|
@ -290,7 +290,7 @@ func download(pack downloadPack) error {
|
|||
|
||||
if pack.validateGPGSignature {
|
||||
for i := range pack.packages {
|
||||
if err := sh.Run("gpg", "--verify", pack.packages[i].gpgSignature.destination, pack.packages[i].file.destination); err != nil {
|
||||
if err := sh.RunV("gpg", "--verify", pack.packages[i].gpgSignature.destination, pack.packages[i].file.destination); err != nil {
|
||||
return fmt.Errorf("GPG verification failed for '%s'; %w", pack.packages[i].file.destination, err)
|
||||
}
|
||||
}
|
||||
|
@ -308,7 +308,7 @@ func download(pack downloadPack) error {
|
|||
|
||||
checksum := filepath.Base(pack.checksum.destination)
|
||||
|
||||
if err := sh.Run("sha256sum", "--check", "--ignore-missing", checksum); err != nil {
|
||||
if err := sh.RunV("sha256sum", "--check", "--ignore-missing", checksum); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue