This is an automated email from the ASF dual-hosted git repository.
yiconghuang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/texera.git
The following commit(s) were added to refs/heads/main by this push:
new 797fde518e chore(ci): cleanup ci (#3942)
797fde518e is described below
commit 797fde518e750230d5b930d449de996c4d1a62fb
Author: Yicong Huang <[email protected]>
AuthorDate: Thu Oct 23 16:38:03 2025 -0700
chore(ci): cleanup ci (#3942)
### What changes were proposed in this PR?
This PR cleans up the left over changes from CI updates:
1. it removes the old CI runs (caused by #3941).
2. it removes the rules against `test-ci` branch (introduced by #3937
for testing purposes).
### Any related issues, documentation, discussions?
finishes and resolves #3939
### How was this PR tested?
Manually tested.
### Was this PR authored or co-authored using generative AI tooling?
No.
---
.asf.yaml | 22 ------
.github/workflows/github-action-build.yml | 126 ------------------------------
2 files changed, 148 deletions(-)
diff --git a/.asf.yaml b/.asf.yaml
index 8cc134afab..16bcb098ba 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -83,28 +83,6 @@ github:
required_approving_review_count: 1
required_linear_history: true
- test-ci:
- required_status_checks:
- # strict means "Require branches to be up to date before merging".
- strict: true
- # contexts are the names of checks that must pass
- contexts:
- - frontend (ubuntu-latest, 18)
- - frontend (windows-latest, 18)
- - frontend (macos-latest, 18)
- - scala (ubuntu-22.04, 11)
- - python (ubuntu-latest, 3.9)
- - python (ubuntu-latest, 3.10)
- - python (ubuntu-latest, 3.11)
- - python (ubuntu-latest, 3.12)
- - Check License Headers
- - Validate PR title
- required_pull_request_reviews:
- dismiss_stale_reviews: false
- require_code_owner_reviews: false
- required_approving_review_count: 1
- required_linear_history: true
-
notifications:
commits: [email protected]
issues: [email protected]
diff --git a/.github/workflows/github-action-build.yml
b/.github/workflows/github-action-build.yml
index 518aeddc61..c92d6e16d0 100644
--- a/.github/workflows/github-action-build.yml
+++ b/.github/workflows/github-action-build.yml
@@ -155,129 +155,3 @@ jobs:
- name: Test with pytest
run: |
cd amber/src/main/python && pytest -sv
--ignore=core/models/test_RTableExecutor.py
-
- gui:
- runs-on: ${{ matrix.os }}
- strategy:
- matrix:
- os: [ubuntu-latest, windows-latest, macos-latest]
- include:
- - os: macos-latest
- arch: arm64
- - os: ubuntu-latest
- arch: x64
- - os: windows-latest
- arch: x64
- node-version:
- - 18
- steps:
- - name: Checkout Texera
- uses: actions/checkout@v5
- - name: Setup node
- uses: actions/setup-node@v5
- with:
- node-version: ${{ matrix.node-version }}
- architecture: ${{ matrix.arch }}
- - uses: actions/cache@v4
- with:
- path: |
- frontend/node_modules
- key: ${{ runner.os }}-${{ matrix.arch }}-${{ matrix.node-version
}}-yarn-cache-v1-${{ hashFiles('**/yarn.lock') }}
- restore-keys: |
- ${{ runner.os }}-${{ matrix.arch }}-${{ matrix.node-version
}}-yarn-cache-v1-
- - name: Prepare Yarn 4.5.1
- run: corepack enable && corepack prepare [email protected] --activate && yarn
--cwd frontend set version 4.5.1
- - name: Install dependency
- run: yarn --cwd frontend install --immutable --network-timeout=100000
- - name: Lint with Prettier & ESLint
- run: yarn --cwd frontend format:ci
- - name: Run frontend unit tests
- run: yarn --cwd frontend run test:ci
- - name: Prod build
- run: yarn --cwd frontend run build:ci
-
- core:
- strategy:
- matrix:
- os: [ ubuntu-22.04 ]
- java-version: [ 11 ]
- runs-on: ${{ matrix.os }}
- env:
- JAVA_OPTS: -Xms2048M -Xmx2048M -Xss6M -XX:ReservedCodeCacheSize=256M
-Dfile.encoding=UTF-8
- JVM_OPTS: -Xms2048M -Xmx2048M -Xss6M -XX:ReservedCodeCacheSize=256M
-Dfile.encoding=UTF-8
-
- services:
- postgres:
- image: postgres
- env:
- POSTGRES_PASSWORD: postgres
- ports:
- - 5432:5432
- # Add a health check so steps wait until Postgres is ready
- options: >-
- --health-cmd="pg_isready -U postgres"
- --health-interval=10s
- --health-timeout=5s
- --health-retries=5
- steps:
- - name: Checkout
- uses: actions/checkout@v5
- - name: Setup JDK
- uses: actions/setup-java@v5
- with:
- distribution: 'temurin'
- java-version: 11
- - name: Setup sbt launcher
- uses: sbt/setup-sbt@v1
- - uses: coursier/cache-action@v6
- with:
- extraSbtFiles: '["*.sbt", "project/**.{scala,sbt}",
"project/build.properties" ]'
- - name: Lint with scalafmt
- run: sbt scalafmtCheckAll
- - name: Create Databases
- run: |
- psql -h localhost -U postgres -f sql/texera_ddl.sql
- psql -h localhost -U postgres -f sql/iceberg_postgres_catalog.sql
- psql -h localhost -U postgres -f sql/texera_lakefs.sql
- env:
- PGPASSWORD: postgres
- - name: Create texera_db_for_test_cases
- run: psql -h localhost -U postgres -v DB_NAME=texera_db_for_test_cases
-f sql/texera_ddl.sql
- env:
- PGPASSWORD: postgres
- - name: Compile with sbt
- run: sbt clean package
- - name: Run backend tests
- run: sbt test
-
- python_udf:
- strategy:
- matrix:
- os: [ ubuntu-latest ]
- python-version: [ '3.9', '3.10', '3.11', '3.12' ]
- runs-on: ${{ matrix.os }}
- steps:
- - name: Checkout Texera
- uses: actions/checkout@v5
- - name: Set up Python ${{ matrix.python-version }}
- uses: actions/setup-python@v6
- with:
- python-version: ${{ matrix.python-version }}
- - name: Install dependencies
- run: |
- python -m pip install --upgrade pip
- if [ -f amber/requirements.txt ]; then pip install -r
amber/requirements.txt; fi
- if [ -f amber/operator-requirements.txt ]; then pip install -r
amber/operator-requirements.txt; fi
- - name: Install PostgreSQL
- run: sudo apt-get update && sudo apt-get install -y postgresql
- - name: Start PostgreSQL Service
- run: sudo systemctl start postgresql
- - name: Create Database and User
- run: |
- cd sql && sudo -u postgres psql -f iceberg_postgres_catalog.sql
- - name: Lint with flake8 and black
- run: |
- cd amber/src/main/python && flake8 && black . --check
- - name: Test with pytest
- run: |
- cd amber/src/main/python && pytest -sv
--ignore=core/models/test_RTableExecutor.py