'update files with ansible'
This commit is contained in:
parent
91c3e112ad
commit
44f9722c95
@ -3,9 +3,11 @@ FROM quay.io/ansible/ansible-runner:stable-2.9-devel
|
|||||||
ADD requirements.txt /tmp/requirements.txt
|
ADD requirements.txt /tmp/requirements.txt
|
||||||
RUN pip3 install -r /tmp/requirements.txt && \
|
RUN pip3 install -r /tmp/requirements.txt && \
|
||||||
dnf install -y mariadb python3-virtualenv && \
|
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
|
ln -s /usr/bin/python3 /usr/bin/python
|
||||||
|
|
||||||
|
|
||||||
VOLUME /runner
|
VOLUME /runner
|
||||||
|
|
||||||
WORKDIR /runner
|
WORKDIR /runner
|
||||||
|
|||||||
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -27,7 +27,7 @@ spec:
|
|||||||
stage('Build with Kaniko') {
|
stage('Build with Kaniko') {
|
||||||
git url: 'ssh://git@git.ervine.org/jonny/x86_64-ansible-runner.git', credentialsId: 'jenkins-to-git'
|
git url: 'ssh://git@git.ervine.org/jonny/x86_64-ansible-runner.git', credentialsId: 'jenkins-to-git'
|
||||||
container('kaniko') {
|
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') {
|
stage('Notify gchat') {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user