-
Notifications
You must be signed in to change notification settings - Fork 63
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
30 lines (27 loc) · 819 Bytes
/
.gitlab-ci.yml
File metadata and controls
30 lines (27 loc) · 819 Bytes
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
before_script:
- touch .variables
- apt-get update
- apt-get -y install python-pip python-dev build-essential
- pip install awscli --upgrade
- test $SPEL_CI == "true" && echo "export SPEL_VERSION=$(date +%Y.%m.dev%s)" >> .variables || true
commercial_build_job:
variables:
AWS_REGION: "us-east-1"
SOURCE_AMI_CENTOS7_HVM: "ami-090b9dabe1c9f40b3"
SOURCE_AMI_RHEL7_HVM: "ami-0394fe9914b475c53"
script:
- source .variables
- make
govcloud_build_job:
variables:
AWS_REGION: "us-gov-west-1"
SOURCE_AMI_CENTOS7_HVM: "ami-faae349b"
SOURCE_AMI_RHEL7_HVM: "ami-91d649f0"
SPEL_SSM_ACCESS_KEY: "/spel/govcloud/access-key"
SPEL_SSM_SECRET_KEY: "/spel/govcloud/secret-key"
script:
- source .variables
- make
after_script:
- source .variables
- make post_build