Skip to content
This repository was archived by the owner on Dec 15, 2021. It is now read-only.

Commit a6b8485

Browse files
authored
Split runtimes (#949)
* Use external source for runtimes info * Update kubecfg * Remove runtimes from this repository * Rely on external manifests * Remove redundant tests * Fix CircleCI syntax * Move runtime env vars to the manifest * Fix validation * Add install volume env var * Fix unit test * Point to the new guides * Minor review
1 parent a13a6a4 commit a6b8485

File tree

132 files changed

+181
-4521
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

132 files changed

+181
-4521
lines changed

.circleci/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ exports: &exports
2525
echo "export CONTROLLER_IMAGE=${CONTROLLER_IMAGE_NAME}:${CONTROLLER_TAG}" >> $BASH_ENV
2626
echo "export FUNCTION_IMAGE_BUILDER=${BUILDER_IMAGE_NAME}:${CONTROLLER_TAG}" >> $BASH_ENV
2727
echo "export KUBECFG_JPATH=/home/circleci/src/github.com/kubeless/kubeless/ksonnet-lib" >> $BASH_ENV
28-
echo "export PATH=$(pwd)/bats/libexec:$PATH" >> $BASH_ENV
28+
echo "export PATH=$(pwd)/bats/libexec:$GOPATH/bin:$PATH" >> $BASH_ENV
2929
restore_workspace: &restore_workspace
3030
run: |
3131
make bootstrap

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ binary-cross:
3333

3434

3535
%.yaml: %.jsonnet
36-
$(KUBECFG) show -o yaml $< > $@.tmp
36+
$(KUBECFG) show -U https://raw.githubusercontent.com/kubeless/runtimes/master -o yaml $< > $@.tmp
3737
mv $@.tmp $@
3838

3939
all-yaml: kubeless.yaml kubeless-non-rbac.yaml kubeless-openshift.yaml kafka-zookeeper.yaml
@@ -102,7 +102,7 @@ bootstrap: bats ksonnet-lib
102102
go get -u github.com/mitchellh/gox
103103

104104
@if ! which kubecfg >/dev/null; then \
105-
sudo wget -q -O /usr/local/bin/kubecfg https://github.com/ksonnet/kubecfg/releases/download/v0.6.0/kubecfg-$$(go env GOOS)-$$(go env GOARCH); \
105+
sudo wget -q -O /usr/local/bin/kubecfg https://github.com/ksonnet/kubecfg/releases/download/v0.9.0/kubecfg-$$(go env GOOS)-$$(go env GOARCH); \
106106
sudo chmod +x /usr/local/bin/kubecfg; \
107107
fi
108108

docker/runtime/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Kubeless Runtimes has been migrated to it's own repository. You can find them here: https://github.com/kubeless/runtimes/
2+
3+
If you are interested in creating a new runtime please follow the instructions here: https://kubeless.io/docs/implementing-new-runtime/

docker/runtime/ballerina/.ballerina/.gitignore

-2
This file was deleted.

docker/runtime/ballerina/.gitignore

-2
This file was deleted.

docker/runtime/ballerina/Ballerina.toml

-3
This file was deleted.

docker/runtime/ballerina/Dockerfile

-11
This file was deleted.

docker/runtime/ballerina/Dockerfile.init

-11
This file was deleted.

docker/runtime/ballerina/Makefile

-16
This file was deleted.

docker/runtime/ballerina/compile-function.sh

-14
This file was deleted.

docker/runtime/ballerina/example/foo.bal

-8
This file was deleted.

docker/runtime/ballerina/kubeless/Package.md

-23
This file was deleted.

docker/runtime/ballerina/kubeless/kubeless.bal

-29
This file was deleted.

docker/runtime/ballerina/kubeless_run.tpl.bal

-116
This file was deleted.

docker/runtime/dotnetcore-2.0/Dockerfile

-20
This file was deleted.

docker/runtime/dotnetcore-2.0/Dockerfile.init

-13
This file was deleted.

docker/runtime/dotnetcore-2.0/Kubeless.sln

-43
This file was deleted.

docker/runtime/dotnetcore-2.0/compile-function.sh

-15
This file was deleted.

docker/runtime/dotnetcore-2.0/examples/helloget.cs

-10
This file was deleted.

docker/runtime/dotnetcore-2.0/examples/helloget.csproj

-11
This file was deleted.

0 commit comments

Comments
 (0)