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

add AWS xray sdk for apm testing purposes #668

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

add AWS xray sdk for apm testing purposes

27c673b
Select commit
Loading
Failed to load commit list.
Open

add AWS xray sdk for apm testing purposes #668

add AWS xray sdk for apm testing purposes
27c673b
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Branch succeeded Jan 23, 2024 in 1m 59s

Build Passed

The build passed. This is a change from the previous build, which failed.

Details

This is a normal build for the add_aws_xray_sdk_apm branch. You should be able to reproduce it by checking out the branch locally.

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 Ruby
Operating System Linux (Jammy)
Ruby Version 3.1.4
Build Configuration
{
  "language": "ruby",
  "os": [
    "linux"
  ],
  "dist": "jammy",
  "rvm": [
    "3.1.4"
  ],
  "services": [
    "postgresql"
  ],
  "addons": {
    "postgresql": "14"
  },
  "cache": {
    "bundler": true
  },
  "env": [
    "global={:CF_ORG=>\"ccs-report-management-info\"}=CF_PASS=[secure] jobs={:API_ROOT=>\"'https://ccs.api/'\"}"
  ],
  "before_script": [
    "sudo apt-get -qq update",
    "sudo apt-get install -y postgresql-client",
    "psql -U postgres -c 'CREATE DATABASE DataSubmissionService_test;'",
    "curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64  > ./cc-test-reporter",
    "chmod +x ./cc-test-reporter",
    "./cc-test-reporter before-build",
    "bundle exec bin/rails db:migrate RAILS_ENV=test",
    "bundle exec rake AWS_ACCESS_KEY_ID=dummy AWS_SECRET_ACCESS_KEY=dummy AWS_S3_REGION=dummy AWS_S3_BUCKET=dummy SECRET_KEY_BASE=dummy DATABASE_URL=postgresql:does_not_exist --quiet assets:precompile"
  ],
  "before_deploy": [
    "echo \"install cloudfoundry cli\"",
    "wget -q -O - https://packages.cloudfoundry.org/debian/cli.cloudfoundry.org.key | sudo apt-key add -",
    "echo \"deb https://packages.cloudfoundry.org/debian stable main\" | sudo tee /etc/apt/sources.list.d/cloudfoundry-cli.list",
    "sudo apt-key adv --keyserver hkps://keyserver.ubuntu.com --refresh-keys",
    "sudo apt-get update",
    "sudo apt-get install cf7-cli"
  ],
  "deploy": [
    {
      "provider": "script",
      "script": "bash CF/deploy-app.sh -u $CF_USER -o $CF_ORG -p $CF_PASS -s staging",
      "on": {
        "branch": [
          "develop"
        ]
      }
    },
    {
      "provider": "script",
      "script": "bash CF/deploy-app.sh -u $CF_USER -o $CF_ORG -p $CF_PASS -s preprod",
      "on": {
        "branch": [
          "conclave"
        ]
      }
    },
    {
      "provider": "script",
      "script": "bash CF/deploy-app.sh -u $CF_USER -o $CF_ORG -p $CF_PASS -s prod",
      "on": {
        "branch": [
          "master"
        ]
      }
    }
  ],
  "after_script": [
    "./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT"
  ]
}