mirror of
https://github.com/openshift/community.okd.git
synced 2026-05-08 14:12:37 +00:00
* Issue #57: Switch dependency from community.kubernetes to kubernetes.core. * Issue #57: Rely on kubernetes.core install directly. * Issue #57: Don't install kubernetes.core from source anymore.
This commit is contained in:
5
Makefile
5
Makefile
@@ -12,11 +12,8 @@ build: clean
|
||||
ansible-galaxy collection build
|
||||
|
||||
install-kubernetes-src:
|
||||
mkdir -p ansible_collections/community/kubernetes
|
||||
rm -rf ansible_collections/community/kubernetes/*
|
||||
curl -L https://github.com/ansible-collections/community.kubernetes/archive/main.tar.gz | tar -xz -C ansible_collections/community/kubernetes --strip-components 1
|
||||
ansible-galaxy collection install -p ansible_collections kubernetes.core
|
||||
|
||||
# TODO: Once we no longer rely on features in main we should drop the install-kubernetes-src dependency
|
||||
install: build install-kubernetes-src
|
||||
ansible-galaxy collection install -p ansible_collections community-okd-$(VERSION).tar.gz
|
||||
|
||||
|
||||
Reference in New Issue
Block a user