-
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.
Merge branch 'flyteorg:master' into master
- Loading branch information
Showing
625 changed files
with
55,437 additions
and
80,833 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 |
---|---|---|
@@ -1 +1,5 @@ | ||
docs/**/*html linguist-generated=true | ||
flyteidl/gen/** linguist-generated=true | ||
flyteidl/protos/**/*.rst linguist-generated=true | ||
flyteidl/clients/go/assets/admin.swagger.json linguist-generated=true | ||
|
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 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
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 |
---|---|---|
|
@@ -156,7 +156,7 @@ jobs: | |
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.11" | ||
python-version: "3.12" | ||
- uses: unionai/[email protected] | ||
- name: Setup sandbox | ||
run: | | ||
|
@@ -181,17 +181,17 @@ jobs: | |
with: | ||
repository: flyteorg/flytesnacks | ||
path: flytesnacks | ||
# TODO: Enable this once refactored version produces a release tag | ||
# ref: ${{ env.FLYTESNACKS_VERSION }} | ||
ref: ${{ env.FLYTESNACKS_VERSION }} | ||
- name: Register specific tests | ||
run: | | ||
flytekit_version=$(pip show flytekit | grep -i version | awk '{ print $2 }') | ||
while read -r line; | ||
do | ||
pyflyte --config ./boilerplate/flyte/end2end/functional-test-config.yaml \ | ||
register \ | ||
--project flytesnacks \ | ||
--domain development \ | ||
--image cr.flyte.org/flyteorg/flytekit:py3.11-latest \ | ||
--image cr.flyte.org/flyteorg/flytekit:py3.12-${flytekit_version} \ | ||
--version ${{ env.FLYTESNACKS_VERSION }} \ | ||
flytesnacks/$line; | ||
done < flytesnacks/flyte_tests.txt | ||
|
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,89 @@ | ||
name: Validate helm charts & manifests | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
paths: | ||
- "charts/**" | ||
- "deployment/**" | ||
- "docker/sandbox-bundled/manifests/**" | ||
|
||
jobs: | ||
lint-and-test-charts: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
sparse-checkout: charts | ||
|
||
- name: Install Helm | ||
uses: azure/setup-helm@v4 | ||
|
||
- name: Setup Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
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 | ||
|
||
- name: Detect charts changed (list-changed) | ||
id: charts-changed | ||
run: | | ||
changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }}) | ||
if [[ -n "$changed" ]]; then | ||
echo "changed=true" >> "$GITHUB_OUTPUT" | ||
fi | ||
- name: Run chart-testing (lint) | ||
if: steps.charts-changed.outputs.changed == 'true' | ||
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: | ||
- lint-and-test-charts | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
shell: bash | ||
strategy: | ||
matrix: | ||
k8s_versions: [ "1.29.2", "1.28.7", "1.27.11" ] | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
with: | ||
sparse-checkout: | | ||
deployment | ||
docker/sandbox-bundled/manifests | ||
- name: Install Helm | ||
uses: azure/setup-helm@v4 | ||
|
||
- name: Install kubeconform | ||
run: | | ||
curl -L -o kubeconform.tar.gz https://github.com/yannh/kubeconform/releases/download/v0.6.4/kubeconform-linux-amd64.tar.gz | ||
tar -zvxf kubeconform.tar.gz | ||
chmod +x kubeconform | ||
sudo mv kubeconform /usr/local/bin/kubeconform | ||
- name: Validate manifests | ||
run: | | ||
kubeconform -strict -summary -skip CustomResourceDefinition -ignore-filename-pattern "deployment/stats/prometheus/*" -kubernetes-version ${{ matrix.k8s_versions }} ./deployment ./docker/sandbox-bundled/manifests |
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
Oops, something went wrong.