Scaffold Cloudron packaging workspace
This commit is contained in:
@@ -2,25 +2,19 @@ name: cloudron-packages-ci
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
tasks:
|
||||
description: "Space-separated list of tasks to run via scripts/ci_local.sh"
|
||||
required: false
|
||||
default: "all"
|
||||
|
||||
jobs:
|
||||
lint-and-smoke:
|
||||
lint-and-status:
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: https://gitea.com/actions/checkout@v4
|
||||
|
||||
- name: Build CI harness image
|
||||
run: docker build -t knel/cloudron-ci docker/ci-runner
|
||||
- name: Build devtools image if needed
|
||||
run: ./run/dev.sh python --version
|
||||
|
||||
- name: Run requested tasks
|
||||
env:
|
||||
TASKS: ${{ github.event.inputs.tasks }}
|
||||
run: |
|
||||
export CI_IMAGE=knel/cloudron-ci
|
||||
./scripts/ci_local.sh ${TASKS:-all}
|
||||
- name: Lint repository (strict mode)
|
||||
run: ./run/dev.sh python scripts/lint_repo.py --strict
|
||||
|
||||
- name: Regenerate status dashboard
|
||||
run: ./run/dev.sh python scripts/generate_status.py --preserve-timestamp
|
||||
|
Reference in New Issue
Block a user