add a simple test

This commit is contained in:
Robin Müller 2023-09-12 10:28:39 +02:00
parent 6285d15873
commit dd3413a0bb
Signed by: muellerr
GPG Key ID: A649FB78196E3849
2 changed files with 17 additions and 0 deletions

View File

@ -4,3 +4,10 @@ RUN apt-get update
RUN apt-get --yes upgrade
# Required in case tzdata is a installed, won't install otherwise
ARG DEBIAN_FRONTEND=noninteractive
#ssh needs a valid user to work
RUN adduser --uid 114 jenkins
#add documentation server to known hosts
RUN echo "|1|/LzCV4BuTmTb2wKnD146l9fTKgQ=|NJJtVjvWbtRt8OYqFgcYRnMQyVw= ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBNL8ssTonYtgiR/6RRlSIK9WU1ywOcJmxFTLcEblAwH7oifZzmYq3XRfwXrgfMpylEfMFYfCU8JRqtmi19xc21A=" >> /etc/ssh/ssh_known_hosts
RUN echo "|1|CcBvBc3EG03G+XM5rqRHs6gK/Gg=|oGeJQ+1I8NGI2THIkJsW92DpTzs= ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBNL8ssTonYtgiR/6RRlSIK9WU1ywOcJmxFTLcEblAwH7oifZzmYq3XRfwXrgfMpylEfMFYfCU8JRqtmi19xc21A=" >> /etc/ssh/ssh_known_hosts

10
automation/Jenkinsfile vendored Normal file
View File

@ -0,0 +1,10 @@
pipeline {
agent { dockerfile true }
stages {
stage('Deployment') {
steps {
sh 'rsync -h'
}
}
}
}