Ansible playbooks for provisioning AWS CodeBuild build projects and CodePipeline pipelines.
This setup is used for running various internal AEM OpenCloud integration tests against real AEM instances. All public CI builds are available from Travis CI.
-
Either clone AEM Platform CI
git clone https://github.com/shinesolutions/aem-platform-ci.git
or download one of the released versions -
Install the following required tools:
Alternatively, you can use AEM Platform BuildEnv Docker container to run AEM Platform CI build targets.
-
Resolve the Python packages dependencies by running
make deps
GitHub token can be configured in scm.access_token
property in Ansible inventory and then you can pass it via config_path
.
Alternatively, you can also pass it via environment variable AOC_SERVICE_TOKEN
:
`AOC_SERVICE_TOKEN=<token> make create-packer-aem create-aem-aws-stack-builder config_path=<path/to/config/dir>`
- Set up the required AWS resources
- Create configuration file
- Create the build projects and pipelines:
make create-packer-aem create-aem-aws-stack-builder config_path=<path/to/config/dir>
- Delete the build projects and pipelines:
make delete-packer-aem delete-aem-aws-stack-builder config_path=<path/to/config/dir>