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

Commit

Permalink
Split runtimes (#949)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
andresmgot committed Nov 6, 2018
1 parent a13a6a4 commit a6b8485
Show file tree
Hide file tree
Showing 132 changed files with 181 additions and 4,521 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Expand Up @@ -25,7 +25,7 @@ exports: &exports
echo "export CONTROLLER_IMAGE=${CONTROLLER_IMAGE_NAME}:${CONTROLLER_TAG}" >> $BASH_ENV
echo "export FUNCTION_IMAGE_BUILDER=${BUILDER_IMAGE_NAME}:${CONTROLLER_TAG}" >> $BASH_ENV
echo "export KUBECFG_JPATH=/home/circleci/src/github.com/kubeless/kubeless/ksonnet-lib" >> $BASH_ENV
echo "export PATH=$(pwd)/bats/libexec:$PATH" >> $BASH_ENV
echo "export PATH=$(pwd)/bats/libexec:$GOPATH/bin:$PATH" >> $BASH_ENV
restore_workspace: &restore_workspace
run: |
make bootstrap
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Expand Up @@ -33,7 +33,7 @@ binary-cross:


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

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

@if ! which kubecfg >/dev/null; then \
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); \
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); \
sudo chmod +x /usr/local/bin/kubecfg; \
fi

Expand Down
3 changes: 3 additions & 0 deletions docker/runtime/README.md
@@ -0,0 +1,3 @@
Kubeless Runtimes has been migrated to it's own repository. You can find them here: https://github.com/kubeless/runtimes/

If you are interested in creating a new runtime please follow the instructions here: https://kubeless.io/docs/implementing-new-runtime/
2 changes: 0 additions & 2 deletions docker/runtime/ballerina/.ballerina/.gitignore

This file was deleted.

2 changes: 0 additions & 2 deletions docker/runtime/ballerina/.gitignore

This file was deleted.

3 changes: 0 additions & 3 deletions docker/runtime/ballerina/Ballerina.toml

This file was deleted.

11 changes: 0 additions & 11 deletions docker/runtime/ballerina/Dockerfile

This file was deleted.

11 changes: 0 additions & 11 deletions docker/runtime/ballerina/Dockerfile.init

This file was deleted.

16 changes: 0 additions & 16 deletions docker/runtime/ballerina/Makefile

This file was deleted.

14 changes: 0 additions & 14 deletions docker/runtime/ballerina/compile-function.sh

This file was deleted.

8 changes: 0 additions & 8 deletions docker/runtime/ballerina/example/foo.bal

This file was deleted.

23 changes: 0 additions & 23 deletions docker/runtime/ballerina/kubeless/Package.md

This file was deleted.

29 changes: 0 additions & 29 deletions docker/runtime/ballerina/kubeless/kubeless.bal

This file was deleted.

116 changes: 0 additions & 116 deletions docker/runtime/ballerina/kubeless_run.tpl.bal

This file was deleted.

20 changes: 0 additions & 20 deletions docker/runtime/dotnetcore-2.0/Dockerfile

This file was deleted.

13 changes: 0 additions & 13 deletions docker/runtime/dotnetcore-2.0/Dockerfile.init

This file was deleted.

43 changes: 0 additions & 43 deletions docker/runtime/dotnetcore-2.0/Kubeless.sln

This file was deleted.

15 changes: 0 additions & 15 deletions docker/runtime/dotnetcore-2.0/compile-function.sh

This file was deleted.

10 changes: 0 additions & 10 deletions docker/runtime/dotnetcore-2.0/examples/helloget.cs

This file was deleted.

11 changes: 0 additions & 11 deletions docker/runtime/dotnetcore-2.0/examples/helloget.csproj

This file was deleted.

0 comments on commit a6b8485

Please sign in to comment.