mirror of
https://github.com/langflow-ai/langflow.git
synced 2026-07-24 06:42:21 +08:00
chore: use self hosted ephemeral runner (#11253)
* chore: use self hosted ephemeral runner
In November and periodically since we have ran into issue with runners hanging and not properly cleaning themselves up causing our CI/CD pipeline to fail due to timeout or self canceling.
* chore: add actionlint for selfhosted runners
* fix: skip nightly test when skip flags are set
* fix: json string format
* chore: change to use run_on string directly
${{ inputs['runs_on'] || github.event.inputs['runs_on'] || 'ubuntu-latest' }}
* chore: use self hosted ephemeral runner
* chore: use self hosted ephemeral runner
* chore: use self hosted ephemeral runner
* chore: revert ephemeral runner testing changes, restore main-only guards
---------
Co-authored-by: vijay kumar katuri <vijay.katuri@ibm.com>
This commit is contained in:
6
.github/workflows/python_test.yml
vendored
6
.github/workflows/python_test.yml
vendored
@ -43,7 +43,7 @@ on:
|
||||
options:
|
||||
- ubuntu-latest
|
||||
- self-hosted
|
||||
- "[self-hosted, linux, ARM64, langflow-ai-arm64-40gb]"
|
||||
- '["self-hosted", "linux", "ARM64", "langflow-ai-arm64-40gb-ephemeral"]'
|
||||
default: ubuntu-latest
|
||||
env:
|
||||
POETRY_VERSION: "1.8.2"
|
||||
@ -54,7 +54,6 @@ env:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
name: Unit Tests - Python ${{ matrix.python-version }} - Group ${{ matrix.group }}
|
||||
runs-on: ${{ (inputs['runs-on'] && startsWith(format('{0}', inputs['runs-on']), '[') && fromJSON(inputs['runs-on'])) || inputs['runs-on'] || github.event.inputs['runs-on'] || 'ubuntu-latest' }}
|
||||
strategy:
|
||||
@ -119,7 +118,6 @@ jobs:
|
||||
htmlcov/
|
||||
retention-days: 30
|
||||
|
||||
|
||||
integration-tests:
|
||||
name: Integration Tests - Python ${{ matrix.python-version }}
|
||||
runs-on: ${{ (inputs['runs-on'] && startsWith(format('{0}', inputs['runs-on']), '[') && fromJSON(inputs['runs-on'])) || inputs['runs-on'] || github.event.inputs['runs-on'] || 'ubuntu-latest' }}
|
||||
@ -145,7 +143,6 @@ jobs:
|
||||
PYLEAK_LOG_LEVEL: debug # enable pyleak logging
|
||||
DO_NOT_TRACK: true # disable telemetry reporting
|
||||
|
||||
|
||||
lfx-tests:
|
||||
name: LFX Tests - Python ${{ matrix.python-version }}
|
||||
runs-on: ${{ (inputs['runs-on'] && startsWith(format('{0}', inputs['runs-on']), '[') && fromJSON(inputs['runs-on'])) || inputs['runs-on'] || github.event.inputs['runs-on'] || 'ubuntu-latest' }}
|
||||
@ -256,4 +253,3 @@ jobs:
|
||||
else
|
||||
echo "Server terminated successfully"
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user