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.
Added reuseable workflows (flyteorg#66)
* Added reuseable workflows Signed-off-by: Yuvraj <[email protected]> * Go generate Signed-off-by: Haytham Abuelfutuh <[email protected]> * generate Signed-off-by: Haytham Abuelfutuh <[email protected]> * generate Signed-off-by: Haytham Abuelfutuh <[email protected]> * rename workflow Signed-off-by: Yuvraj <[email protected]> Co-authored-by: Haytham Abuelfutuh <[email protected]>
- Loading branch information
Showing
17 changed files
with
237 additions
and
343 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,58 @@ | ||
name: Datacatalog Checks | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
branches: | ||
- master | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
lint: | ||
name: Lint | ||
uses: flyteorg/flytetools/.github/workflows/lint.yml@master | ||
|
||
tests: | ||
name: Unit Tests | ||
uses: flyteorg/flytetools/.github/workflows/tests.yml@master | ||
secrets: | ||
FLYTE_BOT_PAT: ${{ secrets.FLYTE_BOT_PAT }} | ||
|
||
docker_build: | ||
name: Docker Build Images | ||
uses: flyteorg/flytetools/.github/workflows/docker_build.yml@master | ||
|
||
generate: | ||
name: Check Go Gennerate | ||
uses: flyteorg/flytetools/.github/workflows/go_generate.yml@master | ||
|
||
bump_version: | ||
name: Bump Version | ||
if: ${{ github.event_name != 'pull_request' }} | ||
needs: [ docker_build, lint, tests, generate ] # Only to ensure it can successfully build | ||
uses: flyteorg/flytetools/.github/workflows/bump_version.yml@master | ||
secrets: | ||
FLYTE_BOT_PAT: ${{ secrets.FLYTE_BOT_PAT }} | ||
|
||
goreleaser: | ||
name: Goreleaser | ||
needs: [ bump_version ] # Only to ensure it can successfully build | ||
uses: flyteorg/flytetools/.github/workflows/goreleaser.yml@master | ||
secrets: | ||
FLYTE_BOT_PAT: ${{ secrets.FLYTE_BOT_PAT }} | ||
|
||
push_docker_image: | ||
name: Build & Push Datacatalog Image | ||
needs: [ bump_version ] | ||
uses: flyteorg/flytetools/.github/workflows/publish.yml@master | ||
with: | ||
version: ${{ needs.bump_version.outputs.version }} | ||
dockerfile: Dockerfile | ||
push: true | ||
repository: ${{ github.repository }} | ||
secrets: | ||
FLYTE_BOT_PAT: ${{ secrets.FLYTE_BOT_PAT }} | ||
FLYTE_BOT_USERNAME: ${{ secrets.FLYTE_BOT_USERNAME }} | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,20 @@ | ||
name: Upgrade Automation | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
component: | ||
description: "Name of Flyte component" | ||
required: true | ||
default: "boilerplate" | ||
type: choice | ||
options: | ||
- boilerplate | ||
- flyteidl | ||
jobs: | ||
trigger-upgrade: | ||
name: ${{ github.event.inputs.component }} Upgrade | ||
uses: flyteorg/flytetools/.github/workflows/flyte_automation.yml@master | ||
with: | ||
component: ${{ github.event.inputs.component }} | ||
secrets: | ||
FLYTE_BOT_PAT: ${{ secrets.FLYTE_BOT_PAT }} |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.