Compare commits
No commits in common. "1c1d2a3f9309ec612a4f01f8814df23782fbbde7" and "00251ade6104d61db4a8a946fa9afd43b61bb4c8" have entirely different histories.
1c1d2a3f93
...
00251ade61
48
.drone.yml
48
.drone.yml
@ -1,40 +1,26 @@
|
|||||||
kind: pipeline
|
# workspace:
|
||||||
name: default
|
# base: /build
|
||||||
|
# path: /
|
||||||
|
|
||||||
steps:
|
pipeline:
|
||||||
- name: build
|
build:
|
||||||
image: registry.libreschool.org/libreschool-automation/libreschool-iso-builder:latest
|
image: registry.libreschool.org/libreschool-automation/libreschool-iso-builder:latest
|
||||||
settings:
|
source_iso_url: http://repo.libreschool.org/nethserver/iso/nethserver-7.6.1810-x86_64.iso
|
||||||
source_iso_url: http://repo.libreschool.org/nethserver/iso/nethserver-7.6.1810-x86_64.iso
|
output_iso: libreschool-7.6-x86_64.iso
|
||||||
output_iso: libreschool-7.6-x86_64.iso
|
|
||||||
when:
|
when:
|
||||||
event: [ push, tag ]
|
event: [ push, tag ]
|
||||||
|
|
||||||
# THAT'S A BAD IDEA
|
# THAT'S A BAD IDEA
|
||||||
- name: gitea_release
|
gitea_release:
|
||||||
|
group: deploy
|
||||||
image: plugins/gitea-release
|
image: plugins/gitea-release
|
||||||
settings:
|
files: libreschool-7.6-x86_64.iso
|
||||||
files: libreschool-7.6-x86_64.iso
|
checksum:
|
||||||
checksum:
|
- md5
|
||||||
- md5
|
- sha1
|
||||||
- sha1
|
- sha256
|
||||||
- sha256
|
- sha512
|
||||||
- sha512
|
secrets: [ gitea_token ]
|
||||||
secrets: [ gitea_token ]
|
base_url: https://git.libreschool.org
|
||||||
base_url: https://git.libreschool.org
|
|
||||||
prerelease: true
|
|
||||||
when:
|
when:
|
||||||
event: tag
|
event: tag
|
||||||
|
|
||||||
- name: repo_upload
|
|
||||||
image: appleboy/drone-scp
|
|
||||||
settings:
|
|
||||||
source: libreschool-7.6-x86_64.iso
|
|
||||||
target: /https/iso
|
|
||||||
host: repo.libreschool.org
|
|
||||||
username:
|
|
||||||
from_secret: ssh_username
|
|
||||||
key:
|
|
||||||
from_secret: ssh_key
|
|
||||||
when:
|
|
||||||
event: tag
|
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +0,0 @@
|
|||||||
output.iso
|
|
26
README.md
26
README.md
@ -2,28 +2,4 @@
|
|||||||
|
|
||||||
[](https://drone.libreschool.org/paspo/libreschool-iso)
|
[](https://drone.libreschool.org/paspo/libreschool-iso)
|
||||||
|
|
||||||
This tool automates the generation of LibreSchool iso
|
This tool automates the generation of LibreSchool iso
|
||||||
|
|
||||||
## how to locally create your ISO file
|
|
||||||
|
|
||||||
First, download the build container:
|
|
||||||
```
|
|
||||||
docker pull registry.libreschool.org/libreschool-automation/libreschool-iso-builder:latest
|
|
||||||
```
|
|
||||||
|
|
||||||
Then start it with these parameters:
|
|
||||||
```
|
|
||||||
docker run --rm \
|
|
||||||
-v "$PWD:/drone/src" \
|
|
||||||
-w "/drone/src" \
|
|
||||||
registry.libreschool.org/libreschool-automation/libreschool-iso-builder:latest
|
|
||||||
```
|
|
||||||
|
|
||||||
If you want to skip the download of the source ISO, you can provide an already downloaded one:
|
|
||||||
```
|
|
||||||
docker run --rm \
|
|
||||||
-v "$PWD:/drone/src" \
|
|
||||||
-v "$HOME/Downloads/nethserver-7.6.1810-x86_64.iso:/source.iso:ro" \
|
|
||||||
-w "/drone/src" \
|
|
||||||
registry.libreschool.org/libreschool-automation/libreschool-iso-builder:latest
|
|
||||||
```
|
|
@ -79,6 +79,7 @@ fi
|
|||||||
%packages
|
%packages
|
||||||
@nethserver-iso
|
@nethserver-iso
|
||||||
@core
|
@core
|
||||||
|
startpage
|
||||||
libreschool-release
|
libreschool-release
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
%packages
|
%packages
|
||||||
@nethserver-iso
|
@nethserver-iso
|
||||||
@core
|
@core
|
||||||
|
startpage
|
||||||
libreschool-release
|
libreschool-release
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
@ -92,6 +92,7 @@ fi
|
|||||||
%packages
|
%packages
|
||||||
@nethserver-iso
|
@nethserver-iso
|
||||||
@core
|
@core
|
||||||
|
startpage
|
||||||
libreschool-release
|
libreschool-release
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user