Skip to content

Commit

Permalink
Release automation addedd for flyte definition (#835)
Browse files Browse the repository at this point in the history
* wip: added script for release automation

Signed-off-by: yuvraj <evalsocket@gmail.com>

* wip: added manual github workflow

Signed-off-by: Yuvraj <yuvraj.yad001@gmail.com>

* wip: added release workflow

Signed-off-by: Yuvraj <yuvraj.yad001@gmail.com>

* wip: fix e2e testcase

Signed-off-by: Yuvraj <yuvraj.yad001@gmail.com>

* wip: small fixes

Signed-off-by: Yuvraj <yuvraj.yad001@gmail.com>

* wip: revert version in kustomize

Signed-off-by: Yuvraj <yuvraj.yad001@gmail.com>

* wip: revert kustomize changes

Signed-off-by: Yuvraj <yuvraj.yad001@gmail.com>

* wip: added generated kustomize output

Signed-off-by: yuvraj <evalsocket@gmail.com>

* update latest version of component

Signed-off-by: Yuvraj <yuvraj.yad001@gmail.com>

* wip: added generated kustomize output

Signed-off-by: yuvraj <evalsocket@gmail.com>

* wip: added message input in workflow

Signed-off-by: yuvraj <evalsocket@gmail.com>

* wip: remove release automation from kustomize command

Signed-off-by: yuvraj <evalsocket@gmail.com>

* wip:  generate kustomize output

Signed-off-by: yuvraj <evalsocket@gmail.com>

* wip: revert webhook and build kustomize output

Signed-off-by: yuvraj <evalsocket@gmail.com>

* updated release workflow

Signed-off-by: yuvraj <evalsocket@gmail.com>

* fix typo

Signed-off-by: yuvraj <evalsocket@gmail.com>
Signed-off-by: Haytham Abuelfutuh <haytham@afutuh.com>
yindia authored and EngHabu committed May 28, 2021

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
1 parent 4bd12c3 commit 6b8ed62
Showing 11 changed files with 124 additions and 65 deletions.
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
@@ -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
22 changes: 11 additions & 11 deletions deployment/eks/flyte_generated.yaml
Original file line number Diff line number Diff line change
@@ -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:
@@ -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:
@@ -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:
@@ -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:
@@ -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:
@@ -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:
@@ -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:
@@ -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
@@ -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:
@@ -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:
@@ -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:
22 changes: 11 additions & 11 deletions deployment/gcp/flyte_generated.yaml
Original file line number Diff line number Diff line change
@@ -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:
@@ -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:
@@ -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:
@@ -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:
@@ -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:
@@ -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:
@@ -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:
@@ -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
@@ -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:
@@ -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:
@@ -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:
22 changes: 11 additions & 11 deletions deployment/sandbox/flyte_generated.yaml
Original file line number Diff line number Diff line change
@@ -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:
@@ -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:
@@ -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:
@@ -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:
@@ -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:
@@ -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:
@@ -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:
@@ -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
@@ -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:
@@ -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:
@@ -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:
18 changes: 9 additions & 9 deletions deployment/test/flyte_generated.yaml
Original file line number Diff line number Diff line change
@@ -582,7 +582,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:
@@ -600,7 +600,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:
@@ -657,7 +657,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:
@@ -705,7 +705,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:
@@ -756,7 +756,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:
@@ -772,7 +772,7 @@ spec:
- seed-projects
- flytetester
- flytesnacks
image: ghcr.io/flyteorg/flyteadmin:v0.4.0
image: ghcr.io/flyteorg/flyteadmin:v0.4.2
imagePullPolicy: IfNotPresent
name: seed-projects
volumeMounts:
@@ -786,7 +786,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:
@@ -843,7 +843,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:
@@ -948,7 +948,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:
12 changes: 6 additions & 6 deletions kustomize/overlays/eks/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -21,21 +21,21 @@ bases:
images:
# FlyteAdmin
- name: flyteadmin # match images with this name
newTag: v0.4.0 # override the tag
newTag: v0.4.2 # FLYTEADMIN_TAG override the tag
newName: ghcr.io/flyteorg/flyteadmin # override the name
# FlyteConsole
- name: flyteconsole # match images with this name
newTag: v0.19.6 # override the tag
newTag: v0.19.7 # FLYTECONSOLE_TAG the tag
newName: ghcr.io/flyteorg/flyteconsole # override the namep
# Flyte DataCatalog
- name: datacatalog # match images with this name
newTag: v0.3.0 # override the tag
newTag: v0.3.1 # DATACATALOG_TAG override the tag
newName: ghcr.io/flyteorg/datacatalog # override the name
# FlytePropeller
- name: flytepropeller # match images with this name
newTag: v0.7.8 # override the tag
newTag: v0.7.10 # FLYTEPROPELLER_TAG override the tag
newName: ghcr.io/flyteorg/flytepropeller # override the name
# Webhook
- name: webhook # match images with this name
newTag: v0.7.8 # override the tag
newName: ghcr.io/flyteorg/flytepropeller # override the name
newTag: v0.7.10 # FLYTEPROPELLER_TAG override the tag
newName: ghcr.io/flyteorg/flytepropeller # override the name
12 changes: 6 additions & 6 deletions kustomize/overlays/gcp/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -23,21 +23,21 @@ bases:
images:
# FlyteAdmin
- name: flyteadmin # match images with this name
newTag: v0.4.0 # override the tag
newTag: v0.4.2 # FLYTEADMIN_TAG override the tag
newName: ghcr.io/flyteorg/flyteadmin # override the name
# FlyteConsole
- name: flyteconsole # match images with this name
newTag: v0.19.6 # override the tag
newTag: v0.19.7 # FLYTECONSOLE_TAG the tag
newName: ghcr.io/flyteorg/flyteconsole # override the namep
# Flyte DataCatalog
- name: datacatalog # match images with this name
newTag: v0.3.0 # override the tag
newTag: v0.3.1 # DATACATALOG_TAG override the tag
newName: ghcr.io/flyteorg/datacatalog # override the name
# FlytePropeller
- name: flytepropeller # match images with this name
newTag: v0.7.8 # override the tag
newTag: v0.7.10 # FLYTEPROPELLER_TAG override the tag
newName: ghcr.io/flyteorg/flytepropeller # override the name
# Webhook
- name: webhook # match images with this name
newTag: v0.7.8 # override the tag
newName: ghcr.io/flyteorg/flytepropeller # override the name
newTag: v0.7.10 # FLYTEPROPELLER_TAG override the tag
newName: ghcr.io/flyteorg/flytepropeller # override the name
10 changes: 5 additions & 5 deletions kustomize/overlays/sandbox/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -25,23 +25,23 @@ resources:
images:
# FlyteAdmin
- name: flyteadmin # match images with this name
newTag: v0.4.0 # override the tag
newTag: v0.4.2 # FLYTEADMIN_TAG override the tag
newName: ghcr.io/flyteorg/flyteadmin # override the name
# FlyteConsole
- name: flyteconsole # match images with this name
newTag: v0.19.6 # override the tag
newTag: v0.19.7 # FLYTECONSOLE_TAG the tag
newName: ghcr.io/flyteorg/flyteconsole # override the namep
# Flyte DataCatalog
- name: datacatalog # match images with this name
newTag: v0.3.0 # override the tag
newTag: v0.3.1 # DATACATALOG_TAG override the tag
newName: ghcr.io/flyteorg/datacatalog # override the name
# FlytePropeller
- name: flytepropeller # match images with this name
newTag: v0.7.8 # override the tag
newTag: v0.7.10 # FLYTEPROPELLER_TAG override the tag
newName: ghcr.io/flyteorg/flytepropeller # override the name
# Webhook
- name: webhook # match images with this name
newTag: v0.7.8 # override the tag
newTag: v0.7.10 # FLYTEPROPELLER_TAG override the tag
newName: ghcr.io/flyteorg/flytepropeller # override the name
# Override postgres image to use alpine based (rather smaller) docker image
- name: postgres
10 changes: 5 additions & 5 deletions kustomize/overlays/test/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -19,23 +19,23 @@ bases:
images:
# FlyteAdmin
- name: flyteadmin # match images with this name
newTag: v0.4.0 # override the tag
newTag: v0.4.2 # FLYTEADMIN_TAG override the tag
newName: ghcr.io/flyteorg/flyteadmin # override the name
# FlyteConsole
- name: flyteconsole # match images with this name
newTag: v0.19.6 # override the tag
newTag: v0.19.7 # FLYTECONSOLE_TAG the tag
newName: ghcr.io/flyteorg/flyteconsole # override the namep
# Flyte DataCatalog
- name: datacatalog # match images with this name
newTag: v0.3.0 # override the tag
newTag: v0.3.1 # DATACATALOG_TAG override the tag
newName: ghcr.io/flyteorg/datacatalog # override the name
# FlytePropeller
- name: flytepropeller # match images with this name
newTag: v0.7.8 # override the tag
newTag: v0.7.10 # FLYTEPROPELLER_TAG override the tag
newName: ghcr.io/flyteorg/flytepropeller # override the name
# Webhook
- name: webhook # match images with this name
newTag: v0.7.8 # override the tag
newTag: v0.7.10 # FLYTEPROPELLER_TAG override the tag
newName: ghcr.io/flyteorg/flytepropeller # override the name
# Override postgres image to use alpine based (rather smaller) docker image
- name: postgres
13 changes: 13 additions & 0 deletions script/release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/usr/bin/env bash

set -ex

FLYTEADMIN_TAG=$(curl --silent "https://api.github.com/repos/flyteorg/flyteadmin/releases/latest" | jq -r .tag_name)
DATACATALOG_TAG=$(curl --silent "https://api.github.com/repos/flyteorg/datacatalog/releases/latest" | jq -r .tag_name)
FLYTECONSOLE_TAG=$(curl --silent "https://api.github.com/repos/flyteorg/flyteconsole/releases/latest" | jq -r .tag_name)
FLYTEPROPELLER_TAG=$(curl --silent "https://api.github.com/repos/flyteorg/flytepropeller/releases/latest" | jq -r .tag_name)

grep -rlZ "newTag:[^P]*# FLYTEADMIN_TAG" ./kustomize/overlays | xargs -0 sed -i "s/newTag:[^P]*# FLYTEADMIN_TAG/newTag: ${FLYTEADMIN_TAG} # FLYTEADMIN_TAG/g"
grep -rlZ "newTag:[^P]*# DATACATALOG_TAG" ./kustomize/overlays | xargs -0 sed -i "s/newTag:[^P]*# DATACATALOG_TAG/newTag: ${DATACATALOG_TAG} # DATACATALOG_TAG/g"
grep -rlZ "newTag:[^P]*# FLYTECONSOLE_TAG" ./kustomize/overlays | xargs -0 sed -i "s/newTag:[^P]*# FLYTECONSOLE_TAG/newTag: ${FLYTECONSOLE_TAG} # FLYTECONSOLE_TAG/g"
grep -rlZ "newTag:[^P]*# FLYTEPROPELLER_TAG" ./kustomize/overlays | xargs -0 sed -i "s/newTag:[^P]*# FLYTEPROPELLER_TAG/newTag: ${FLYTEPROPELLER_TAG} # FLYTEPROPELLER_TAG/g"

0 comments on commit 6b8ed62

Please sign in to comment.