forked from kubeflow/pipelines
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds build triggers against head. Images will be tagged ":latest" (ku…
…beflow#356) * Added latest triggers * Adds build triggers for latest * uses latest instead of branch name
- Loading branch information
1 parent
486a213
commit fcf1a13
Showing
17 changed files
with
231 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
#!/bin/bash | ||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" | ||
CONFIGS=$(find $DIR/../release | grep yaml) | ||
PROJECT=kfserving | ||
|
||
# Not currently idempotent! Use with care. Will be resolve in July 2019 | ||
for CONFIG in $CONFIGS; do | ||
gcloud alpha builds triggers create github --project kfserving --trigger-config $CONFIG | ||
done | ||
for i in $(gcloud alpha builds triggers list --project kfserving | grep ^id | cut -d ':' -f 2); do gcloud alpha builds triggers delete $i --project $PROJECT --quiet; done | ||
|
||
for CONFIG in $CONFIGS; do | ||
gcloud alpha builds triggers create github --project $PROJECT --trigger-config $CONFIG | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
### Specify as necessary ### | ||
name: alibi-explainer-latest | ||
substitutions: | ||
_COMPONENT: "alibi-explainer" | ||
_DOCKERFILE: "./python/alibiexplainer.Dockerfile" | ||
_CONTEXT: "./python" | ||
########################### | ||
github: | ||
owner: kubeflow | ||
name: kfserving | ||
push: | ||
branch: master | ||
########################### | ||
build: | ||
steps: | ||
- name: docker | ||
args: | ||
- "build" | ||
- "-t" | ||
- "gcr.io/$REPO_NAME/${_COMPONENT}:latest" | ||
- "-f" | ||
- "${_DOCKERFILE}" | ||
- "${_CONTEXT}" | ||
images: | ||
- gcr.io/$REPO_NAME/${_COMPONENT}:latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
### Specify as necessary ### | ||
name: executor-latest | ||
substitutions: | ||
_COMPONENT: "executor" | ||
_DOCKERFILE: "./executor.Dockerfile" | ||
_CONTEXT: "." | ||
########################### | ||
github: | ||
owner: kubeflow | ||
name: kfserving | ||
push: | ||
branch: master | ||
########################### | ||
build: | ||
steps: | ||
- name: docker | ||
args: | ||
- "build" | ||
- "-t" | ||
- "gcr.io/$REPO_NAME/${_COMPONENT}:latest" | ||
- "-f" | ||
- "${_DOCKERFILE}" | ||
- "${_CONTEXT}" | ||
images: | ||
- gcr.io/$REPO_NAME/${_COMPONENT}:latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
### Specify as necessary ### | ||
name: kfserving-controller-latest | ||
substitutions: | ||
_COMPONENT: "kfserving-controller" | ||
_DOCKERFILE: "./Dockerfile" | ||
_CONTEXT: "." | ||
########################### | ||
github: | ||
owner: kubeflow | ||
name: kfserving | ||
push: | ||
branch: master | ||
########################### | ||
build: | ||
steps: | ||
- name: docker | ||
args: | ||
- "build" | ||
- "-t" | ||
- "gcr.io/$REPO_NAME/${_COMPONENT}:latest" | ||
- "-f" | ||
- "${_DOCKERFILE}" | ||
- "${_CONTEXT}" | ||
images: | ||
- gcr.io/$REPO_NAME/${_COMPONENT}:latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
### Specify as necessary ### | ||
name: pytorch-server-latest | ||
substitutions: | ||
_COMPONENT: "pytorchserver" | ||
_DOCKERFILE: "./python/pytorch.Dockerfile" | ||
_CONTEXT: "./python" | ||
########################### | ||
github: | ||
owner: kubeflow | ||
name: kfserving | ||
push: | ||
branch: master | ||
########################### | ||
build: | ||
steps: | ||
- name: docker | ||
args: | ||
- "build" | ||
- "-t" | ||
- "gcr.io/$REPO_NAME/${_COMPONENT}:latest" | ||
- "-f" | ||
- "${_DOCKERFILE}" | ||
- "${_CONTEXT}" | ||
images: | ||
- gcr.io/$REPO_NAME/${_COMPONENT}:latest | ||
timeout: 1200s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
### Specify as necessary ### | ||
name: sklearn-server-latest | ||
substitutions: | ||
_COMPONENT: "sklearnserver" | ||
_DOCKERFILE: "./python/sklearn.Dockerfile" | ||
_CONTEXT: "./python" | ||
########################### | ||
github: | ||
owner: kubeflow | ||
name: kfserving | ||
push: | ||
branch: master | ||
########################### | ||
build: | ||
steps: | ||
- name: docker | ||
args: | ||
- "build" | ||
- "-t" | ||
- "gcr.io/$REPO_NAME/${_COMPONENT}:latest" | ||
- "-f" | ||
- "${_DOCKERFILE}" | ||
- "${_CONTEXT}" | ||
images: | ||
- gcr.io/$REPO_NAME/${_COMPONENT}:latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
### Specify as necessary ### | ||
name: storage-initializer-latest | ||
substitutions: | ||
_COMPONENT: "storage-initializer" | ||
_DOCKERFILE: "./python/storage-initializer.Dockerfile" | ||
_CONTEXT: "./python" | ||
########################### | ||
github: | ||
owner: kubeflow | ||
name: kfserving | ||
push: | ||
branch: master | ||
########################### | ||
build: | ||
steps: | ||
- name: docker | ||
args: | ||
- "build" | ||
- "-t" | ||
- "gcr.io/$REPO_NAME/${_COMPONENT}:latest" | ||
- "-f" | ||
- "${_DOCKERFILE}" | ||
- "${_CONTEXT}" | ||
images: | ||
- gcr.io/$REPO_NAME/${_COMPONENT}:latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
### Specify as necessary ### | ||
name: tf2openapi-latest | ||
substitutions: | ||
_COMPONENT: "tf2openapi" | ||
_DOCKERFILE: "./tools/tf2openapi/Dockerfile" | ||
_CONTEXT: "." | ||
########################### | ||
github: | ||
owner: kubeflow | ||
name: kfserving | ||
push: | ||
branch: master | ||
########################### | ||
build: | ||
steps: | ||
- name: docker | ||
args: | ||
- "build" | ||
- "-t" | ||
- "gcr.io/$REPO_NAME/${_COMPONENT}:latest" | ||
- "-f" | ||
- "${_DOCKERFILE}" | ||
- "${_CONTEXT}" | ||
images: | ||
- gcr.io/$REPO_NAME/${_COMPONENT}:latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
### Specify as necessary ### | ||
name: xgb-server-latest | ||
substitutions: | ||
_COMPONENT: "xgbserver" | ||
_DOCKERFILE: "./python/xgb.Dockerfile" | ||
_CONTEXT: "./python" | ||
########################### | ||
github: | ||
owner: kubeflow | ||
name: kfserving | ||
push: | ||
branch: master | ||
########################### | ||
build: | ||
steps: | ||
- name: docker | ||
args: | ||
- "build" | ||
- "-t" | ||
- "gcr.io/$REPO_NAME/${_COMPONENT}:latest" | ||
- "-f" | ||
- "${_DOCKERFILE}" | ||
- "${_CONTEXT}" | ||
images: | ||
- gcr.io/$REPO_NAME/${_COMPONENT}:latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters