Skip to content

Commit 34fcae8

Browse files
committed
alpha: add skip pull support
1 parent 06b018c commit 34fcae8

File tree

6 files changed

+105
-1076
lines changed

6 files changed

+105
-1076
lines changed

cmd/deploy.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ func (e *Executor) newDeployCmd() *cobra.Command {
8181
f.BoolVar(&opts.Verify, "verify", false, "verify existing resources")
8282
f.BoolVar(&opts.Destroy, "destroy", false, "destroy all existing resources")
8383
f.BoolVar(&opts.SkipBuild, "skip-build", false, "skip build command before deploy")
84+
f.BoolVar(&opts.SkipPull, "skip-pull", false, "skip docker images pull phase before deploy")
8485
f.BoolVar(&opts.Lock, "lock", true, "lock statefile during deploy")
8586
f.DurationVar(&opts.LockWait, "lock-wait", 0, "wait for lock if it is already acquired")
8687
f.BoolVar(&opts.AutoApprove, "yes", false, "auto approve changes")

go.mod

Lines changed: 26 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ go 1.18
44

55
require (
66
github.com/23doors/go-yaml v1.9.6-0.20220328165103-15fd217cc309
7-
github.com/AlecAivazis/survey/v2 v2.3.2
7+
github.com/AlecAivazis/survey/v2 v2.3.4
88
github.com/Masterminds/semver v1.5.0
99
github.com/Masterminds/sprig v2.22.0+incompatible
10-
github.com/Masterminds/vcs v1.13.1
10+
github.com/Masterminds/vcs v1.13.3
1111
github.com/ansel1/merry/v2 v2.0.1
12-
github.com/docker/docker v20.10.12+incompatible
12+
github.com/docker/docker v20.10.14+incompatible
1313
github.com/enescakir/emoji v1.0.0
1414
github.com/go-ozzo/ozzo-validation/v4 v4.3.0
1515
github.com/google/go-github/v35 v35.3.0
@@ -18,19 +18,19 @@ require (
1818
github.com/mholt/archiver/v3 v3.5.1
1919
github.com/mitchellh/go-homedir v1.1.0
2020
github.com/otiai10/copy v1.7.0
21-
github.com/outblocks/outblocks-plugin-go v0.0.0-20220411122407-4bcf87fcb89a
21+
github.com/outblocks/outblocks-plugin-go v0.0.0-20220420190545-2f7c87d49345
2222
github.com/pkg/errors v0.9.1
23-
github.com/pterm/pterm v0.12.37
23+
github.com/pterm/pterm v0.12.41
2424
github.com/santhosh-tekuri/jsonschema/v5 v5.0.0
25-
github.com/spf13/cobra v1.3.0
25+
github.com/spf13/cobra v1.4.0
2626
github.com/spf13/pflag v1.0.5
27-
github.com/spf13/viper v1.10.1
27+
github.com/spf13/viper v1.11.0
2828
github.com/txn2/txeh v1.3.0
29-
golang.org/x/oauth2 v0.0.0-20220223155221-ee480838109b
30-
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211
29+
golang.org/x/oauth2 v0.0.0-20220411215720-9780585627b5
30+
golang.org/x/term v0.0.0-20220411215600-e5f449aeb171
3131
golang.org/x/text v0.3.7
3232
google.golang.org/grpc v1.45.0
33-
google.golang.org/protobuf v1.27.1
33+
google.golang.org/protobuf v1.28.0
3434
)
3535

3636
require (
@@ -39,15 +39,15 @@ require (
3939
github.com/andybalholm/brotli v1.0.4 // indirect
4040
github.com/asaskevich/govalidator v0.0.0-20210307081110-f21760c49a8d // indirect
4141
github.com/atomicgo/cursor v0.0.1 // indirect
42-
github.com/containerd/containerd v1.6.1 // indirect
43-
github.com/creasty/defaults v1.5.2 // indirect
44-
github.com/docker/distribution v2.8.0+incompatible // indirect
42+
github.com/containerd/containerd v1.6.2 // indirect
43+
github.com/creasty/defaults v1.6.0 // indirect
44+
github.com/docker/distribution v2.8.1+incompatible // indirect
4545
github.com/docker/go-connections v0.4.0 // indirect
4646
github.com/docker/go-units v0.4.0 // indirect
4747
github.com/dsnet/compress v0.0.2-0.20210315054119-f66993602bf5 // indirect
4848
github.com/fatih/color v1.13.0 // indirect
4949
github.com/fsnotify/fsnotify v1.5.1 // indirect
50-
github.com/go-playground/validator/v10 v10.10.0 // indirect
50+
github.com/go-playground/validator/v10 v10.10.1 // indirect
5151
github.com/gobwas/glob v0.2.3 // indirect
5252
github.com/gogo/protobuf v1.3.2 // indirect
5353
github.com/golang/protobuf v1.5.2 // indirect
@@ -60,7 +60,7 @@ require (
6060
github.com/imdario/mergo v0.3.12 // indirect
6161
github.com/inconshreveable/mousetrap v1.0.0 // indirect
6262
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
63-
github.com/klauspost/compress v1.14.4 // indirect
63+
github.com/klauspost/compress v1.15.1 // indirect
6464
github.com/klauspost/pgzip v1.2.5 // indirect
6565
github.com/magiconair/properties v1.8.6 // indirect
6666
github.com/mattn/go-colorable v0.1.12 // indirect
@@ -71,30 +71,34 @@ require (
7171
github.com/mitchellh/mapstructure v1.4.3 // indirect
7272
github.com/mitchellh/reflectwalk v1.0.2 // indirect
7373
github.com/moby/term v0.0.0-20210619224110-3f7ff695adc6 // indirect
74-
github.com/nwaples/rardecode v1.1.2 // indirect
74+
github.com/morikuni/aec v1.0.0 // indirect
75+
github.com/nwaples/rardecode v1.1.3 // indirect
7576
github.com/opencontainers/go-digest v1.0.0 // indirect
7677
github.com/opencontainers/image-spec v1.0.2 // indirect
7778
github.com/pelletier/go-toml v1.9.4 // indirect
79+
github.com/pelletier/go-toml/v2 v2.0.0-beta.8 // indirect
7880
github.com/pierrec/lz4/v4 v4.1.14 // indirect
7981
github.com/rivo/uniseg v0.2.0 // indirect
8082
github.com/rogpeppe/go-internal v1.8.1 // indirect
8183
github.com/sirupsen/logrus v1.8.1 // indirect
82-
github.com/spf13/afero v1.8.1 // indirect
84+
github.com/spf13/afero v1.8.2 // indirect
8385
github.com/spf13/cast v1.4.1 // indirect
8486
github.com/spf13/jwalterweatherman v1.1.0 // indirect
8587
github.com/subosito/gotenv v1.2.0 // indirect
8688
github.com/ulikunitz/xz v0.5.10 // indirect
8789
github.com/xi2/xz v0.0.0-20171230120015-48954b6210f8 // indirect
8890
github.com/xo/terminfo v0.0.0-20210125001918-ca9a967f8778 // indirect
89-
golang.org/x/crypto v0.0.0-20220214200702-86341886e292 // indirect
90-
golang.org/x/net v0.0.0-20220225172249-27dd8689420f // indirect
91+
golang.org/x/crypto v0.0.0-20220411220226-7b82a4e95df4 // indirect
92+
golang.org/x/net v0.0.0-20220412020605-290c469a71a5 // indirect
9193
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c // indirect
92-
golang.org/x/sys v0.0.0-20220310020820-b874c991c1a5 // indirect
93-
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
94+
golang.org/x/sys v0.0.0-20220412211240-33da011f77ad // indirect
95+
golang.org/x/xerrors v0.0.0-20220411194840-2f41105eb62f // indirect
9496
google.golang.org/appengine v1.6.7 // indirect
95-
google.golang.org/genproto v0.0.0-20220314164441-57ef72a4c106 // indirect
97+
google.golang.org/genproto v0.0.0-20220414192740-2d67ff6cf2b4 // indirect
98+
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
9699
gopkg.in/ini.v1 v1.66.4 // indirect
97100
gopkg.in/yaml.v2 v2.4.0 // indirect
101+
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
98102
)
99103

100104
replace github.com/santhosh-tekuri/jsonschema/v5 => github.com/23doors/jsonschema/v5 v5.0.1-0.20220120150455-3960be6116ea

0 commit comments

Comments
 (0)