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/cloud−provider−openstack,aGOPATH−stylepaththatdoesn′texistinamodules−basedproject.Asaresult,thefindinSOURCESalwaysreturnsnothing,makingSOURCESeffectivelyequivalenttojust′Makefilego.modgo.sum′.Sincegobuildhandlesincrementalcompilationinternally,trackingsourcefileprerequisitesinmakeisredundant.Removebothvariablesanddropthenow−emptyprerequisitesfrom(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
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802047560号
Cloud Provider OpenStack
Thank you for visiting the
Cloud Provider OpenStackrepository!This Repository hosts various plugins relevant to OpenStack and Kubernetes Integration
NOTE:
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:
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.