From 4a990e704bb4ece6b5464bb1b76046191a52f423 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Sat, 10 Jun 2023 14:58:15 +0200 Subject: [PATCH] added basic automation file --- automation/Dockerfile | 6 ++++++ automation/Jenkinsfile | 17 +++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 automation/Dockerfile create mode 100644 automation/Jenkinsfile diff --git a/automation/Dockerfile b/automation/Dockerfile new file mode 100644 index 0000000..9faa42f --- /dev/null +++ b/automation/Dockerfile @@ -0,0 +1,6 @@ +FROM python:3 + +RUN apt-get update +RUN apt-get --yes upgrade +#tzdata is a dependency, won't install otherwise +ARG DEBIAN_FRONTEND=noninteractive diff --git a/automation/Jenkinsfile b/automation/Jenkinsfile new file mode 100644 index 0000000..118cbf7 --- /dev/null +++ b/automation/Jenkinsfile @@ -0,0 +1,17 @@ +pipeline { + environment { + } + agent { + dockerfile { + dir 'automation' + reuseNode true + } + } + stages { + stage('Package') { + steps { + sh 'pip install .' + } + } + } +}