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 reuse able workflow (flyteorg#336)
* Use domains from project list (flyteorg#332) Signed-off-by: Katrina Rogan <katroganGH@gmail.com> Signed-off-by: Yuvraj <code@evalsocket.dev> * Added reuse able workflow Signed-off-by: Yuvraj <code@evalsocket.dev> * Remove checks from flyteadmin Signed-off-by: Yuvraj <code@evalsocket.dev> * Fix conflict Signed-off-by: Yuvraj <code@evalsocket.dev> * Fixed integration test Signed-off-by: Yuvraj <code@evalsocket.dev> * revert debug branch Signed-off-by: Yuvraj <code@evalsocket.dev> * more changes Signed-off-by: Yuvraj <code@evalsocket.dev> Co-authored-by: Katrina Rogan <katrina@nuclyde.io>
- Loading branch information
Showing
6 changed files
with
99 additions
and
399 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,79 @@ | ||
name: Flyteadmin 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 | ||
|
||
endtoend: | ||
name: End2End Test | ||
needs: [docker-build] | ||
uses: flyteorg/flytetools/.github/workflows/end2end.yml@master | ||
|
||
integration: | ||
name: Integration Test | ||
needs: [docker-build] | ||
uses: flyteorg/flytetools/.github/workflows/integration.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: [ endtoend, integration, 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 Flyteadmin Image | ||
needs: [ bump_version ] | ||
uses: flyteorg/flytetools/.github/workflows/publish.yml@master | ||
with: | ||
version: ${{ needs.bump_version.outputs.version }} | ||
dockerfile: Dockerfile | ||
push: true | ||
secrets: | ||
FLYTE_BOT_PAT: ${{ secrets.FLYTE_BOT_PAT }} | ||
FLYTE_BOT_USERNAME: ${{ secrets.FLYTE_BOT_USERNAME }} | ||
|
||
push-docker-image-flytescheduler: | ||
name: Build & Push Flytescheduler Image | ||
needs: [ bump_version ] | ||
uses: flyteorg/flytetools/.github/workflows/publish.yml@master | ||
with: | ||
version: ${{ needs.bump_version.outputs.version }} | ||
push: true | ||
dockerfile: Dockerfile.scheduler | ||
secrets: | ||
FLYTE_BOT_PAT: ${{ secrets.FLYTE_BOT_PAT }} | ||
FLYTE_BOT_USERNAME: ${{ secrets.FLYTE_BOT_USERNAME }} | ||
|
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.