目录
Stephen Finucane

Remove dead targets from Makefile (#3209)

  • make: Remove irrelevant header

The Golang CTI has not been relevant in OpenStack, let along anywhere else, for a very long time. Remove references.

Signed-off-by: Stephen Finucane stephenfin@redhat.com

  • make: Remove build-cross, dist targets

gox has been archived/unmaintained for years and go build has native support for cross-compilation since Go 1.5 (via GOOS/GOARCH env vars, which is exactly what the build-all-archs target does). We can remove both targets.

Signed-off-by: Stephen Finucane stephenfin@redhat.com

  • make: Remove bindep target

This is an OpenStack thing and unnecessary here: it is fair to assume someone working on CPO already has a working go toolchain on their system.

By removing this, we also break the tools/install-distro-packages.sh script. We remove this and its corresponding Makefile target also.

Signed-off-by: Stephen Finucane stephenfin@redhat.com

  • make: Remove more PTI targets

We have never used reno for release notes, and our docs process works entirely differently to OpenStack’s. We can remove all of these targets.

Signed-off-by: Stephen Finucane stephenfin@redhat.com

  • make: Remove work target

Only go install writes to this directory and we no longer use this (and have not used it in years). Remove the target.

Signed-off-by: Stephen Finucane stephenfin@redhat.com

  • make: Remove DEST and SOURCES variables

DEST resolves to (GOPATH)/src/k8s.io/cloudprovideropenstack,aGOPATHstylepaththatdoesntexistinamodulesbasedproject.Asaresult,thefindinSOURCESalwaysreturnsnothing,makingSOURCESeffectivelyequivalenttojustMakefilego.modgo.sum.Sincegobuildhandlesincrementalcompilationinternally,trackingsourcefileprerequisitesinmakeisredundant.Removebothvariablesanddropthenowemptyprerequisitesfrom(GOPATH)/src/k8s.io/cloud-provider-openstack, a GOPATH-style path that doesn't exist in a modules-based project. As a result, the find in SOURCES always returns nothing, making SOURCES effectively equivalent to just 'Makefile go.mod go.sum'. Since go build handles incremental compilation internally, tracking source file prerequisites in make is redundant. Remove both variables and drop the now-empty prerequisites from(BUILD_CMDS).

Assisted-By: Claude Sonnet 4.6 (1M context) noreply@anthropic.com Signed-off-by: Stephen Finucane stephenfin@redhat.com

  • make: Remove unused variables

There are unused since 42d28be20d67440b773ae0853e324ffe6b60b3fe reworked how we do multi-arch builds.

Signed-off-by: Stephen Finucane stephenfin@redhat.com

  • make: Split PHONY definition up

This is easier to manage.

Signed-off-by: Stephen Finucane stephenfin@redhat.com


Signed-off-by: Stephen Finucane stephenfin@redhat.com

3天前3076次提交

Cloud Provider OpenStack

Thank you for visiting the Cloud Provider OpenStack repository!

This Repository hosts various plugins relevant to OpenStack and Kubernetes Integration

NOTE:

  • Cinder Standalone Provisioner, Manila Provisioner and Cinder FlexVolume Driver were removed since release v1.18.0.
  • Version 1.17 was the last release of Manila Provisioner, which is unmaintained from now on. Due to dependency issues, we removed the code from master but it is still accessible in the release-1.17 branch. Please consider migrating to Manila CSI Plugin.
  • Start from release v1.26.0, neutron lbaasv1 support is removed and only Octavia is supported.

Developing

Refer to Getting Started Guide for setting up development environment and contributing.

Contact

Please join us on Kubernetes provider-openstack slack channel

Project Co-Leads:

  • @dulek - Michał Dulko
  • @jichenjc - Chen Ji
  • @kayrus
  • @zetaab - Jesse Haka

License

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802047560号