[root@kvm4ocp5 postgresql-operator]# make image-build-master
make: *** No rule to make target 'image-build-master'. Stop.
try to use operator-sdk still failed:
[root@kvm4ocp5 postgresql-operator]# operator-sdk build postgresql-operator:0.1.1
[Deprecation Notice] Operator SDK has a new CLI and project layout that is aligned with Kubebuilder.
See `operator-sdk init -h` and the following doc on how to scaffold a new project:
https://v0-19-x.sdk.operatorframework.io/docs/golang/quickstart/
To migrate existing projects to the new layout see:
https://sdk.operatorframework.io/docs/building-operators/golang/project_migration_guide/
go: github.com/operator-framework/operator-sdk@v0.10.1-0.20190906161029-1cb0481ca946 requires
github.com/operator-framework/operator-lifecycle-manager@v0.0.0-20190128024246-5eb7ae5bdb7a requires
github.com/operator-framework/operator-registry@v1.0.4 requires
github.com/operator-framework/operator-lifecycle-manager@v0.0.0-20190105193533-81104ffdc4fb requires
bitbucket.org/ww/goautoneg@v0.0.0-20120707110453-75cd24fc2f2c: reading https://api.bitbucket.org/2.0/repositories/ww/goautoneg?fields=scm: 404 Not Found
FATA[0002] Failed to build operator binary: failed to exec []string{"go", "build", "-o", "/root/wxk/postgresql-operator/build/_output/bin/postgresql-operator", "-gcflags", "all=-trimpath=/root/wxk", "-asmflags", "all=-trimpath=/root/wxk", "github.com/dev4devs-com/postgresql-operator/cmd/manager"}: exit status 1
### What did you expect to see?
<!--- A clear and concise description of what you expected to happen. -->
can successfully build the image postgresql-operator for 0.1.1
### Environment
* postgresql-operator version: 0.1.1
<!--- Insert postgresql-operator release or Git SHA here. -->
* Kubernetes version information: OpenShit4.8
<!--- Insert the output of `kubectl version` here -->
* Kubernetes cluster kind:
### Additional context
<!--- Add any other context about the question here. -->
Question
Is the tag 0.1.1 branch still works for building iamge? and is the code works fun for postgresql function?
What did you do?
Build image with code in tag 0.1.1
go: github.com/operator-framework/operator-sdk@v0.10.1-0.20190906161029-1cb0481ca946 requires github.com/operator-framework/operator-lifecycle-manager@v0.0.0-20190128024246-5eb7ae5bdb7a requires github.com/operator-framework/operator-registry@v1.0.4 requires github.com/operator-framework/operator-lifecycle-manager@v0.0.0-20190105193533-81104ffdc4fb requires bitbucket.org/ww/goautoneg@v0.0.0-20120707110453-75cd24fc2f2c: reading https://api.bitbucket.org/2.0/repositories/ww/goautoneg?fields=scm: 404 Not Found FATA[0002] Failed to build operator binary: failed to exec []string{"go", "build", "-o", "/root/wxk/postgresql-operator/build/_output/bin/postgresql-operator", "-gcflags", "all=-trimpath=/root/wxk", "-asmflags", "all=-trimpath=/root/wxk", "github.com/dev4devs-com/postgresql-operator/cmd/manager"}: exit status 1