Compare commits

...

20 Commits

Author SHA1 Message Date
JF b2c8be189b
Update .drone.yml 2021-10-15 11:20:06 +02:00
Jean-François Milants 13c99783d0 add .drone.yml 2021-07-25 14:17:42 +02:00
Jean-François Milants 8bc1b983c2 add .drone.yml 2021-07-25 14:16:19 +02:00
Jean-François Milants b5f934ad58 add .drone.yml 2021-07-25 14:13:46 +02:00
Jean-François Milants 837ac1fca8 add .drone.yml 2021-07-25 14:10:31 +02:00
Jean-François Milants 0356c0960d add .drone.yml 2021-07-25 13:58:44 +02:00
Jean-François Milants 9e2e64d48e add .drone.yml 2021-07-25 12:04:31 +02:00
Jean-François Milants fafaefb4f6 add .drone.yml 2021-07-25 11:54:34 +02:00
Jean-François Milants 8ba2ad1ade add .drone.yml 2021-07-25 11:51:00 +02:00
Jean-François Milants 1087b6c019 add .drone.yml 2021-07-25 11:48:10 +02:00
Jean-François Milants 27305e2f82 add .drone.yml 2021-07-25 11:45:51 +02:00
Jean-François Milants a519ce23e5 add .drone.yml 2021-07-25 11:43:49 +02:00
Jean-François Milants 8d8ac2622c add .drone.yml 2021-07-25 11:41:00 +02:00
Jean-François Milants ef32366c57 add .drone.yml 2021-07-25 11:38:09 +02:00
Jean-François Milants 3e3ea3836d add .drone.yml 2021-07-25 11:35:26 +02:00
Jean-François Milants 646baba443 add .drone.yml 2021-07-25 11:25:48 +02:00
Jean-François Milants 0ec930547c add .drone.yml 2021-07-25 11:22:42 +02:00
Jean-François Milants 56761810e1 add .drone.yml 2021-07-25 11:10:56 +02:00
Jean-François Milants ed6a4dfd8f add .drone.yml 2021-07-25 11:08:28 +02:00
Jean-François Milants 1aebf84e3c add .drone.yml 2021-07-25 10:47:23 +02:00
3 changed files with 17 additions and 2 deletions

15
.drone.yml Normal file
View File

@ -0,0 +1,15 @@
kind: pipeline
type: docker
name: default
#Test
steps:
- name: build
pull: never
image: infinitime-build
user: root #needed to have permission to the workspace volume
environment:
SOURCES_DIR: /drone/src
commands:
- git submodule update --init
- /opt/build.sh

View File

@ -43,5 +43,5 @@ ARG PGID=1000
RUN groupadd --system --gid $PGID infinitime && useradd --system --uid $PUID --gid $PGID infinitime
USER infinitime:infinitime
ENV SOURCES_DIR /sources
ENV SOURCES_DIR .
CMD ["/opt/build.sh"]

View File

@ -7,7 +7,7 @@ set -e
# Default locations if the var isn't already set
export TOOLS_DIR="${TOOLS_DIR:=/opt}"
export SOURCES_DIR="${SOURCES_DIR:=/sources}"
export SOURCES_DIR="${SOURCES_DIR:=.}"
export BUILD_DIR="${BUILD_DIR:=$SOURCES_DIR/build}"
export OUTPUT_DIR="${OUTPUT_DIR:=$BUILD_DIR/output}"