-
Notifications
You must be signed in to change notification settings - Fork 669
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix lint errors caught by
chart-testing
(#5072)
- Loading branch information
1 parent
2db8eed
commit 049d99b
Showing
16 changed files
with
83 additions
and
70 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 |
---|---|---|
|
@@ -28,6 +28,9 @@ jobs: | |
python-version: "3.10" | ||
check-latest: true | ||
|
||
- uses: unionai/[email protected] | ||
name: Setup flytectl | ||
|
||
- name: Set up chart-testing | ||
uses: helm/chart-testing-action@v2 | ||
|
||
|
@@ -41,15 +44,16 @@ jobs: | |
- name: Run chart-testing (lint) | ||
if: steps.charts-changed.outputs.changed == 'true' | ||
run: ct lint --target-branch ${{ github.event.repository.default_branch }} | ||
|
||
- name: Create KinD cluster | ||
if: steps.charts-changed.outputs.changed == 'true' | ||
uses: helm/kind-action@v1 | ||
|
||
- name: Run chart-testing (install) | ||
if: steps.charts-changed.outputs.changed == 'true' | ||
run: ct install --target-branch ${{ github.event.repository.default_branch }} | ||
run: | | ||
ct lint \ | ||
--target-branch ${{ github.event.repository.default_branch }} \ | ||
--validate-maintainers=false \ | ||
--check-version-increment=false \ | ||
--chart-repos spark-operator=https://kubeflow.github.io/spark-operator \ | ||
--chart-repos dask=https://helm.dask.org \ | ||
--chart-repos bitnami=https://charts.bitnami.com/bitnami \ | ||
--chart-repos twuni=https://helm.twun.io \ | ||
--chart-repos kubernetes-dashboard=https://kubernetes.github.io/dashboard | ||
validate-manifests: | ||
needs: | ||
|
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"repository": { | ||
"default_branch": "master" | ||
} | ||
} |
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
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 |
---|---|---|
|
@@ -15,8 +15,8 @@ flyteadmin: | |
replicaCount: 1 | ||
image: | ||
# -- Docker image for Flyteadmin deployment | ||
repository: cr.flyte.org/flyteorg/flyteadmin # FLYTEADMIN_IMAGE | ||
tag: v1.11.0 # FLYTEADMIN_TAG | ||
repository: cr.flyte.org/flyteorg/flyteadmin # FLYTEADMIN_IMAGE | ||
tag: v1.11.0 # FLYTEADMIN_TAG | ||
pullPolicy: IfNotPresent | ||
# -- Additional flyteadmin container environment variables | ||
# | ||
|
@@ -140,9 +140,9 @@ flytescheduler: | |
runPrecheck: true | ||
image: | ||
# -- Docker image for Flytescheduler deployment | ||
repository: cr.flyte.org/flyteorg/flytescheduler # FLYTESCHEDULER_IMAGE | ||
repository: cr.flyte.org/flyteorg/flytescheduler # FLYTESCHEDULER_IMAGE | ||
# -- Docker image tag | ||
tag: v1.11.0 # FLYTESCHEDULER_TAG | ||
tag: v1.11.0 # FLYTESCHEDULER_TAG | ||
# -- Docker image pull policy | ||
pullPolicy: IfNotPresent | ||
# -- Default resources requests and limits for Flytescheduler deployment | ||
|
@@ -206,9 +206,9 @@ datacatalog: | |
replicaCount: 1 | ||
image: | ||
# -- Docker image for Datacatalog deployment | ||
repository: cr.flyte.org/flyteorg/datacatalog # DATACATALOG_IMAGE | ||
repository: cr.flyte.org/flyteorg/datacatalog # DATACATALOG_IMAGE | ||
# -- Docker image tag | ||
tag: v1.11.0 # DATACATALOG_TAG | ||
tag: v1.11.0 # DATACATALOG_TAG | ||
# -- Docker image pull policy | ||
pullPolicy: IfNotPresent | ||
# -- Default resources requests and limits for Datacatalog deployment | ||
|
@@ -295,8 +295,8 @@ flytepropeller: | |
replicaCount: 1 | ||
image: | ||
# -- Docker image for Flytepropeller deployment | ||
repository: cr.flyte.org/flyteorg/flytepropeller # FLYTEPROPELLER_IMAGE | ||
tag: v1.11.0 # FLYTEPROPELLER_TAG | ||
repository: cr.flyte.org/flyteorg/flytepropeller # FLYTEPROPELLER_IMAGE | ||
tag: v1.11.0 # FLYTEPROPELLER_TAG | ||
pullPolicy: IfNotPresent | ||
# -- Default resources requests and limits for Flytepropeller deployment | ||
resources: | ||
|
@@ -378,8 +378,8 @@ flyteconsole: | |
replicaCount: 1 | ||
image: | ||
# -- Docker image for Flyteconsole deployment | ||
repository: cr.flyte.org/flyteorg/flyteconsole # FLYTECONSOLE_IMAGE | ||
tag: v1.10.3 # FLYTECONSOLE_TAG | ||
repository: cr.flyte.org/flyteorg/flyteconsole # FLYTECONSOLE_IMAGE | ||
tag: v1.10.3 # FLYTECONSOLE_TAG | ||
pullPolicy: IfNotPresent | ||
# -- Default resources requests and limits for Flyteconsole deployment | ||
resources: | ||
|
@@ -731,7 +731,7 @@ configmap: | |
# -- Structure documented [here](https://pkg.go.dev/github.com/lyft/[email protected]/go/tasks/pluginmachinery/flytek8s/config#FlyteCoPilotConfig) | ||
co-pilot: | ||
name: flyte-copilot- | ||
image: cr.flyte.org/flyteorg/flytecopilot:v1.11.0 # FLYTECOPILOT_IMAGE | ||
image: cr.flyte.org/flyteorg/flytecopilot:v1.11.0 # FLYTECOPILOT_IMAGE | ||
start-timeout: 30s | ||
|
||
# -- Core propeller configuration | ||
|
@@ -869,7 +869,7 @@ external_events: | |
# writing to fifo sns topics. | ||
topicName: "arn:aws:sns:us-east-2:123456:123-my-topic" | ||
eventTypes: | ||
- all # Or workflow, node, task. Or "*" | ||
- all # Or workflow, node, task. Or "*" | ||
|
||
# Cloud events are used to send events (unprocessed, as Admin see them) in cloud event format to | ||
# an SNS topic (or gcp equivalent) | ||
|
@@ -883,7 +883,7 @@ cloud_events: | |
# writing to fifo sns topics. | ||
topicName: "arn:aws:sns:us-east-2:123456:123-my-topic" | ||
eventTypes: | ||
- all # Or workflow, node, task. Or "*" | ||
- all # Or workflow, node, task. Or "*" | ||
|
||
# -- Configuration for the Cluster resource manager component. This is an optional component, that enables automatic | ||
# cluster configuration. This is useful to set default quotas, manage namespaces etc that map to a project/domain | ||
|
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,4 +1,3 @@ | ||
--- # --------------------------------------------------------------------- | ||
# --------------------------------------------------------------------- | ||
# Core System settings | ||
# This section consists of Core components of Flyte and their deployment | ||
|
@@ -14,9 +13,9 @@ flyte: | |
replicaCount: 1 | ||
image: | ||
# -- Docker image for Flyteadmin deployment | ||
repository: cr.flyte.org/flyteorg/flyteadmin # FLYTEADMIN_IMAGE | ||
repository: cr.flyte.org/flyteorg/flyteadmin # FLYTEADMIN_IMAGE | ||
# -- Docker image tag | ||
tag: v1.11.0 # FLYTEADMIN_TAG | ||
tag: v1.11.0 # FLYTEADMIN_TAG | ||
# -- Docker image pull policy | ||
pullPolicy: IfNotPresent | ||
# -- Additional flyteadmin container environment variables | ||
|
@@ -82,9 +81,9 @@ flyte: | |
flytescheduler: | ||
image: | ||
# -- Docker image for Flytescheduler deployment | ||
repository: cr.flyte.org/flyteorg/flytescheduler # FLYTESCHEDULER_IMAGE | ||
repository: cr.flyte.org/flyteorg/flytescheduler # FLYTESCHEDULER_IMAGE | ||
# -- Docker image tag | ||
tag: v1.11.0 # FLYTESCHEDULER_TAG | ||
tag: v1.11.0 # FLYTESCHEDULER_TAG | ||
# -- Docker image pull policy | ||
pullPolicy: IfNotPresent | ||
# -- Default resources requests and limits for Flytescheduler deployment | ||
|
@@ -127,9 +126,9 @@ flyte: | |
replicaCount: 1 | ||
image: | ||
# -- Docker image for Datacatalog deployment | ||
repository: cr.flyte.org/flyteorg/datacatalog # DATACATALOG_IMAGE | ||
repository: cr.flyte.org/flyteorg/datacatalog # DATACATALOG_IMAGE | ||
# -- Docker image tag | ||
tag: v1.11.0 # DATACATALOG_TAG | ||
tag: v1.11.0 # DATACATALOG_TAG | ||
# -- Docker image pull policy | ||
pullPolicy: IfNotPresent | ||
# -- Default resources requests and limits for Datacatalog deployment | ||
|
@@ -176,9 +175,9 @@ flyte: | |
manager: false | ||
image: | ||
# -- Docker image for Flytepropeller deployment | ||
repository: cr.flyte.org/flyteorg/flytepropeller # FLYTEPROPELLER_IMAGE | ||
repository: cr.flyte.org/flyteorg/flytepropeller # FLYTEPROPELLER_IMAGE | ||
# -- Docker image tag | ||
tag: v1.11.0 # FLYTEPROPELLER_TAG | ||
tag: v1.11.0 # FLYTEPROPELLER_TAG | ||
# -- Docker image pull policy | ||
pullPolicy: IfNotPresent | ||
# -- Default resources requests and limits for Flytepropeller deployment | ||
|
@@ -221,9 +220,9 @@ flyte: | |
replicaCount: 1 | ||
image: | ||
# -- Docker image for Flyteconsole deployment | ||
repository: cr.flyte.org/flyteorg/flyteconsole # FLYTECONSOLE_IMAGE | ||
repository: cr.flyte.org/flyteorg/flyteconsole # FLYTECONSOLE_IMAGE | ||
# -- Docker image tag | ||
tag: v1.10.3 # FLYTECONSOLE_TAG | ||
tag: v1.10.3 # FLYTECONSOLE_TAG | ||
# -- Docker image pull policy | ||
pullPolicy: IfNotPresent | ||
# -- Default resources requests and limits for Flyteconsole deployment | ||
|
@@ -471,7 +470,7 @@ flyte: | |
# -- Structure documented [here](https://pkg.go.dev/github.com/lyft/[email protected]/go/tasks/pluginmachinery/flytek8s/config#FlyteCoPilotConfig) | ||
co-pilot: | ||
name: flyte-copilot- | ||
image: cr.flyte.org/flyteorg/flytecopilot:v1.11.0 # FLYTECOPILOT_IMAGE | ||
image: cr.flyte.org/flyteorg/flytecopilot:v1.11.0 # FLYTECOPILOT_IMAGE | ||
start-timeout: 30s | ||
|
||
# -- Core propeller configuration | ||
|
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
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