Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: rilldata/rill
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.51.5
Choose a base ref
...
head repository: rilldata/rill
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref

Commits on Nov 19, 2024

  1. Copy the full SHA
    a3912b0 View commit details
  2. fix: templated uri dimension by making a request (#6094)

    * Fix templated uri dimension by making a request
    
    * Fix lint
    
    * Update makeHref to support boolean uri value
    AdityaHegde authored Nov 19, 2024
    1
    Copy the full SHA
    bcc3a97 View commit details
  3. Copy the full SHA
    b157eb7 View commit details
  4. fix: bookmark query by doing a case insensitive query (#6093)

    * Fix bookmark query by doing a case insensitive query
    
    * Update index to be lower as well
    
    * Update index
    
    * Update admin/database/postgres/migrations/0053.sql
    
    ---------
    
    Co-authored-by: Benjamin Egelund-Müller <b@egelund-muller.com>
    AdityaHegde and begelundmuller authored Nov 19, 2024
    Copy the full SHA
    c750fe7 View commit details
  5. Fix: Exclude inherited flags when checking if rill project refresh

    …should default to `--all` (#6100)
    begelundmuller authored Nov 19, 2024
    Copy the full SHA
    9c9a3f5 View commit details
  6. Copy the full SHA
    55b8bec View commit details
  7. 1
    Copy the full SHA
    e1e3aba View commit details

Commits on Nov 20, 2024

  1. fix: billing UI minor issues (#6098)

    * Minor UI fixes
    
    * width => max-width
    AdityaHegde authored Nov 20, 2024
    1
    Copy the full SHA
    37c22bf View commit details
  2. 1
    Copy the full SHA
    d9e0335 View commit details
  3. Generic provisioners (#6084)

    * Make provisioners generic
    
    * Make provisioners conform to the new interface
    
    * Add database table
    
    * Partially migrate deployments to provisioner resources
    
    * Review
    
    * Update deployment logic
    
    * Fix reset deployments job
    
    * Update validate_deployments job
    
    * Persist healt check status
    
    * Linto fixo
    
    * Testifix
    
    * Rename provisioner capacity job
    
    * Comment about static runtime versions
    
    * Idempotent static provisioner
    
    * Consistent field order in provisioner.Resource
    
    * Self review
    
    * QA
    begelundmuller authored Nov 20, 2024
    1
    Copy the full SHA
    24e7a45 View commit details
  4. Copy the full SHA
    01808b3 View commit details
  5. fix: autogenerate metrics indentation (#6091)

    * Fix autogenerate metrics indetation
    
    * Add newline after type
    AdityaHegde authored Nov 20, 2024
    Copy the full SHA
    a8ae59c View commit details
  6. Copy the full SHA
    6bee6d0 View commit details
  7. feat: Add new email templates (#6092)

    * Add new email templates
    
    * Update email texts
    
    * Update existing emails to use new templates
    
    * Separate out welcome templates
    
    * Text tweaks
    
    * Remove next cycle start date
    
    * Use billing cycle end date
    AdityaHegde authored Nov 20, 2024
    1
    Copy the full SHA
    4ff697f View commit details
  8. Create public url and offer copy to clipboard cta (#6103)

    * fix copy to clipboard in safari
    
    * clean up
    
    * clean up
    
    * clean up
    
    * sync, lint
    
    * lint
    
    * feedback
    lovincyrus authored Nov 20, 2024
    1
    Copy the full SHA
    515fd22 View commit details

Commits on Nov 21, 2024

  1. Environment variables management (#6012)

    * initial setup
    
    * clean up
    
    * more layout
    
    * empty state touch up
    
    * wip
    
    * key and activity cell
    
    * nit
    
    * add dialog wip
    
    * value cell
    
    * add and delete kv field
    
    * actions cell, edit, delete dialog
    
    * wip add new variable
    
    * delete dialog
    
    * environment types
    
    * add multiple variables, handle empty value cell
    
    * filter by environment dropdown
    
    * trigger text
    
    * slight uxqa, reset form variables on outside click
    
    * edit dialog wip
    
    * wip edit
    
    * check for key already exists
    
    * fix add dialog errors
    
    * file upload .env
    
    * unused
    
    * fix dup form id
    
    * lint
    
    * copy treatment for value cell
    
    * cast input element to event
    
    * disable create when no new changes
    
    * omit empty variables
    
    * omit draft vars without key
    
    * polish add dialog
    
    * pitstop
    
    * fix process env in add dialog
    
    * allow to set the correct initial environments in edit dialog
    
    * wip
    
    * truncate value cell
    
    * has changes, update project variables based on feedback
    
    * no unchecked env checkboxes
    
    * wip
    
    * pass environment in when unsetting variable
    
    * check for dups when key is modified in edit dialog
    
    * error input wrapper on edit key
    
    * fix
    
    * clean up
    
    * validate special chars, use reset from superform
    
    * special char error message
    
    * update errors index for error message
    
    * consistent eye icons in value cell
    
    * update activity cell
    
    * add dialog tweaks
    
    * feedback
    
    * filter out empty kv pair when parsing file
    
    * scrollable in add dialog
    
    * trim comments when parsing, edit error input wrapper style
    
    * fix handle remove
    
    * dropdown environment filter
    
    * sorted, singular, clean up
    
    * tooltip title in activity cell
    lovincyrus authored Nov 21, 2024
    1
    Copy the full SHA
    38ff70e View commit details
  2. Billing UI: Hide modules from Orgs on Enterprise plans (#6115)

    * Enterprise Plan: Hide usage tab
    
    * Enterprise Plan: prohibit navigating directly to usage tab
    
    * Enterprise Plan: hide payment module
    
    * Cleanup: use data from loader function
    
    * Whitelist `tsc` error
    ericpgreen2 authored Nov 21, 2024
    1
    Copy the full SHA
    82e003a View commit details
  3. feat: big num new formatting rules (#6106)

    * feat: big num new formatting rules
    
    * solidify ranges
    
    * Format higher magnitudes as per PRD
    
    * Treat 0 int as count of 0
    
    * Update tests
    
    * Update big num values in tests
    
    * Leftover test values
    
    * Update comparison test
    
    * Update range
    djbarnwal authored Nov 21, 2024
    1
    Copy the full SHA
    c24cd4e View commit details
  4. Copy the full SHA
    0b0c126 View commit details
  5. Copy the full SHA
    ba98f82 View commit details
  6. fix for environment overrides in rill.yaml (#6118)

    * fix for environment overrides in rill.yaml
    
    * fix for environment overrides in rill.yaml
    
    * fix for environment overrides in rill.yaml
    k-anshul authored Nov 21, 2024
    Copy the full SHA
    419ab21 View commit details
  7. 1
    Copy the full SHA
    e63bbe1 View commit details
  8. fix: hide billing settings for orgs without a sub (#6124)

    * Hide billing settings for orgs without a sub
    
    * Remove console log
    AdityaHegde authored Nov 21, 2024
    1
    Copy the full SHA
    a1a67a1 View commit details
  9. fix: leaderboard column sorting behavior (#6125)

    * fix: leaderboard column sorting behavior
    
    * add function argument
    briangregoryholmes authored Nov 21, 2024
    1
    Copy the full SHA
    c2c793b View commit details
  10. Fix (Public URLs): state initialization (#6126)

    * Fix public URL state initialization
    
    * Fix lint
    
    * Reactivity just in case
    ericpgreen2 authored Nov 21, 2024
    1
    Copy the full SHA
    7dc8bbe View commit details
  11. Organizations: remove old CTA to add users via CLI (#6116)

    * Remove old CTA
    
    * Fix lint
    
    * Tweak spacing
    ericpgreen2 authored Nov 21, 2024
    1
    Copy the full SHA
    988df4f View commit details
  12. Support infinite query when listing org users and invites (#6128)

    * infinite query org users
    
    * infinite query org invites
    
    * tweak
    
    * fetch next page in org users table
    
    * fetch next page for users and invites infinite query
    
    * tweak scroll container height
    
    * lint
    
    * more table height fix
    
    * use width precent
    
    * fix transient bug
    
    * remove table min h, table wrapper totalsize h
    lovincyrus authored Nov 21, 2024
    1
    Copy the full SHA
    6bc56be View commit details

Commits on Nov 22, 2024

  1. Copy the full SHA
    fd960db View commit details
  2. Copy the full SHA
    6bb0f5b View commit details
  3. feat: support locale formatting using d3 locale (#6119)

    * Better validation
    
    * review
    djbarnwal authored Nov 22, 2024
    1
    Copy the full SHA
    34c0952 View commit details
  4. Clickhouse static provisioner (#6129)

    * Clickhouse static provisioner
    
    * Self review
    begelundmuller authored Nov 22, 2024
    Copy the full SHA
    ed7e079 View commit details
  5. feat: visual explore editing (#6059)

    * wip
    
    * wip
    
    * create theme input
    
    * add default case when key not set
    
    * cleanup
    
    * cleanup and set defaults feature
    
    * test fix
    
    * uxqa
    
    * uxqa
    
    * uxqa, exclude mode
    
    * add test
    
    * review feedback
    
    * remove unused prop
    
    * revert Leaderboard
    
    * revert file
    
    * revert file
    
    * only add preload attribute when button has href prop
    
    * fix test
    
    * remove import
    
    * test fix
    
    * add period
    
    * uxqa meeting feedback
    
    * remove import
    
    * fix expression field
    
    * review feedback
    
    * type fix
    
    * test update
    
    * better error handling, global listener issue
    
    * sync once explorespec changes
    
    * reset defaults, remove error page
    
    * add back error page, comment out part of test
    
    * cleanup
    
    * add docs link
    
    * remove import
    
    * remove log
    
    * open in new tab
    briangregoryholmes authored Nov 22, 2024
    1
    Copy the full SHA
    b0630eb View commit details
  6. docs: release notes 0.51 (#6008)

    * Create 0.51.md
    
    * Starting on bug fix and misc
    
    * Update 0.51.md
    
    * updated bug fix and misc
    
    * adding feature section
    
    ---------
    
    Co-authored-by: Alexander Thor <alec.karlsson@gmail.com>
    royendo and mindspank authored Nov 22, 2024
    Copy the full SHA
    743890a View commit details
  7. Copy the full SHA
    3260872 View commit details
  8. Remove stale log (#6135)

    djbarnwal authored Nov 22, 2024
    1
    Copy the full SHA
    01bb3f8 View commit details
  9. 1
    Copy the full SHA
    68383e1 View commit details

Commits on Nov 25, 2024

  1. 1
    Copy the full SHA
    3c56fb1 View commit details
  2. 1
    Copy the full SHA
    dbb35f7 View commit details
  3. Fix broken ad_bids test project (#6148)

    * Fix broken `ad_bids` test project
    
    * Ensure tests trigger
    begelundmuller authored Nov 25, 2024
    Copy the full SHA
    7a66b65 View commit details
  4. fix: custom compare time ranges in reports or alerts (#6145)

    * Fix custom compare time ranges in reports and alerts
    
    * Fix lint
    AdityaHegde authored Nov 25, 2024
    1
    Copy the full SHA
    ad61aee View commit details
  5. 1
    Copy the full SHA
    7abd37b View commit details
  6. feat: workspace breadcrumbs (#6138)

    * wip
    
    * wip
    
    * create theme input
    
    * add default case when key not set
    
    * cleanup
    
    * cleanup and set defaults feature
    
    * test fix
    
    * uxqa
    
    * uxqa
    
    * uxqa, exclude mode
    
    * add test
    
    * review feedback
    
    * remove unused prop
    
    * revert Leaderboard
    
    * revert file
    
    * revert file
    
    * only add preload attribute when button has href prop
    
    * fix test
    
    * remove import
    
    * test fix
    
    * add period
    
    * uxqa meeting feedback
    
    * remove import
    
    * fix expression field
    
    * review feedback
    
    * type fix
    
    * test update
    
    * better error handling, global listener issue
    
    * sync once explorespec changes
    
    * reset defaults, remove error page
    
    * add back error page, comment out part of test
    
    * cleanup
    
    * add docs link
    
    * remove import
    
    * wip commit
    
    * layout rework
    
    * cleanup
    
    * render upstream and downstream refs
    
    * remove file
    
    * cleanup
    
    * add test
    
    * test fix
    briangregoryholmes authored Nov 25, 2024
    1
    Copy the full SHA
    a278854 View commit details
  7. 1
    Copy the full SHA
    17c1e3e View commit details

Commits on Nov 26, 2024

  1. feat : Add validation for env names (#6121)

    * add validation for env names
    
    * lint fix
    
    * Update runtime/pkg/env/env.go
    
    ---------
    
    Co-authored-by: Benjamin Egelund-Müller <b@egelund-muller.com>
    k-anshul and begelundmuller authored Nov 26, 2024
    Copy the full SHA
    dd912e8 View commit details
  2. fix: billing email and deploy paywall copy (#6132)

    * Update some billing email copy
    
    * Update quota error to match plan
    
    * Fix trial org usage percent
    
    * PR comments
    AdityaHegde authored Nov 26, 2024
    1
    Copy the full SHA
    3f7e202 View commit details
  3. 1
    Copy the full SHA
    1c849a7 View commit details
  4. 1
    Copy the full SHA
    f85c640 View commit details
  5. feat: support for search in pivot data store (#6172)

    * Move config out
    
    * Add support for search in pivot data store
    djbarnwal authored Nov 26, 2024
    1
    Copy the full SHA
    a3de19c View commit details
  6. 0.52 uxqa fixes (#6167)

    * uxqa fixes
    
    * change resource fetching approach
    
    * dont filter out time pills when syncing
    
    * change label to display_name
    
    * remove class
    
    * type fix
    briangregoryholmes authored Nov 26, 2024
    1
    Copy the full SHA
    c97d6d1 View commit details

Commits on Nov 27, 2024

  1. fix: logged out users getting a login page for public projects (#6177)

    * Fix logged out users for public projects
    
    * Fix lint
    AdityaHegde authored Nov 27, 2024
    1
    Copy the full SHA
    5caec82 View commit details
Showing 1,295 changed files with 65,827 additions and 31,484 deletions.
11 changes: 11 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
INSERT DESCRIPTION HERE

**Checklist:**
- [ ] Covered by tests
- [ ] Ran it and it works as intended
- [ ] Reviewed the diff before requesting a review
- [ ] Checked for unhandled edge cases
- [ ] Linked the issues it closes
- [ ] Checked if the docs need to be updated
- [ ] Intend to cherry-pick into the release branch
- [ ] I'm proud of this work!
3 changes: 2 additions & 1 deletion .github/workflows/cli-release.yml
Original file line number Diff line number Diff line change
@@ -52,9 +52,10 @@ jobs:
- name: Build and embed static UI
run: make cli.prepare
env:
RILL_UI_PUBLIC_PYLON_APP_ID: "26a0fdd2-3bd3-41e2-82bc-1b35a444729f"
RILL_UI_PUBLIC_INTAKE_USER: "data-modeler"
RILL_UI_PUBLIC_INTAKE_PASSWORD: ${{ secrets.RILL_INTAKE_PASSWORD }}
RILL_UI_PUBLIC_POSTHOG_API_KEY: "phc_4qnfUotXUuevk2zJN8ei8HgKXMynddEMI0wPI9XwzlS"
RILL_UI_PUBLIC_PYLON_APP_ID: "26a0fdd2-3bd3-41e2-82bc-1b35a444729f"

- name: Build Rill using Goreleaser
run: |-
55 changes: 48 additions & 7 deletions .github/workflows/docs-check.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
name: Build and Test docs
on:
workflow_dispatch:
pull_request:
paths:
- ".github/workflows/docs-check.yml"
- "docs/**"
- "cli/**"
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: 23baf08e-2d3e-44db-8bd4-938e54467a29

jobs:
build:
strategy:
matrix:
name: ["docs"]
runs-on: ubuntu-latest
steps:
- name: Checkout code
@@ -19,11 +22,49 @@ jobs:
with:
node-version: 20

- name: NPM Install ${{ matrix.name }}
run: npm install -w ${{ matrix.name }}
# - name: Filter modified codepaths
# uses: dorny/paths-filter@v3
# id: filter
# with:
# filters: |
# cli:
# - "cli/**"

# - name: Check if new files were created
# if: ${{ steps.filter.outputs.cli == 'true' }}
# run: |
# make docs.generate
# git diff --exit-code || (echo "New files were created, please run 'make docs.generate' locally and commit the changes" && exit 0)

- name: Build docs
run: |-
npm install -w docs
npm run build -w docs
# https://typicode.github.io/husky/how-to.html#ci-server-and-docker
env:
HUSKY: 0

- name: Build ${{ matrix.name }}
run: npm run build -w ${{ matrix.name }}
- name: Deploy Docs to Netlify docs.rilldata.com
uses: nwtgck/actions-netlify@v3.0
if: github.event_name != 'pull_request'
with:
publish-dir: ./docs/dist
github-token: ${{ secrets.GITHUB_TOKEN }}
deploy-message: "Docs ${{ github.ref_name }} deployed to docs.rilldata.com"
production-deploy: true
enable-pull-request-comment: false
enable-commit-comment: true
overwrites-pull-request-comment: true
timeout-minutes: 1

- name: Algolia crawler creation and crawl
uses: algolia/algoliasearch-crawler-github-actions@v1.1.10
id: algolia_crawler
if: github.event_name != 'pull_request'
with:
crawler-name: rilldata
crawler-user-id: ${{ secrets.CRAWLER_USER_ID }}
crawler-api-key: ${{ secrets.CRAWLER_API_KEY }}
algolia-app-id: ${{ secrets.ALGOLIA_APP_ID }}
algolia-api-key: ${{ secrets.ALGOLIA_API_KEY }}
site-url: 'https://docs.rilldata.com'
24 changes: 0 additions & 24 deletions .github/workflows/docs-crawler.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/go-test.yml
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ on:
- ".github/workflows/go-test.yml"
- "**.go"
- "go.mod"
- "runtime/resolvers/testdata/**"
- "**/testdata/**"
name: Test Go code
jobs:
test:
15 changes: 11 additions & 4 deletions .github/workflows/rill-cloud.yml
Original file line number Diff line number Diff line change
@@ -13,6 +13,7 @@ on:

env:
RELEASE: ${{ startsWith(github.ref, 'refs/tags/v') }}
DEPLOY_CLOUD: 1

jobs:
release:
@@ -39,11 +40,16 @@ jobs:

- name: Build & Publish Rill docker image
run: |-
if [ ${RELEASE} == "false" ]; then
echo "Fetch tags to get the last tagged version"
git fetch --all --tags;
fi
echo "Fetch tags to get the last tagged version"
git fetch --all --tags;
if [ "$RELEASE" == "true" ] || [ "$GITHUB_REF_NAME" == "main" ]; then
echo "DEPLOY_CLOUD=1" >> $GITHUB_ENV
else
echo "LATEST_BRANCH=$(git branch -r | grep release-0 | sort | tail -1)"
echo "DEPLOY_CLOUD=$(git branch -r | grep release-0 | sort | tail -1 | grep -c $GITHUB_REF_NAME)" >> $GITHUB_ENV
fi
# Embed DuckDB extensions in the Rill binary
go run scripts/embed_duckdb_ext/main.go
if [ ${RELEASE} == "true" ]; then
@@ -63,6 +69,7 @@ jobs:
fi
- name: Trigger Rill Cloud deployment
if: env.DEPLOY_CLOUD == '1'
run: |-
set -e
curl -X POST https://api.github.com/repos/rilldata/rill-helm-charts/dispatches \
1 change: 1 addition & 0 deletions .github/workflows/rill-ui.yml
Original file line number Diff line number Diff line change
@@ -72,6 +72,7 @@ jobs:
npm run build -w web-admin
env:
RILL_UI_PUBLIC_RILL_ADMIN_URL: https://admin.${{ env.DOMAIN }}
RILL_UI_PUBLIC_POSTHOG_API_KEY: "phc_4qnfUotXUuevk2zJN8ei8HgKXMynddEMI0wPI9XwzlS"
RILL_UI_PUBLIC_PYLON_APP_ID: "26a0fdd2-3bd3-41e2-82bc-1b35a444729f"
RILL_UI_PUBLIC_VERSION: ${{ env.RILL_VERSION }}

87 changes: 64 additions & 23 deletions .github/workflows/web-test-e2e.yml
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ name: End-to-end tests of web+runtime
on:
pull_request:
paths:
- ".github/workflows/web-test.yml"
- ".github/workflows/web-test-e2e.yml"
- "admin/**"
- "cli/**"
- "runtime/**"
@@ -11,8 +11,11 @@ on:
- "web-common/**"
- "web-local/**"
jobs:
build:
setup:
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.matrix.outputs.matrix }}

steps:
- name: Checkout code
uses: actions/checkout@v4
@@ -23,68 +26,106 @@ jobs:
with:
filters: |
admin:
- ".github/workflows/web-test.yml"
- ".github/workflows/web-test-e2e.yml"
- "admin/**"
- "cli/**"
- "runtime/**"
- "web-admin/**"
auth:
- ".github/workflows/web-test.yml"
- ".github/workflows/web-test-e2e.yml"
- "web-auth/**"
local:
- ".github/workflows/web-test.yml"
- ".github/workflows/web-test-e2e.yml"
- "cli/**"
- "runtime/**"
- "web-local/**"
common:
- ".github/workflows/web-test.yml"
- ".github/workflows/web-test-e2e.yml"
- "cli/**"
- "runtime/**"
- "web-common/**"
- name: Evaluate e2e tests matrix
id: matrix
run: |
echo "matrix=$(jq -n '[
("web-admin" | select(env.FILTER_ADMIN == "true" or env.FILTER_COMMON == "true")),
("web-local" | select(env.FILTER_LOCAL == "true" or env.FILTER_COMMON == "true"))
]' | jq -c)" >> "$GITHUB_OUTPUT"
env:
FILTER_ADMIN: ${{ steps.filter.outputs.admin }}
FILTER_COMMON: ${{ steps.filter.outputs.common }}
FILTER_LOCAL: ${{ steps.filter.outputs.local }}

e2e:
runs-on: ubuntu-latest
needs: setup
strategy:
fail-fast: false
matrix:
name: ${{ fromJson(needs.setup.outputs.matrix) }}
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up NodeJS
uses: actions/setup-node@v4
with:
node-version: 20

- name: NPM Install
run: npm install
# https://typicode.github.io/husky/how-to.html#ci-server-and-docker
env:
HUSKY: 0

- name: Set up go for E2E
uses: actions/setup-go@v5
with:
go-version: 1.23

- name: go build cache
uses: actions/cache@v4
with:
path: |
~/go/pkg/mod
~/.cache/go-build
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
key: ${{ runner.os }}-go-${{ hashFiles('./go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: NPM Install
run: npm install
# https://typicode.github.io/husky/how-to.html#ci-server-and-docker
env:
HUSKY: 0

- name: Build and embed static UI
if: matrix.name == 'web-local'
run: PLAYWRIGHT_TEST=true make cli

- name: Build rill cli only
if: matrix.name == 'web-admin'
run: PLAYWRIGHT_TEST=true make cli-only

- name: Add CLI binary to PATH
run: echo "$GITHUB_WORKSPACE" >> $GITHUB_PATH

- name: Install browser for UI tests
run: npx playwright install

- name: Test web local
if: ${{ steps.filter.outputs.local == 'true' || steps.filter.outputs.common == 'true' }}
run: npm run test -w web-local
- name: Authenticate GCloud
uses: google-github-actions/auth@v2
if: matrix.name == 'web-admin'
with:
credentials_json: "${{ secrets.RILL_BINARY_SA }}"

- name: Set up GCloud SDK
if: matrix.name == 'web-admin'
uses: google-github-actions/setup-gcloud@v2

- name: Test ${{ matrix.name }}
run: |-
npm run build -w ${{ matrix.name }}
npm run test -w ${{ matrix.name }}
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: web-local/playwright-report/
name: ${{ matrix.name }}-playwright-report
path: ${{ matrix.name }}/playwright-report/
retention-days: 30

- name: Build web admin
if: ${{ steps.filter.outputs.admin == 'true' || steps.filter.outputs.common == 'true' }}
run: |-
npm run build -w web-admin
10 changes: 4 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -6,11 +6,6 @@ node_modules
/package
.env
.env.*
server/__pycache__/*
web-local/src/server/duckdb
web-local/src/server/scratch/
server/venv/
tsc-tmp/
.vscode
/temp
/tmp
@@ -25,7 +20,10 @@ tsc-tmp/
!/runtime/drivers/duckdb/extensions/embed/**/.gitkeep
/dev-project*
/dev-cloud-state*
/playwright-report
/e2e-cloud-state*
**/playwright-report
**/playwright
**/test-results

# data files
*.duckdb
4 changes: 4 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -59,7 +59,11 @@ linters-settings:
include:
# Require explicit handling of all fields in the database options structs (to prevent nullification due to missing handling)
- github.com/rilldata/rill/admin/database\..*Options
# Require explicit handling of all fields related to deployments
- github.com/rilldata/rill/admin\..*DeploymentOptions
- github.com/rilldata/rill/admin\.provisionRuntimeOptions
- github.com/rilldata/rill/admin/provisioner\.Resource
- github.com/rilldata/rill/admin/provisioner\.ResourceOptions
gocritic:
enabled-tags:
- diagnostic
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
.PHONY: all
all: cli

.PHONE: cli-only
cli-only:
cp scripts/install.sh cli/pkg/installscript/embed/install.sh
go run scripts/embed_duckdb_ext/main.go
go build -o rill cli/main.go

.PHONY: cli
cli: cli.prepare
go build -o rill cli/main.go
Loading