From 6f2fbc3f0ff414e7abec502c3be7055a3e31d263 Mon Sep 17 00:00:00 2001 From: ymmt Date: Fri, 11 Oct 2019 01:22:50 +0000 Subject: [PATCH 1/2] git-neco: wait for PR creation --- pkg/git-neco/cmd/draft.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/git-neco/cmd/draft.go b/pkg/git-neco/cmd/draft.go index 6bda66074..10f6b997d 100644 --- a/pkg/git-neco/cmd/draft.go +++ b/pkg/git-neco/cmd/draft.go @@ -6,6 +6,7 @@ import ( "fmt" "strconv" "strings" + "time" "github.com/spf13/cobra" "github.com/tcnksm/go-input" @@ -139,6 +140,9 @@ func runDraftCmd(cmd *cobra.Command, args []string, draft bool) error { return nil } + // wait for the pr get created + time.Sleep(2 * time.Second) + fmt.Printf("Connect %s/%s#%d with %s/%s#%d.\n", curRepo.Owner, curRepo.Name, pr.Number, issueRepo.Owner, issueRepo.Name, draftOpts.issue) zh := NewZenHubClient(config.ZenhubToken) From 08714f45f7bd9fe769f39d876dd6106af6e43255 Mon Sep 17 00:00:00 2001 From: ymmt Date: Fri, 11 Oct 2019 02:23:59 +0000 Subject: [PATCH 2/2] Update artifacts.go --- artifacts.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artifacts.go b/artifacts.go index 8f01704e7..5e867fc30 100644 --- a/artifacts.go +++ b/artifacts.go @@ -5,7 +5,7 @@ package neco var CurrentArtifacts = ArtifactSet{ Images: []ContainerImage{ - {Name: "cke", Repository: "quay.io/cybozu/cke", Tag: "1.15.3", Private: false}, + {Name: "cke", Repository: "quay.io/cybozu/cke", Tag: "1.15.4", Private: false}, {Name: "etcd", Repository: "quay.io/cybozu/etcd", Tag: "3.3.15.1", Private: false}, {Name: "setup-hw", Repository: "quay.io/cybozu/setup-hw", Tag: "1.6.8", Private: true}, {Name: "sabakan", Repository: "quay.io/cybozu/sabakan", Tag: "2.4.7", Private: false},