Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename the autoscaling policies #45

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Rename the autoscaling policies

f4f3e83
Select commit
Loading
Failed to load commit list.
Open

Rename the autoscaling policies #45

Rename the autoscaling policies
f4f3e83
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request succeeded Jul 14, 2023 in 19s

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 #45 Rename the autoscaling policies.
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]"
  ]
}