forked from flyteorg/flyte
-
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.
Fixed CI for new structure changes in repo (flyteorg#186)
* fixed ci for new changes Signed-off-by: Yuvraj <[email protected]> * Added empty line in makefile Signed-off-by: Yuvraj <[email protected]>
- Loading branch information
Showing
6 changed files
with
56 additions
and
33 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,6 +1,7 @@ | ||
name: Push Core Examples | ||
|
||
on: | ||
pull_request: | ||
create: | ||
tags: | ||
- v* | ||
|
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,3 +1,4 @@ | ||
PREFIX=core | ||
PWD=$(shell pwd) | ||
include ../common/Makefile | ||
include ../common/leaf.mk |
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,24 @@ | ||
SERIALIZED_PB_OUTPUT_DIR := /tmp/output | ||
|
||
.PHONY: clean | ||
clean: | ||
rm -rf $(SERIALIZED_PB_OUTPUT_DIR)/* | ||
|
||
$(SERIALIZED_PB_OUTPUT_DIR): clean | ||
mkdir -p $(SERIALIZED_PB_OUTPUT_DIR) | ||
|
||
.PHONY: serialize | ||
serialize: $(SERIALIZED_PB_OUTPUT_DIR) | ||
pyflyte --config /root/sandbox.config serialize workflows -f $(SERIALIZED_PB_OUTPUT_DIR) | ||
|
||
.PHONY: register | ||
register: serialize | ||
flyte-cli register-files -h ${FLYTE_HOST} ${INSECURE_FLAG} -p ${PROJECT} -d development -v ${VERSION} --kubernetes-service-account ${SERVICE_ACCOUNT} --output-location-prefix ${OUTPUT_DATA_PREFIX} $(SERIALIZED_PB_OUTPUT_DIR)/* | ||
|
||
.PHONY: fast_serialize | ||
fast_serialize: $(SERIALIZED_PB_OUTPUT_DIR) | ||
pyflyte --config /root/sandbox.config serialize fast workflows -f $(SERIALIZED_PB_OUTPUT_DIR) | ||
|
||
.PHONY: fast_register | ||
fast_register: fast_serialize | ||
flyte-cli fast-register-files -h ${FLYTE_HOST} ${INSECURE_FLAG} -p ${PROJECT} -d development --kubernetes-service-account ${SERVICE_ACCOUNT} --output-location-prefix ${OUTPUT_DATA_PREFIX} --additional-distribution-dir ${ADDL_DISTRIBUTION_DIR} $(SERIALIZED_PB_OUTPUT_DIR)/* |
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