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

Commit

Permalink
Merge pull request #151 from andresmgot/artifact
Browse files Browse the repository at this point in the history
Add artifact path
  • Loading branch information
andresmgot authored Sep 20, 2018
2 parents 58febcb + bacae92 commit f24dff2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ services:
- docker
env:
global:
- KUBELESS_VERSION: v0.6.0
- KUBELESS_VERSION: v1.0.0-alpha.8
- KUBELESS_KAFKA_VERSION: v1.0.0-beta.0
- MINIKUBE_VERSION: v0.25.2
- REPO_DOMAIN: serverless
- REPO_NAME: serverless-kubeless
Expand Down
1 change: 1 addition & 0 deletions deploy/kubelessDeploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ class KubelessDeploy {
_.each(this.serverless.service.functions, (description, name) => {
const pkg = this.options.package ||
this.serverless.service.package.path ||
this.serverless.service.package.artifact ||
description.package.artifact ||
this.serverless.config.serverless.service.artifact;
this.checkSize(pkg);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "serverless-kubeless",
"version": "0.5.0",
"version": "0.5.1",
"description": "This plugin enables support for Kubeless within the [Serverless Framework](https://github.com/serverless).",
"main": "index.js",
"directories": {
Expand Down
2 changes: 1 addition & 1 deletion scripts/integration-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ install_kubecfg() {
install_kubeless() {
kubectl create ns kubeless
kubectl create -f https://github.com/kubeless/kubeless/releases/download/$KUBELESS_VERSION/kubeless-$KUBELESS_VERSION.yaml
kubectl create -f https://github.com/kubeless/kubeless/releases/download/$KUBELESS_VERSION/kafka-zookeeper-$KUBELESS_VERSION.yaml
kubectl create -f https://github.com/kubeless/kafka-trigger/releases/download/$KUBELESS_KAFKA_VERSION/kafka-zookeeper-$KUBELESS_KAFKA_VERSION.yaml
curl -LO https://github.com/kubeless/kubeless/releases/download/$KUBELESS_VERSION/kubeless_linux-amd64.zip
unzip kubeless_linux-amd64.zip
sudo mv ./bundles/kubeless_linux-amd64/kubeless /usr/local/bin/kubeless
Expand Down

0 comments on commit f24dff2

Please sign in to comment.