forked from kubeflow/code-intelligence
-
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.
LabelBot NeedSync needs to check if model is being trained.
* NeedsSync needs to check whether there is a model being trained or if there is a dataset being imported. Otherwise we end up launching multiple overlapping jobs because it takes a long time for the model to train. During which time the Tekton job will have finished. * Related to kubeflow#178
- Loading branch information
Jeremy Lewi
committed
Oct 4, 2020
1 parent
3697618
commit a1dacb5
Showing
8 changed files
with
175 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"builds":[{"imageName":"gcr.io/issue-label-bot-dev/labelbot-diff","tag":"gcr.io/issue-label-bot-dev/labelbot-diff:874d2f5-dirty@sha256:32ecb5f829796b37fb5b5ddc2c3d98c693a81728b285fa90756f2b4b8f1075ae"}]} | ||
{"builds":[{"imageName":"gcr.io/issue-label-bot-dev/labelbot-diff","tag":"gcr.io/issue-label-bot-dev/labelbot-diff:3697618-dirty@sha256:2b7e759153baacf59514c98e50cb01eec0fc7aa2d7e2b271ac0a3c5cc516a74d"}]} |
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
30 changes: 30 additions & 0 deletions
30
...espaces/label-bot-prod/automl.cloudai.kubeflow.org_v1alpha1_modelsync_labelbot-train.yaml
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,30 @@ | ||
apiVersion: automl.cloudai.kubeflow.org/v1alpha1 | ||
kind: ModelSync | ||
metadata: | ||
name: labelbot-train | ||
namespace: label-bot-prod | ||
spec: | ||
failedPipelineRunsHistoryLimit: 10 | ||
needsSyncUrl: http://labelbot-diff.label-bot-prod/needsTrain | ||
pipelineRunTemplate: | ||
spec: | ||
params: | ||
- name: notebook-path | ||
value: Label_Microservice/notebooks/automl.ipynb | ||
- name: requirements | ||
value: Label_Microservice/requirements.train.txt | ||
- name: output | ||
value: gs://issue-label-bot-dev_public/label-bot/training/runs | ||
pipelineRef: | ||
name: run-notebook | ||
resources: | ||
- name: notebook-repo | ||
resourceSpec: | ||
params: | ||
- name: url | ||
value: https://github.com/kubeflow/code-intelligence.git | ||
- name: revision | ||
value: master | ||
type: git | ||
serviceAccountName: default-editor | ||
successfulPipelineRunsHistoryLimit: 10 |