CAS UI: Provision Production Infrastructure #111
Travis CI / Travis CI - Pull Request
succeeded
Aug 13, 2024 in 1m 5s
Build Passed
The build passed. This is a change from the previous build, which errored.
Details
This is a pull request build.
It is running a build against the merge commit, after merging #111 CAS UI: Provision Production Infrastructure.
Any changes that have been made to the develop branch before the build ran are also included.
Jobs and Stages
This build only has a single job.
You can use jobs to test against multiple versions of your runtime or dependencies, or to speed up your build.
Build Configuration
Build Option | Setting |
---|---|
Language | Shell |
Operating System | Linux (Xenial) |
Build Configuration
{
"language": "shell",
"os": [
"linux"
],
"dist": "xenial",
"branches": {
"only": [
"/^(feature|bugfix)\\/SCC-[0-9]+.*$/",
"/^(release)\\/.*$/",
"develop",
"main"
]
},
"before_install": [
"sudo rm -Rf terraform_\"$TF_VERSION\"_linux_amd64.zip",
"sudo rm -Rf terraform",
"wget https://releases.hashicorp.com/terraform/\"$TF_VERSION\"/terraform_\"$TF_VERSION\"_linux_amd64.zip",
"unzip terraform_\"$TF_VERSION\"_linux_amd64.zip",
"sudo mv terraform /usr/local/bin/",
"rm terraform_\"$TF_VERSION\"_linux_amd64.zip"
],
"deploy": [
{
"provider": "script",
"skip_cleanup": true,
"script": "CF_ENVIRONMENT=sbx2 bash ./deploy.sh",
"on": {
"all_branches": true,
"condition": [
"${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH} =~ ^(feature|bugfix)\\/SCC-[0-9]+.*$"
]
}
},
{
"provider": "script",
"skip_cleanup": true,
"script": "CF_ENVIRONMENT=dev bash ./deploy.sh",
"on": {
"branch": [
"develop"
]
}
},
{
"provider": "script",
"skip_cleanup": true,
"script": "CF_ENVIRONMENT=int bash ./deploy.sh",
"on": {
"branch": [
"release/int"
]
}
},
{
"provider": "script",
"skip_cleanup": true,
"script": "CF_ENVIRONMENT=nft bash ./deploy.sh",
"on": {
"branch": [
"release/nft"
]
}
},
{
"provider": "script",
"skip_cleanup": true,
"script": "CF_ENVIRONMENT=uat bash ./deploy.sh",
"on": {
"branch": [
"release/uat"
]
}
},
{
"provider": "script",
"skip_cleanup": true,
"script": "CF_ENVIRONMENT=pre bash ./deploy.sh",
"on": {
"branch": [
"release/pre"
]
}
},
{
"provider": "script",
"skip_cleanup": true,
"script": "CF_ENVIRONMENT=prd bash ./deploy.sh",
"on": {
"branch": [
"release/prd"
]
}
}
],
"env": [
"global={:TF_VERSION=>\"1.0.5\"}=AWS_ACCESS_KEY_ID=[secure]=AWS_SECRET_ACCESS_KEY=[secure]=S3_STATE_BUCKET_NAME=[secure]=DDB_LOCK_TABLE_NAME=[secure]=CF_USERNAME=[secure]=CF_PASSWORD=[secure]"
]
}
Loading