Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is the tag 0.1.1 branch still works? #92

Open
xkwangcn opened this issue Sep 16, 2021 · 1 comment
Open

Is the tag 0.1.1 branch still works? #92

xkwangcn opened this issue Sep 16, 2021 · 1 comment

Comments

@xkwangcn
Copy link

xkwangcn commented Sep 16, 2021

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

  1. git clone https://github.com/dev4devs-com/postgresql-operator.git
  2. cd postgresql-operator
  3. git checkout 0.1.1
  4. make image-build-master failed
[root@kvm4ocp5 postgresql-operator]# make image-build-master
make: *** No rule to make target 'image-build-master'.  Stop.
  1. 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?

can successfully build the image postgresql-operator for 0.1.1

Environment

  • postgresql-operator version: 0.1.1
  • Kubernetes version information: OpenShit4.8
  • Kubernetes cluster kind:

Additional context

@xkwangcn
Copy link
Author

xkwangcn commented Sep 16, 2021

@camilamacedo86 @pratikjagrut could you give me some reply about:

  1. Is the 0.1.1 still work?
  2. How to build image for 0.1.1?

I want to use the code in branch 0.1.1 to build one image for our arch. Thank you very much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant