Sign inSign up

bankrate/jenkins-wordpress

By bankrate

Updated over 7 years ago

Wordpress image for wpcli and stuff.

Image
0

1.2K

bankrate/jenkins-wordpress repository overview

Pre-build Steps

There are some certificates that are required to build some of these images, but are not included in this repo. Check below under each image for any extra instructions.

Logging into AWS Docker registry

You need to authenticate first before you can push images to the AWS ECR. Run the following command to login:

make init

Image: jenkins-build-data

This is an image that is used for creating a "Data" container that is used by Jenkins Master

Image: jenkins-build-laravel

The private key that is paired with the public key in the authorized_keys file can be found here: Shared DevOps 1Password entry: Jenkins SSH Slave Private Key

You will need to add the private key as a credential (in the UI) to be used for accessing Docker slave servers via ssh.

Image: jenkins-master

The file that is most likely to be updated is jenkins-master/files/plugins.txt. This file contains the list of Jenkins plugins to be installed.

Image: jenkins-nginx

There are 2 certificates that need to be added before you can build this image. These files will be ignored in this git repo.

Create these files:

touch jenkins-nginx/certs/ci.bankrate.com.crt jenkins-nginx/certs/ci.bankrate.com.key

Get the content of these certs from 1Password from the shared DevOps vault:

  • ci.bankrate.com.crt
  • ci.bankrate.com.key

Ansible Container Installation

Ansible Container is used to build the Jenkins PHP build images. Run these commands to install Ansible Container:

cd /to/somewhere
git clone https://github.com/ansible/ansible-container.git
cd ansible-container
sudo pip install -e ".[docker]"

Also make sure that you set the ANSIBLE_CONFIG environment variable in your shell environment otherwise the Make command for Ansible Container will fail.
Set it to the root path of where you cloned the Bankrate Ansible (config-management) repo.

Tag summary

Content type

Image

Digest

Size

787.7 MB

Last updated

over 7 years ago

docker pull bankrate/jenkins-wordpress