commit c7ae8dba6ba08cb80535aa469ecb6e1c5d9470c7 Author: Dustin C. Hatch Date: Wed Mar 25 08:22:10 2020 -0500 Initial commit diff --git a/Containerfile b/Containerfile new file mode 100644 index 0000000..9c57f3b --- /dev/null +++ b/Containerfile @@ -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/* diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..ca5d7ab --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,11 @@ +node 'arm' { + stage('Checkout SCM') { + checkout scm + } + stage('Agent Setup') { + def name = sh \ + script: 'sha256sum Containerfile', + returnStdout: true + sh "podman build -t ${name} -f Containerfile" + } +} diff --git a/build.sh b/build.sh new file mode 100644 index 0000000..718238f --- /dev/null +++ b/build.sh @@ -0,0 +1 @@ +python3.7 -m pip wheel -w dist/ homeassistant