mirror of
https://github.com/chatopera/cosin.git
synced 2025-08-01 16:38:02 +08:00
https://github.com/cskefu/cskefu/issues/776 enable workflow to check PRs on develop
Signed-off-by: Hai Liang Wang <hai@chatopera.com>
This commit is contained in:
parent
26c8377a02
commit
0e46e091a9
19
.github/workflows/checks_develop_pr.yml
vendored
Normal file
19
.github/workflows/checks_develop_pr.yml
vendored
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
name: PR Checks against develop branch
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
branches: [develop]
|
||||||
|
types: [opened, synchronize, closed]
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: [self-hosted, Linux, X64, Ubuntu]
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
|
- run: |
|
||||||
|
cd $GITHUB_WORKSPACE && pwd
|
||||||
|
if [ ! -d .git ]; then git init; git config user.email "you@dummy.com"; git config user.name "dummy"; git add --all && git commit -q -m "Only fix mvn goals for github workflow"; fi
|
||||||
|
if [ -f ~/.cskefu.rc ]; then source ~/.cskefu.rc; else echo "Not found ~/.cskefu.rc; find info with https://github.com/cskefu/cskefu/issues/688"; exit 1; fi
|
||||||
|
java -version && mvn -version
|
||||||
|
$GITHUB_WORKSPACE/plugins/bin/buildAll.sh
|
||||||
|
$GITHUB_WORKSPACE/server/bin/package.sh
|
14
compose/README.md
Normal file
14
compose/README.md
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
# CSKeFu on Docker Compose
|
||||||
|
|
||||||
|
## Start
|
||||||
|
|
||||||
|
```
|
||||||
|
cp sample.env .env
|
||||||
|
docker-compose up -d
|
||||||
|
```
|
||||||
|
|
||||||
|
For an instance services, run as fresh - delete data, pull latest image and start.
|
||||||
|
|
||||||
|
```
|
||||||
|
./bin/flush.sh
|
||||||
|
```
|
8
plugins/README.md
Normal file
8
plugins/README.md
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
# CSKeFu Plugins
|
||||||
|
|
||||||
|
## Build and Deploy
|
||||||
|
|
||||||
|
```
|
||||||
|
./bin/buildAll.sh
|
||||||
|
./bin/deployAll.sh
|
||||||
|
```
|
Loading…
x
Reference in New Issue
Block a user