File tree 4 files changed +5
-10
lines changed
commands/operator-sdk/cmd/add
4 files changed +5
-10
lines changed Original file line number Diff line number Diff line change 17
17
# so we can use it to create a bunch of common build step
18
18
# YAML anchors which we use in our build jobs.
19
19
x_base_steps :
20
- # before_install for jobs that require dep
21
- - &dep_before_install
22
- before_install :
23
- - curl -Lo dep https://github.com/golang/dep/releases/download/v0.5.0/dep-linux-amd64 && chmod +x dep && sudo mv dep /usr/local/bin/
24
- - travis_retry dep ensure -v
25
20
# before_install for jobs that require go builds and do not run for doc-only changes
26
21
- &go_before_install
27
22
before_install :
86
81
name : Unit, Sanity, and Markdown Tests
87
82
# Currently, prow/api-ci tests all PRs that target master; use travis for post merge testing and non-master PRs
88
83
if : type != pull_request OR branch != master
89
- << : *dep_before_install
90
84
script : make test/sanity test/unit test/markdown
91
85
after_success : echo 'Tests Passed'
92
86
after_failure : echo 'Failure in unit, sanity, or markdown test'
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ mod-update:
43
43
clean :
44
44
$(Q ) rm -rf build
45
45
46
- .PHONY : all test format mod clean
46
+ .PHONY : all test format mod mod-update clean
47
47
48
48
install :
49
49
$(Q ) go install -gcflags " all=-trimpath=${GOPATH} " -asmflags " all=-trimpath=${GOPATH} " $(BUILD_PATH )
Original file line number Diff line number Diff line change @@ -118,7 +118,8 @@ func verifyCRDFlags() error {
118
118
return nil
119
119
}
120
120
121
- // verifyCRDDeployPath checks if the path <project-name>/deploy sub-directory is exists, and that is rooted under $GOPATH
121
+ // verifyCRDDeployPath checks if the path <project-name>/deploy sub-directory
122
+ // exists.
122
123
func verifyCRDDeployPath () error {
123
124
wd , err := os .Getwd ()
124
125
if err != nil {
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ cd $GOPATH/src/github.com/operator-framework
28
28
git clone https://github.com/operator-framework/operator-sdk
29
29
cd operator-sdk
30
30
git checkout master
31
- make dep
31
+ make mod
32
32
make install
33
33
```
34
34
@@ -362,4 +362,4 @@ kubectl delete -f deploy/crds/example_v1alpha1_nginx_crd.yaml
362
362
[minikube_tool]:https://github.com/kubernetes/minikube#installation
363
363
[helm_charts]:https://helm.sh/docs/developing_charts/
364
364
[helm_values]:https://helm.sh/docs/using_helm/#customizing-the-chart-before-installing
365
- [quay_link]:https://quay.io
365
+ [quay_link]:https://quay.io
You can’t perform that action at this time.
0 commit comments