Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release automation addedd for flyte definition #835

Merged
merged 18 commits into from
Apr 1, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions .github/workflows/release-kustomize.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Publish flyte defination file

on:
workflow_dispatch:

jobs:
update-flyte-releases:
name: Update Flyte components
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: "0"
- name: Build kustomize
run: |
make release_automation
make kustomize
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v3
with:
token: ${{ secrets.FLYTE_BOT_PAT }}
commit-message: Update Flyte Components
committer: Flyte-Bot <admin@flyte.org>
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
signoff: true
branch: flyte-bot-update-releases
delete-branch: true
title: 'Update Flyte components'
body: |
Updated flyte deployment
- Updated GCP Flyte deployment
- Updated EKS Flyte deployment
- Updated Sandbox Flyte deployment
- Updated TEST Flyte deployment
- Auto-generated by [flyte-bot]
labels: |
kustomize
team-reviewers: |
owners
maintainers
draft: false
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,13 @@ pip-compile $(1) --upgrade --verbose
endef

.PHONY: kustomize
kustomize:
kustomize:
KUSTOMIZE_VERSION=3.9.2 bash script/generate_kustomize.sh

.PHONY: release_automation
release_automation:
bash script/release.sh

.PHONY: deploy_sandbox
deploy_sandbox:
bash script/deploy.sh
Expand Down
22 changes: 11 additions & 11 deletions deployment/eks/flyte_generated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8587,7 +8587,7 @@ spec:
- --config
- /etc/datacatalog/config/*.yaml
- serve
image: ghcr.io/flyteorg/datacatalog:v0.3.0
image: ghcr.io/flyteorg/datacatalog:v0.3.1
imagePullPolicy: IfNotPresent
name: datacatalog
ports:
Expand All @@ -8610,7 +8610,7 @@ spec:
- /etc/datacatalog/config/*.yaml
- migrate
- run
image: ghcr.io/flyteorg/datacatalog:v0.3.0
image: ghcr.io/flyteorg/datacatalog:v0.3.1
imagePullPolicy: IfNotPresent
name: run-migrations
volumeMounts:
Expand Down Expand Up @@ -8667,7 +8667,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
image: ghcr.io/flyteorg/flytepropeller:v0.7.8
image: ghcr.io/flyteorg/flytepropeller:v0.7.10
imagePullPolicy: IfNotPresent
name: webhook
volumeMounts:
Expand Down Expand Up @@ -8715,7 +8715,7 @@ spec:
- --config
- /etc/flyte/config/*.yaml
- serve
image: ghcr.io/flyteorg/flyteadmin:v0.4.0
image: ghcr.io/flyteorg/flyteadmin:v0.4.2
imagePullPolicy: IfNotPresent
name: flyteadmin
ports:
Expand Down Expand Up @@ -8760,7 +8760,7 @@ spec:
- /etc/flyte/config/*.yaml
- migrate
- run
image: ghcr.io/flyteorg/flyteadmin:v0.4.0
image: ghcr.io/flyteorg/flyteadmin:v0.4.2
imagePullPolicy: IfNotPresent
name: run-migrations
volumeMounts:
Expand All @@ -8777,7 +8777,7 @@ spec:
- flytesnacks
- flytetester
- flyteexamples
image: ghcr.io/flyteorg/flyteadmin:v0.4.0
image: ghcr.io/flyteorg/flyteadmin:v0.4.2
imagePullPolicy: IfNotPresent
name: seed-projects
volumeMounts:
Expand All @@ -8791,7 +8791,7 @@ spec:
- /etc/flyte/config/*.yaml
- clusterresource
- sync
image: ghcr.io/flyteorg/flyteadmin:v0.4.0
image: ghcr.io/flyteorg/flyteadmin:v0.4.2
imagePullPolicy: IfNotPresent
name: sync-cluster-resources
volumeMounts:
Expand Down Expand Up @@ -8838,7 +8838,7 @@ spec:
- envFrom:
- configMapRef:
name: flyte-console-config
image: ghcr.io/flyteorg/flyteconsole:v0.19.6
image: ghcr.io/flyteorg/flyteconsole:v0.19.7
name: flyteconsole
ports:
- containerPort: 8080
Expand Down Expand Up @@ -8882,7 +8882,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.name
image: ghcr.io/flyteorg/flytepropeller:v0.7.8
image: ghcr.io/flyteorg/flytepropeller:v0.7.10
imagePullPolicy: IfNotPresent
name: flytepropeller
ports:
Expand Down Expand Up @@ -9069,7 +9069,7 @@ spec:
- /etc/flyte/config/*.yaml
- clusterresource
- sync
image: ghcr.io/flyteorg/flyteadmin:v0.4.0
image: ghcr.io/flyteorg/flyteadmin:v0.4.2
imagePullPolicy: IfNotPresent
name: sync-cluster-resources
volumeMounts:
Expand Down Expand Up @@ -9119,7 +9119,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
image: ghcr.io/flyteorg/flytepropeller:v0.7.8
image: ghcr.io/flyteorg/flytepropeller:v0.7.10
imagePullPolicy: IfNotPresent
name: webhook
volumeMounts:
Expand Down
22 changes: 11 additions & 11 deletions deployment/gcp/flyte_generated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8619,7 +8619,7 @@ spec:
- --config
- /etc/datacatalog/config/*.yaml
- serve
image: ghcr.io/flyteorg/datacatalog:v0.3.0
image: ghcr.io/flyteorg/datacatalog:v0.3.1
imagePullPolicy: IfNotPresent
name: datacatalog
ports:
Expand All @@ -8642,7 +8642,7 @@ spec:
- /etc/datacatalog/config/*.yaml
- migrate
- run
image: ghcr.io/flyteorg/datacatalog:v0.3.0
image: ghcr.io/flyteorg/datacatalog:v0.3.1
imagePullPolicy: IfNotPresent
name: run-migrations
volumeMounts:
Expand Down Expand Up @@ -8699,7 +8699,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
image: ghcr.io/flyteorg/flytepropeller:v0.7.8
image: ghcr.io/flyteorg/flytepropeller:v0.7.10
imagePullPolicy: IfNotPresent
name: webhook
volumeMounts:
Expand Down Expand Up @@ -8747,7 +8747,7 @@ spec:
- --config
- /etc/flyte/config/*.yaml
- serve
image: ghcr.io/flyteorg/flyteadmin:v0.4.0
image: ghcr.io/flyteorg/flyteadmin:v0.4.2
imagePullPolicy: IfNotPresent
name: flyteadmin
ports:
Expand Down Expand Up @@ -8792,7 +8792,7 @@ spec:
- /etc/flyte/config/*.yaml
- migrate
- run
image: ghcr.io/flyteorg/flyteadmin:v0.4.0
image: ghcr.io/flyteorg/flyteadmin:v0.4.2
imagePullPolicy: IfNotPresent
name: run-migrations
volumeMounts:
Expand All @@ -8809,7 +8809,7 @@ spec:
- flytesnacks
- flytetester
- flyteexamples
image: ghcr.io/flyteorg/flyteadmin:v0.4.0
image: ghcr.io/flyteorg/flyteadmin:v0.4.2
imagePullPolicy: IfNotPresent
name: seed-projects
volumeMounts:
Expand All @@ -8823,7 +8823,7 @@ spec:
- /etc/flyte/config/*.yaml
- clusterresource
- sync
image: ghcr.io/flyteorg/flyteadmin:v0.4.0
image: ghcr.io/flyteorg/flyteadmin:v0.4.2
imagePullPolicy: IfNotPresent
name: sync-cluster-resources
volumeMounts:
Expand Down Expand Up @@ -8870,7 +8870,7 @@ spec:
- envFrom:
- configMapRef:
name: flyte-console-config
image: ghcr.io/flyteorg/flyteconsole:v0.19.6
image: ghcr.io/flyteorg/flyteconsole:v0.19.7
name: flyteconsole
ports:
- containerPort: 8080
Expand Down Expand Up @@ -8914,7 +8914,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.name
image: ghcr.io/flyteorg/flytepropeller:v0.7.8
image: ghcr.io/flyteorg/flytepropeller:v0.7.10
imagePullPolicy: IfNotPresent
name: flytepropeller
ports:
Expand Down Expand Up @@ -9101,7 +9101,7 @@ spec:
- /etc/flyte/config/*.yaml
- clusterresource
- sync
image: ghcr.io/flyteorg/flyteadmin:v0.4.0
image: ghcr.io/flyteorg/flyteadmin:v0.4.2
imagePullPolicy: IfNotPresent
name: sync-cluster-resources
volumeMounts:
Expand Down Expand Up @@ -9151,7 +9151,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
image: ghcr.io/flyteorg/flytepropeller:v0.7.8
image: ghcr.io/flyteorg/flytepropeller:v0.7.10
imagePullPolicy: IfNotPresent
name: webhook
volumeMounts:
Expand Down
22 changes: 11 additions & 11 deletions deployment/sandbox/flyte_generated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2722,7 +2722,7 @@ spec:
- --config
- /etc/datacatalog/config/*.yaml
- serve
image: ghcr.io/flyteorg/datacatalog:v0.3.0
image: ghcr.io/flyteorg/datacatalog:v0.3.1
imagePullPolicy: IfNotPresent
name: datacatalog
ports:
Expand All @@ -2740,7 +2740,7 @@ spec:
- /etc/datacatalog/config/*.yaml
- migrate
- run
image: ghcr.io/flyteorg/datacatalog:v0.3.0
image: ghcr.io/flyteorg/datacatalog:v0.3.1
imagePullPolicy: IfNotPresent
name: run-migrations
volumeMounts:
Expand Down Expand Up @@ -2797,7 +2797,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
image: ghcr.io/flyteorg/flytepropeller:v0.7.8
image: ghcr.io/flyteorg/flytepropeller:v0.7.10
imagePullPolicy: IfNotPresent
name: webhook
volumeMounts:
Expand Down Expand Up @@ -2851,7 +2851,7 @@ spec:
- --config
- /etc/flyte/config/*.yaml
- serve
image: ghcr.io/flyteorg/flyteadmin:v0.4.0
image: ghcr.io/flyteorg/flyteadmin:v0.4.2
imagePullPolicy: IfNotPresent
name: flyteadmin
ports:
Expand Down Expand Up @@ -2902,7 +2902,7 @@ spec:
- /etc/flyte/config/*.yaml
- migrate
- run
image: ghcr.io/flyteorg/flyteadmin:v0.4.0
image: ghcr.io/flyteorg/flyteadmin:v0.4.2
imagePullPolicy: IfNotPresent
name: run-migrations
volumeMounts:
Expand All @@ -2918,7 +2918,7 @@ spec:
- seed-projects
- flytesnacks
- flyteexamples
image: ghcr.io/flyteorg/flyteadmin:v0.4.0
image: ghcr.io/flyteorg/flyteadmin:v0.4.2
imagePullPolicy: IfNotPresent
name: seed-projects
volumeMounts:
Expand All @@ -2932,7 +2932,7 @@ spec:
- /etc/flyte/config/*.yaml
- clusterresource
- sync
image: ghcr.io/flyteorg/flyteadmin:v0.4.0
image: ghcr.io/flyteorg/flyteadmin:v0.4.2
imagePullPolicy: IfNotPresent
name: sync-cluster-resources
volumeMounts:
Expand Down Expand Up @@ -2979,7 +2979,7 @@ spec:
- envFrom:
- configMapRef:
name: flyte-console-config
image: ghcr.io/flyteorg/flyteconsole:v0.19.6
image: ghcr.io/flyteorg/flyteconsole:v0.19.7
name: flyteconsole
ports:
- containerPort: 8080
Expand Down Expand Up @@ -3023,7 +3023,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.name
image: ghcr.io/flyteorg/flytepropeller:v0.7.8
image: ghcr.io/flyteorg/flytepropeller:v0.7.10
imagePullPolicy: IfNotPresent
name: flytepropeller
ports:
Expand Down Expand Up @@ -3328,7 +3328,7 @@ spec:
- /etc/flyte/config/*.yaml
- clusterresource
- sync
image: ghcr.io/flyteorg/flyteadmin:v0.4.0
image: ghcr.io/flyteorg/flyteadmin:v0.4.2
imagePullPolicy: IfNotPresent
name: sync-cluster-resources
volumeMounts:
Expand Down Expand Up @@ -3512,7 +3512,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
image: ghcr.io/flyteorg/flytepropeller:v0.7.8
image: ghcr.io/flyteorg/flytepropeller:v0.7.10
imagePullPolicy: IfNotPresent
name: webhook
volumeMounts:
Expand Down
Loading