-
Notifications
You must be signed in to change notification settings - Fork 0
/
buildspec.yaml
43 lines (41 loc) · 1.1 KB
/
buildspec.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
version: 0.2
env:
variables:
ENVIRONMENT: dev
TF_IN_AUTOMATION: 1
TERRAFORM_VERSION: 1.2.1
TERRATEST_VERSION: v0.40.4
BASE_PATH: terraform/modules
## TEST_ACCOUNT_ASSUMED_ROLE: "" In case of cross deployment this is the role in the target account.
phases:
# install:
# runtime-versions:
# golang: 1.16
# python: 3.8
# commands:
# - ls
# - ./install.sh
pre_build:
commands:
- echo Starting pre-build...
- ./prebuild.sh
build:
commands:
- aws s3 ls
- pip3 install -r requirements.txt
- python dev_deploy.py
# reports:
# cicd-reports:
# files:
# - "**/*.xml"
# - "**/*.log"
# base-directory: "terraform/modules/cicd/test/reports"
# discard-paths: no
artifacts:
files:
- glue_repo/terraform/modules/cicd/templates/dev_template_config.json
- glue_repo/terraform/modules/cicd/templates/prod_template_config.json
- glue_repo/terraform/modules/cicd/glue_scripts/Dev-DAT-5678_deployment.py
- glue_repo/terraform/modules/cicd/templates/cfn.yml
discard-paths: yes
name: output-artifacts