'update files with ansible'

This commit is contained in:
jonny 2021-03-31 13:27:38 +00:00
parent 91c3e112ad
commit 44f9722c95
2 changed files with 4 additions and 2 deletions

View File

@ -3,9 +3,11 @@ FROM quay.io/ansible/ansible-runner:stable-2.9-devel
ADD requirements.txt /tmp/requirements.txt
RUN pip3 install -r /tmp/requirements.txt && \
dnf install -y mariadb python3-virtualenv && \
curl -L https://get.helm.sh/helm-v2.9.1-linux-amd64.tar.gz -o /tmp/helm.tgz && \
tar -zxvf /tmp/helm.tgz --strip-components=1 -C /usr/local/bin linux-amd64/helm && \
virtualenv /var/lib/awx/my-venv && \
ln -s /usr/bin/python3 /usr/bin/python
VOLUME /runner
WORKDIR /runner

2
Jenkinsfile vendored
View File

@ -27,7 +27,7 @@ spec:
stage('Build with Kaniko') {
git url: 'ssh://git@git.ervine.org/jonny/x86_64-ansible-runner.git', credentialsId: 'jenkins-to-git'
container('kaniko') {
sh '/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=false --destination=harbor.ervine.dev/public/x86_64/alpine/ansible-runner-extra:2.9'
sh '/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=false --destination=harbor.ervine.dev/public/x86_64/alpine/ansible-runner-extra:2.9.1'
}
}
stage('Notify gchat') {