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

Kind #266

Merged
merged 11 commits into from Nov 15, 2019
Merged
1 change: 1 addition & 0 deletions .github/vendor.yml
Expand Up @@ -33,6 +33,7 @@ vendor/hugo: vendor/hugo/**
vendor/json2hcl: vendor/json2hcl/**
vendor/k6: vendor/k6/**
vendor/kfctl: vendor/kfctl/**
vendor/kind: vendor/kind/**
vendor/kops-1.12: vendor/kops-1.12/**
vendor/kops: vendor/kops/**
vendor/kubecron: vendor/kubecron/**
Expand Down
1 change: 0 additions & 1 deletion Makefile
Expand Up @@ -58,7 +58,6 @@ docker/build/apk/all:
-v $$(pwd):/packages cloudposse/apkbuild:$(ALPINE_VERSION) \
sh -c "make -C /packages/vendor build"


## Build alpine packages for testing
docker/build/apk/shell:
rm -rf tmp/*
Expand Down
11 changes: 10 additions & 1 deletion README.md
Expand Up @@ -224,6 +224,14 @@ packages/uninstall/%:
@make -C $(PACKAGES_PATH)/uninstall $(subst packages/uninstall/,,$@)
```

### Contributing Additional Packages
In addition to following the Contributing section, the following steps can be used to add new packages for review (via a PR).
1. Clone an existing, similar, package within the vendors directory. Name the new folder with the same name as the binary package being installed.
2. At a minimum, update the VERSION, DESCRIPTION, and Makefile to reflect the binary being installed. Ensure that a test section exists and works.
3. Test the install and ensure that it downloads and runs as expected (`make -C install <your_package> INSTALL_PATH=/tmp`)
4. Test the build (`make all`)
5. Update the README.md (`make readme/build`)



## Makefile Targets
Expand All @@ -244,7 +252,7 @@ direnv 2.20.0 Unclutter your .profile
doctl 1.33.1 A command line tool for DigitalOcean services
emailcli 1.0.3 Command line email sending client written in Go.
fargate 0.3.2 CLI for AWS Fargate
fetch 0.3.7 fetch makes it easy to download files, folders, and release assets from a specific git commit, branch, or tag of public andssss
fetch 0.3.7 fetch makes it easy to download files, folders, and release assets from a specific public git commit, branch, or tag
figurine 1.0.1 Print your name in style
fzf 0.18.0 A command-line fuzzy finder
ghr 0.13.0 Upload multiple artifacts to GitHub Releases in parallel
Expand All @@ -263,6 +271,7 @@ hugo 0.59.1 The world’s fastest framework for buildin
json2hcl 0.0.6 Convert JSON to HCL, and vice versa
k6 0.25.1 A modern load testing tool, using Go and JavaScript - https://k6.io
kfctl 0.7.0 Machine Learning Toolkit for Kubernetes
kind 0.5.1 A tool for running local Kubernetes clusters using Docker
kops 1.14.1 Kubernetes Operations (kops) - Production Grade K8s Installation, Upgrades, and Management
kops-1.12 1.12.3 Kubernetes Operations (kops) - Production Grade K8s Installation, Upgrades, and Management
kubecron 1.0.2 Utilities to manage kubernetes cronjobs. Run a CronJob manually for test purposes. Suspend/unsuspend a CronJob
Expand Down
7 changes: 7 additions & 0 deletions README.yaml
Expand Up @@ -178,6 +178,13 @@ examples: |-
@make -C $(PACKAGES_PATH)/uninstall $(subst packages/uninstall/,,$@)
```

### Contributing Additional Packages
In addition to following the Contributing section, the following steps can be used to add new packages for review (via a PR).
1. Clone an existing, similar, package within the vendors directory. Name the new folder with the same name as the binary package being installed.
2. At a minimum, update the `VERSION`, `DESCRIPTION`, and `Makefile` to reflect the binary being installed. Ensure that a test section exists and works.
3. Test the install and ensure that it downloads and runs as expected (`make -C install <your_package> INSTALL_PATH=/tmp`)
4. Test the build (`make all`)
5. Update the `README.md` (`make readme/build`)

# Contributors to this project
contributors:
Expand Down
3 changes: 2 additions & 1 deletion docs/targets.md
Expand Up @@ -16,7 +16,7 @@ direnv 2.20.0 Unclutter your .profile
doctl 1.33.1 A command line tool for DigitalOcean services
emailcli 1.0.3 Command line email sending client written in Go.
fargate 0.3.2 CLI for AWS Fargate
fetch 0.3.7 fetch makes it easy to download files, folders, and release assets from a specific git commit, branch, or tag of public andssss
fetch 0.3.7 fetch makes it easy to download files, folders, and release assets from a specific public git commit, branch, or tag
figurine 1.0.1 Print your name in style
fzf 0.18.0 A command-line fuzzy finder
ghr 0.13.0 Upload multiple artifacts to GitHub Releases in parallel
Expand All @@ -35,6 +35,7 @@ hugo 0.59.1 The world’s fastest framework for buildin
json2hcl 0.0.6 Convert JSON to HCL, and vice versa
k6 0.25.1 A modern load testing tool, using Go and JavaScript - https://k6.io
kfctl 0.7.0 Machine Learning Toolkit for Kubernetes
kind 0.5.1 A tool for running local Kubernetes clusters using Docker
kops 1.14.1 Kubernetes Operations (kops) - Production Grade K8s Installation, Upgrades, and Management
kops-1.12 1.12.3 Kubernetes Operations (kops) - Production Grade K8s Installation, Upgrades, and Management
kubecron 1.0.2 Utilities to manage kubernetes cronjobs. Run a CronJob manually for test purposes. Suspend/unsuspend a CronJob
Expand Down
2 changes: 1 addition & 1 deletion vendor/fetch/DESCRIPTION
@@ -1 +1 @@
fetch makes it easy to download files, folders, and release assets from a specific git commit, branch, or tag of public andssss
fetch makes it easy to download files, folders, and release assets from a specific public git commit, branch, or tag
1 change: 1 addition & 0 deletions vendor/kind/DESCRIPTION
@@ -0,0 +1 @@
A tool for running local Kubernetes clusters using Docker
1 change: 1 addition & 0 deletions vendor/kind/LICENSE
@@ -0,0 +1 @@
MIT
13 changes: 13 additions & 0 deletions vendor/kind/Makefile
@@ -0,0 +1,13 @@
# Package details
export VENDOR ?= kubernetes-sigs
export APK_BUILD_TEMPLATE ?= APKBUILD.github-binary
export DOWNLOAD_URL ?= $(PACKAGE_REPO_URL)/releases/download/v$(PACKAGE_VERSION)/$(PACKAGE_NAME)-$(OS)-$(ARCH)

include ../../tasks/Makefile.package
include ../../tasks/Makefile.apk

install:
$(call download_binary)

test:
$(PACKAGE_EXE) version
1 change: 1 addition & 0 deletions vendor/kind/RELEASE
@@ -0,0 +1 @@
0
1 change: 1 addition & 0 deletions vendor/kind/VERSION
@@ -0,0 +1 @@
0.5.1