mirror of
https://github.com/tLDP/LDP.git
synced 2025-11-30 23:16:02 +07:00
70
.github/.drone.yml
vendored
70
.github/.drone.yml
vendored
@@ -1,70 +0,0 @@
|
||||
---
|
||||
# (C) Serge Victor 2020-2024, GPLv3 License
|
||||
#
|
||||
# https://drone.tldp.org
|
||||
#
|
||||
# 1) this file is protected, DO NOT TAMPER without permission from LDP authorised maintainers!
|
||||
#
|
||||
# 2) contact us or create an issue before thinking about any changes.
|
||||
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: 🗃 LDP Builder
|
||||
|
||||
workspace:
|
||||
path: /builder/src
|
||||
|
||||
steps:
|
||||
- name: 🗃 Martin's builder - Pull Request only (partial build)
|
||||
image: tldp/builder:latest
|
||||
volumes:
|
||||
- name: LDP
|
||||
path: /LDP
|
||||
when:
|
||||
event:
|
||||
include:
|
||||
- pull_request
|
||||
commands:
|
||||
- ldptool --dump-cfg
|
||||
- rm -rf /LDP/PR
|
||||
- mkdir -p /LDP/PR/BUILD
|
||||
- rsync -av /LDP/en /LDP/PR
|
||||
- ldptool --loglevel info --builddir /LDP/PR/BUILD --configfile .github/builder.ldptool.cfg --pubdir /LDP/PR/en --list
|
||||
- ionice -c 3 chrt --idle 0 ldptool --loglevel info --builddir /LDP/PR/BUILD --configfile .github/builder.ldptool.cfg --pubdir /LDP/PR/en --publish
|
||||
- git rev-parse HEAD > /LDP/PR/last-commit-id.txt
|
||||
- date > /LDP/PR/build-date.txt
|
||||
|
||||
- name: 🗃 Martin's builder - all revieved commits (full build)
|
||||
image: tldp/builder:latest
|
||||
volumes:
|
||||
- name: LDP
|
||||
path: /LDP
|
||||
when:
|
||||
event:
|
||||
exclude:
|
||||
- pull_request
|
||||
commands:
|
||||
- ldptool --dump-cfg
|
||||
- mkdir -p /builder/src/BUILD
|
||||
- mkdir -p /builder/src/PUBDIR
|
||||
- ldptool --loglevel info --builddir /builder/src/BUILD --configfile .github/builder.ldptool.cfg --pubdir /builder/src/PUBDIR --list
|
||||
- ionice -c 3 chrt --idle 0 ldptool --loglevel info --builddir /builder/src/BUILD --configfile .github/builder.ldptool.cfg --pubdir /builder/src/PUBDIR --publish
|
||||
- rsync -av --delete-after /builder/src/PUBDIR/ /LDP/en
|
||||
- git rev-parse HEAD > /LDP/last-commit-id.txt
|
||||
- date > /LDP/build-date.txt
|
||||
|
||||
volumes:
|
||||
- name: LDP
|
||||
host:
|
||||
path: /LDP
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
||||
|
||||
# the happy end.
|
||||
---
|
||||
kind: signature
|
||||
hmac: 45cf4fbf1b8f52a9096a444fb68ff415d101cab7812358bc0951ac87fadc7587
|
||||
|
||||
...
|
||||
11
.github/README.md
vendored
11
.github/README.md
vendored
@@ -1,5 +1,4 @@
|
||||
Documentation | [](https://drone.tldp.org/tLDP/LDP)
|
||||
|
||||
[](https://builder-github.tldp.org/repos/3)
|
||||
---
|
||||
|
||||

|
||||
@@ -15,7 +14,7 @@ Please take a part in our efforts.
|
||||
* Fork our repository
|
||||
* Update documents and/or correct/extend existing ones in your forked repository
|
||||
* Submit a Pull Request (if you do not know how, read for example: https://yangsu.github.io/pull-request-tutorial/)
|
||||
* Check if our builder successfully renders your submission - if not, check why and resubmit
|
||||
* Check if your document is correctly rendered on https://tldp.org/test/ after builder shows you green light - if not, check why and resubmit
|
||||
* One of our admins will review your work
|
||||
* Publication on https://tldp.org/ is live :+1:
|
||||
* We will preliminary check your submission and run our builder to verify if it can be published.
|
||||
* One of our admins will make a final review of your work - please be patient as it's not an automatic process.
|
||||
* Watch your PR, we will notify in comments if we need your cooperation.
|
||||
* Publication on https://tldp.org/ is live - thanks! :+1:
|
||||
|
||||
14
.github/builder.ldptool.cfg
vendored
14
.github/builder.ldptool.cfg
vendored
@@ -1,8 +1,8 @@
|
||||
[ldptool]
|
||||
sourcedir = /builder/src/LDP/faq/linuxdoc/,
|
||||
/builder/src/LDP/guide/linuxdoc/,
|
||||
/builder/src/LDP/howto/linuxdoc/,
|
||||
/builder/src/LDP/howto/docbook/,
|
||||
/builder/src/LDP/guide/docbook/,
|
||||
/builder/src/LDP/ref/docbook/,
|
||||
/builder/src/LDP/faq/docbook/
|
||||
sourcedir = /woodpecker/src/github.com/ser/LDP/LDP/faq/linuxdoc/,
|
||||
/woodpecker/src/github.com/ser/LDP/LDP/guide/linuxdoc/,
|
||||
/woodpecker/src/github.com/ser/LDP/LDP/howto/linuxdoc/,
|
||||
/woodpecker/src/github.com/ser/LDP/LDP/howto/docbook/,
|
||||
/woodpecker/src/github.com/ser/LDP/LDP/guide/docbook/,
|
||||
/woodpecker/src/github.com/ser/LDP/LDP/ref/docbook/,
|
||||
/woodpecker/src/github.com/ser/LDP/LDP/faq/docbook/
|
||||
|
||||
Reference in New Issue
Block a user