Initial commit

Dustin 2020-03-25 08:22:10 -05:00
commit 3134930d5f
3 changed files with 24 additions and 0 deletions

7
Containerfile Normal file
View File

@ -0,0 +1,7 @@
FROM arm32v7/python:3.7-slim
RUN apt update && apt install -y \
gcc \
libffi-dev \
libssl-dev \
&& rm -rf /var/lib/apt/lists/*

16
Jenkinsfile vendored Normal file
View File

@ -0,0 +1,16 @@
def containerName
node('arm') {
stage('Checkout SCM') {
checkout scm
}
stage('Agent Setup') {
containerName = sh \
script: 'sha256sum Containerfile',
returnStdout: true
sh "podman build -t ${containerName} -f Containerfile"
}
stage('Build Wheels') {
sh "podman run ${containerName} -w ${WORKSPACE} -v ${WORKSPACE}:${WORKSPACE} sh build.sh"
}
}

1
build.sh Normal file
View File

@ -0,0 +1 @@
python3.7 -m pip wheel -w dist/ homeassistant