Skip to content
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
27 changes: 18 additions & 9 deletions .github/workflows/localcloud.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,33 @@
# Setup and SDK reference: https://local.cloud/docs/github-actions/
# Laptop: python3 scripts/localcloud-test.py (add --full-suite for regression tests).
# Enable pull-request runs with repository variable LOCALCLOUD_CI_ENABLED=true.
name: LocalCloud tests
name: pr-local-cloud-integration-tests
'on':
workflow_dispatch: null
pull_request: null
pull_request:
types:
- opened
- synchronize
- reopened
- labeled
permissions:
contents: read
jobs:
localcloud:
if: github.event_name == 'workflow_dispatch' || vars.LOCALCLOUD_CI_ENABLED ==

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@agent-local-cloud can we make sure to run this only on main repo and not forks, also add checks similar to other workflows

https://github.com/feast-dev/feast/blob/master/.github/workflows/pr_integration_tests.yml#L20

@agent-local-cloud agent-local-cloud Nov 13, 2026 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @ntkathole, Thanks for the review. Its updated as per that workflow condition, and its passing now.
except the unit-test-python (3.11, macos-15) which looks like having intermittent issue. can you pls re-run that task manually. or let me know, i can re-trigger the whole workflow. Thanks

'true'
# Match Feast's approval-label policy and never run this job in fork repositories.
if:
((github.event.action == 'labeled' && (github.event.label.name == 'approved' || github.event.label.name == 'lgtm' || github.event.label.name == 'ok-to-test')) ||
(github.event.action != 'labeled' && (contains(github.event.pull_request.labels.*.name, 'ok-to-test') || contains(github.event.pull_request.labels.*.name, 'approved') || contains(github.event.pull_request.labels.*.name, 'lgtm')))) &&
github.repository == 'feast-dev/feast'
runs-on: ubuntu-latest
timeout-minutes: 30
services:
localcloud:
image: agentcloud/localcloud@sha256:88e85b86b294e1e4f71b8c63ec43de79d170946ff39556f0e2709f66aa0d368c
image: agentcloud/localcloud:ci
env:
LOCALCLOUD_SERVICES: bigquery,bigtable,gcs
LOCALCLOUD_PROJECT: localcloud-ci
LOCALCLOUD_DOCKER_ACCESS: 'false'
LOCALCLOUD_TELEMETRY: 'false'
LOCALCLOUD_CONSOLE: 'false'
ports:
- 5380:5380
- 5382:5382
Expand All @@ -43,10 +50,12 @@ jobs:
with:
go-version-file: go.mod
- uses: astral-sh/setup-uv@v5
- name: Set up LocalCloud (v0.1.0)
- name: Set up LocalCloud
id: localcloud
uses: cloud-orbitor/setup-localcloud@de6d236db036be4c8b96879392d22a1feb5047c6
uses: agent-local-cloud/setup-localcloud@3f8bd6df58cfd3cf4cd29c46f3449c7e6465f64a
with:
image: agentcloud/localcloud:ci
console: 'false'
services: bigquery,bigtable,gcs
project-id: localcloud-ci
runtime-url: http://127.0.0.1:5380
Expand Down
5 changes: 4 additions & 1 deletion scripts/localcloud-test.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
ROOT = Path(__file__).resolve().parents[1]
TEST_SPEC_JSON = r"""
{
"image": "agentcloud/localcloud@sha256:88e85b86b294e1e4f71b8c63ec43de79d170946ff39556f0e2709f66aa0d368c",
"image": "agentcloud/localcloud:ci",
"services": [
"bigquery",
"bigtable",
Expand Down Expand Up @@ -258,6 +258,7 @@ def mapped_endpoint(value: str) -> str:
try:
if gateway is None:
docker("info", "--format", "{{.ServerVersion}}")
docker("pull", manifest["image"])
docker(
"volume", "create", "--label", "localcloud.test-owner=" + ident, ident
)
Expand All @@ -270,6 +271,8 @@ def mapped_endpoint(value: str) -> str:
"localcloud.test-owner=" + ident,
"--memory",
"4g",
"-e",
"LOCALCLOUD_CONSOLE=false",
"-v",
ident + ":/var/lib/localcloud",
]
Expand Down
Loading