Initial commit
commit
3a6a2da74f
|
@ -0,0 +1,8 @@
|
||||||
|
FROM arm32v7/python:3.7-slim
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get install -y \
|
||||||
|
procps \
|
||||||
|
gcc \
|
||||||
|
libffi-dev \
|
||||||
|
libssl-dev \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
|
@ -0,0 +1,21 @@
|
||||||
|
pipeline {
|
||||||
|
agent {
|
||||||
|
dockerfile {
|
||||||
|
label 'arm'
|
||||||
|
filename 'Containerfile'
|
||||||
|
args '-u 0:0'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stages {
|
||||||
|
stage('Build') {
|
||||||
|
steps {
|
||||||
|
sh '. ./build.sh'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('Publish') {
|
||||||
|
steps {
|
||||||
|
sh '. ./publish.sh'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,8 @@
|
||||||
|
: ${PUBLISH_HOST:=files.pyrocufflink.blue}
|
||||||
|
: ${PUBLISH_PATH:=/var/lib/wheels/homeassistant}
|
||||||
|
|
||||||
|
rsync -rtiO \
|
||||||
|
--delete \
|
||||||
|
--include '*.whl' \
|
||||||
|
dist/ \
|
||||||
|
${PUBLISH_HOST}:${PUBLISH_PATH%/}/
|
Reference in New Issue