Scaffold Cloudron packaging workspace and automation
This commit is contained in:
26
.gitea/workflows/ci.yml
Normal file
26
.gitea/workflows/ci.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
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:
|
||||
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: Run requested tasks
|
||||
env:
|
||||
TASKS: ${{ github.event.inputs.tasks }}
|
||||
run: |
|
||||
export CI_IMAGE=knel/cloudron-ci
|
||||
./scripts/ci_local.sh ${TASKS:-all}
|
Reference in New Issue
Block a user