Switched from Jenkins to Woodpecker CI.
ci/woodpecker/push/build Pipeline was successful Details

This commit is contained in:
Achim D. Brucker 2022-03-20 08:09:26 +00:00
parent cdf1aaff5f
commit 70d50de6e2
1 changed files with 26 additions and 0 deletions

26
.woodpecker/build.yml Normal file
View File

@ -0,0 +1,26 @@
pipeline:
build:
image: docker.io/logicalhacking/isabelle2021
commands:
- export ARTIFACT_DIR=$CI_WORKSPACE/.artifacts/$CI_REPO_NAME/$CI_BRANCH/$CI_BUILD_NUMBER/
- mkdir -p $ARTIFACT_DIR
- export `isabelle getenv ISABELLE_HOME_USER`
- isabelle build -D . -o browser_info
- cp -r $ISABELLE_HOME_USER/browser_info $ARTIFACT_DIR
- cp output/document.pdf $ARTIFACT_DIR
- cd $ARTIFACT_DIR
- cd ..
- ln -s * latest
deploy:
image: docker.io/drillster/drone-rsync
settings:
hosts: [ "ci.logicalhacking.com"]
port: 22
source: .artifacts/$CI_REPO_NAME/*
target: $CI_REPO_NAME
include: [ "**.*"]
key:
from_secret: artifacts_ssh
user: artifacts