Skip to content
Closed
Show file tree
Hide file tree
Changes from 8 commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
2a9b512
[Adjsut][v2] PR from fork repo without using a build CI image to chec…
SZL741023 Mar 1, 2026
c4a6e4e
[Refac][v2] PR from fork repo without using CI image
SZL741023 Mar 8, 2026
239c98c
Update Cargo.lock
SZL741023 Mar 8, 2026
605c879
fix: correct the conditional statement should compare boolean not str…
SZL741023 Mar 9, 2026
c93659a
fix: correct the conditional statement should compare boolean not str…
SZL741023 Mar 9, 2026
2c08f60
chore: update generated files
SZL741023 Mar 9, 2026
69323c8
Merge branch 'v2' into v2_git_workflow_dev
SZL741023 Mar 9, 2026
ce9a273
fix: update generated files
SZL741023 Mar 9, 2026
463cce7
fix: correct TaskAction CR/pod names and namespaces, improve run ID g…
AdilFayyaz Mar 9, 2026
000d9ac
fix: set explicit 5-minute timeout on TaskAction watch (#6996)
pingsutw Mar 9, 2026
5a3e0e6
[V2]Sandbox for flyte v2 (#6955)
popojk Mar 10, 2026
af8de97
[V2][Feat] Add events service (#6970)
machichima Mar 10, 2026
cc948ba
Add IdentityService (UserInfo) stub to runs service (#6997)
pingsutw Mar 10, 2026
24da84f
[V2] Add GitHub Actions workflow for Go unit tests (#6999)
pingsutw Mar 11, 2026
285e6c1
[V2] Add project service (#7000)
machichima Mar 11, 2026
df8959c
[V2] Add TaskAction garbage collector for terminal CRDs (#6994)
pingsutw Mar 11, 2026
5d6477c
Add include_system_secrets to secrets apis (#7007)
katrogan Mar 11, 2026
0444f0e
Add TaskAction validation before finalizer registration (#7006)
AdilFayyaz Mar 11, 2026
4f001cb
Notifications IDL (#6946)
iaroslav-ciupin Mar 11, 2026
b67daf7
Fix Docker build for CGO-dependent sqlite3 package (#7014)
pingsutw Mar 12, 2026
967627c
notification event type IDL (#7021)
iaroslav-ciupin Mar 12, 2026
d63609a
Add DisableConfigEndpoint option to profutils Config to allow disabli…
EngHabu Mar 12, 2026
2716120
[Sandbox][RunService]Switch database from sqlite to postgresql (#7018)
popojk Mar 13, 2026
8d586bd
[V2] Run Service - Watch action cache (#7017)
machichima Mar 13, 2026
de03a84
Add new role ROLE_TYPE_SYSTEM_PROVISIONED_ACCESS for default system b…
katrogan Mar 13, 2026
9ffc84f
minio patch (#7027)
AdilFayyaz Mar 13, 2026
1f91f85
Add log links support to task template (#7030)
pingsutw Mar 13, 2026
1ef5450
feat(runs): wire AbortRun and AbortAction through to ActionsService …
AdilFayyaz Mar 14, 2026
a2df398
Fix problems including missing charts and the kubeconfig permission (…
0yukali0 Mar 16, 2026
81689f8
fix: fixed the variable type of checking docker image is modified or not
SZL741023 Mar 16, 2026
f11aad3
Adjust notifications IDL to support notifications per phases (#7025)
iaroslav-ciupin Mar 16, 2026
7902aec
Add node_name to the container selector (#7036)
eyakubovich Mar 16, 2026
e001908
Migrate #6785 in v1 to v2 (#6918)
BarryWu0812 Mar 17, 2026
ebca046
feat: add check generate local for the PR from fork repo
SZL741023 Mar 18, 2026
ad2a1c4
[Adjsut][v2] PR from fork repo without using a build CI image to chec…
SZL741023 Mar 1, 2026
deba918
[Refac][v2] PR from fork repo without using CI image
SZL741023 Mar 8, 2026
8a386d8
Update Cargo.lock
SZL741023 Mar 8, 2026
c79bcb0
fix: correct the conditional statement should compare boolean not str…
SZL741023 Mar 9, 2026
d630d59
fix: correct the conditional statement should compare boolean not str…
SZL741023 Mar 9, 2026
98af0cd
chore: update generated files
SZL741023 Mar 9, 2026
012bbae
fix: fixed the variable type of checking docker image is modified or not
SZL741023 Mar 16, 2026
0ec8443
feat: add check generate local for the PR from fork repo
SZL741023 Mar 18, 2026
a16d85a
Merge branch 'v2_git_workflow_dev' of github.com:SZL741023/flyte into…
SZL741023 Mar 18, 2026
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
13 changes: 7 additions & 6 deletions .github/workflows/build-ci-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,26 @@ on:
- main
- v2
paths:
- 'gen.Dockerfile'
- '.github/workflows/build-ci-image.yml'
- "gen.Dockerfile"
- ".github/workflows/build-ci-image.yml"
pull_request:
paths:
- 'gen.Dockerfile'
- '.github/workflows/build-ci-image.yml'
- "gen.Dockerfile"
- ".github/workflows/build-ci-image.yml"
workflow_dispatch:
inputs:
force_rebuild:
description: 'Force rebuild of the image'
description: "Force rebuild of the image"
required: false
default: 'false'
default: "false"

env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}/ci

jobs:
build:
if: github.event.pull_request.head.repo.fork != true # when the pull requests are from fork repository, skip the steps for build new ci image
runs-on: ubuntu-latest
permissions:
contents: read
Expand Down
82 changes: 78 additions & 4 deletions .github/workflows/check-generate.yml
Comment thread
SZL741023 marked this conversation as resolved.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ on:
types: [opened, synchronize, reopened]

jobs:
check-generate:
# Check generation in CI image, when the PR is not from fork repo
check-generate-container:
if: github.event.pull_request.head.repo.fork != true
runs-on: ubuntu-latest
permissions:
contents: read
Expand Down Expand Up @@ -33,7 +35,7 @@ jobs:
fi

- name: Wait for Docker image build workflow
if: steps.docker-image.outputs.modified == 'true'
if: steps.docker-image.outputs.modified == true
Comment thread
SZL741023 marked this conversation as resolved.
Outdated
uses: actions/github-script@v7
with:
script: |
Expand Down Expand Up @@ -82,11 +84,11 @@ jobs:
core.setFailed('❌ Timeout waiting for Docker image build to complete');

- name: Login to GHCR
if: steps.docker-image.outputs.modified == 'true'
if: steps.docker-image.outputs.modified == true
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin

- name: Pull Docker image
if: steps.docker-image.outputs.modified == 'true'
if: steps.docker-image.outputs.modified == true
run: |
IMAGE="${{ steps.docker-image.outputs.image }}"
echo "📦 Pulling image: $IMAGE"
Expand All @@ -111,4 +113,76 @@ jobs:
make build-crate
"

# Check generation locally when the PR is from fork repo
check-generate-local:
if: github.event.pull_request.head.repo.fork == true
runs-on: ubuntu-latest
permissions:
contents: read
actions: read
packages: read
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0

# for fork PR - get the version of tools from gen.Dockerfile
- name: Extract tool versions from gen.Dockerfile
id: versions
run: |
extract() { grep "^ARG ${1}=" gen.Dockerfile | cut -d'=' -f2; }
echo "go=$(extract GO_VERSION)" >> $GITHUB_OUTPUT
echo "python=$(extract PYTHON_VERSION)" >> $GITHUB_OUTPUT
echo "node=$(extract NODE_VERSION)" >> $GITHUB_OUTPUT
echo "rust=$(extract RUST_VERSION)" >> $GITHUB_OUTPUT
echo "uv=$(extract UV_VERSION)" >> $GITHUB_OUTPUT
echo "buf=$(extract BUF_VERSION)" >> $GITHUB_OUTPUT
echo "mockery=$(extract MOCKERY_VERSION)" >> $GITHUB_OUTPUT

# for fork PR - install tools in runner
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ${{ steps.versions.outputs.go }}

- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: ${{ steps.versions.outputs.python }}

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ steps.versions.outputs.node }}

- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ steps.versions.outputs.rust }}

- name: Setup uv
uses: astral-sh/setup-uv@v4
with:
version: ${{ steps.versions.outputs.uv }}

- name: Install Buf and Mockery
run: |
BUF_VERSION="${{ steps.versions.outputs.buf }}"
curl -fsSL "https://github.com/bufbuild/buf/releases/download/v${BUF_VERSION}/buf-Linux-x86_64.tar.gz" | tar -xzC /tmp
sudo mv /tmp/buf/bin/buf /usr/local/bin/buf
sudo mv /tmp/buf/bin/protoc-gen-buf-breaking /usr/local/bin/
sudo mv /tmp/buf/bin/protoc-gen-buf-lint /usr/local/bin/
npm install -g pnpm
go install "github.com/vektra/mockery/v2@v${{ steps.versions.outputs.mockery }}"

# for fork PR - Check make gen locally
Comment thread
SZL741023 marked this conversation as resolved.
Outdated
- name: Run check locally (fork PR)
env:
SETUPTOOLS_SCM_PRETEND_VERSION: "0.0.0"
UV_PROJECT_ENVIRONMENT: /tmp/flyte-venv
run: |
cd gen/python && uv sync --all-groups --frozen && cd ../..
make gen-local
git diff --exit-code || (echo 'Generated files are out of date. Run \`make gen\` and commit changes.' && exit 1)
make build-crate
12 changes: 6 additions & 6 deletions gen/rust/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.