Skip to content

Commit

Permalink
Merge pull request #45 from hemanth22/v3.1.0
Browse files Browse the repository at this point in the history
V3.1.0 [Minor Release] Jenkins on CentOS Docker.
  • Loading branch information
hemanth22 authored Jun 16, 2019
2 parents 992bf1c + d4afcba commit 452049e
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hub_docker.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
curl -H "Content-Type: application/json" --data '{"source_type": "Branch", "source_name": "v3.0.0"}' -X POST https://registry.hub.docker.com/u/bitroid/centosjenkins/trigger/0c13655b-273e-44e8-bddc-d2d2d4b90082/
curl -H "Content-Type: application/json" --data '{"source_type": "Branch", "source_name": "v3.1.0"}' -X POST https://registry.hub.docker.com/u/bitroid/centosjenkins/trigger/0c13655b-273e-44e8-bddc-d2d2d4b90082/
2 changes: 1 addition & 1 deletion jenkins/Dockerfile
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM bitroid/centos:dind
COPY . .
RUN yum update -y;yum install -y initscripts;yum install -y epel-release;yum install -y wget yum-presto openssl ant mlocate vim curl git gcc make gcc-c++ bash-completion-extras which;yum install -y nginx fpaste ansible-* java-1.8.0-openjdk
RUN ansible-galaxy install geerlingguy.nginx;ansible-galaxy install geerlingguy.jenkins; wget -O jenkinsinstaller.playbook https://gist.githubusercontent.com/hemanth22/12c97105bdc99e8c699b44e39548fd37/raw/4614d104038bb08cc531a1ec4dde6688b4e40568/jenkinsinstaller.playbook; ansible-playbook jenkinsinstaller.playbook; ansible-galaxy install hemanth22.butler; wget -O butler.playbook https://gist.githubusercontent.com/hemanth22/003728968edf17785f646e81015d4bbe/raw/4a80f64dfb7ba71b919c7de44914fd78deb156eb/butler.playbook; ansible-playbook butler.playbook
RUN ansible-galaxy install geerlingguy.nginx;ansible-galaxy install geerlingguy.jenkins; wget -O jenkinsinstaller.playbook https://gist.githubusercontent.com/hemanth22/12c97105bdc99e8c699b44e39548fd37/raw/4614d104038bb08cc531a1ec4dde6688b4e40568/jenkinsinstaller.playbook; ansible-playbook jenkinsinstaller.playbook; ansible-galaxy install hemanth22.butler; wget -O butler.playbook https://gist.githubusercontent.com/hemanth22/003728968edf17785f646e81015d4bbe/raw/4a80f64dfb7ba71b919c7de44914fd78deb156eb/butler.playbook; ansible-playbook butler.playbook; yum install -y bcrypt docker-compose; useradd docker; usermod -a -G docker jenkins; usermod -a -G dockerroot jenkins
EXPOSE 8080
CMD systemctl start nginx
CMD ["/usr/sbin/init"]
Empty file modified jenkins/ansible.cfg
100644 → 100755
Empty file.
6 changes: 6 additions & 0 deletions jenkins/docker-entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash
set -e
/usr/sbin/init
systemctl enable docker
systemctl start docker

Empty file modified jenkins/plugins.txt
100644 → 100755
Empty file.

0 comments on commit 452049e

Please sign in to comment.