Skip to content

Is the tag 0.1.1 branch still works? #92

@xkwangcn

Description

@xkwangcn

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions