Skip to content
This repository has been archived by the owner on Mar 2, 2022. It is now read-only.

Add support for building OCI images #95

Merged
merged 1 commit into from Oct 15, 2018
Merged

Conversation

scottslowe
Copy link
Contributor

This PR adds support for building Oracle Cloud Infrastructure (OCI) images via Wardroom. This PR makes the following changes:

  1. Adds an "oracle-oci" builder to packer.json
  2. Adds a variable file (oci-us-phoenix-1.json) that provides the base image OCID
  3. Adds content to packer/README.md with instructions on building OCI images

For reliable image builds on OCI, a change to ansible/playbook.yml to add retries to the Debian/Ubuntu Python installation is needed; we believe this to be due to less-than-reliable apt mirrors hosted by Oracle. I'm holding those changes in a separate branch until #93 is resolved. Otherwise, this PR should be ready to merge.

Update packer.json to include an OCI builder stanza. Add an OCI variables file named oci-us-phoenix-1.json for the us-phoenix-1 region. Edit packer/README.md with instructions for building OCI images.

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
@scottslowe
Copy link
Contributor Author

I rebased this PR against the latest changes in the master branch and tested again; no issues building Ubuntu 16.04 images prepped for both K8s 1.11.2 and K8s 1.11.3. I think this PR is ready for merge, assuming everyone agrees.

@craigtracey craigtracey merged commit d7606fc into vmware-archive:master Oct 15, 2018
@scottslowe scottslowe deleted the oci branch October 15, 2018 21:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants