Replicating Jenkins Build_ami

 

Configuration

Build parameters

  • play (string) : forum, edxapp, xqueue, etc
  • deployment (string) : edx, edge, etc

  • environment (string) : stage,prod, etc

  • refs (yaml) : repo revisions to pass to abbey. This is provided in YAML yntax, and we put the contents in a file that abbey reads. Refs are different from 'vars' in that each ref is set as a tag on output AMI.

  • vars (yaml) : other vars to pass to abbey. This is provided in YAML syntax, and we put the contents in a file that abbey reads.

  • configuration (string) The GITREF of configuration to use. Leave blank to default to master.

  • configuration_secure (string) : The GITREF of configuration-secure repository to use. Leave blank to default to master.

  • base_ami (string) : Optional AMI to use as base AMI for abbey instance, see Single-AWS-server-installation-using-Amazon-Machine-Image

  • use_blessed (boolean) : whether or not to use blessed AMIs

Configure edxapp repo

Change the repo if edxapp

edx_platform_repo: "https://{{ COMMON_GIT_MIRROR }}/edx/edx-platform.git"
# `edx_platform_version` can be anything that git recognizes as a commit
# reference, including a tag, a branch name, or a commit hash
edx_platform_version: 'release'

Configure theme

Add to the refs section the following variables if you want to change default theme, here the default values

edxapp_use_custom_theme: false
edxapp_theme_name: ""
edxapp_theme_source_repo: 'https://{{ COMMON_GIT_MIRROR }}/Stanford-Online/edx-theme.git'
edxapp_theme_version: 'master'