Base AMI Packer Image
Please check the files under resources/requirements.*
to gather all the 3rd party component
used by the image
If you want to automatically provision the project on Jenkins, you can run
_mob_ci/scripts/register_project.py --help
- Use the
variables.json
to override the defaults inpacker.json
- Use the
_mob_ci/scripts/*
helpers to test/build the code
- In order to build in a unattended way you may need to export the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY
- If you want to base your build on a prexisting ami you can export the environment var ENV_BASE_IMAGE
these environment variables can be set to change the default behaviour:
- ENV_PACKER : overrides the packer tool to use
- ENV_PACKER_PROJECT : overrides the default name for the packer project file
When no environment variables are set, the _mob_ci/scripts/*
will try to lookup the credentials
using profile name. You can pass the profile name to each script as 1st argument.
eg.
./_mob_ci_scripts/build.sh devops
Giuseppe Chiesa mailto:[email protected]