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

[Snyk] Fix for 1 vulnerabilities #238

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

fix: Gemfile to reduce vulnerabilities

aac52f6
Select commit
Loading
Failed to load commit list.
Open

[Snyk] Fix for 1 vulnerabilities #238

fix: Gemfile to reduce vulnerabilities
aac52f6
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Branch required action May 30, 2024 in 1m 10s

Build Errored

The build errored.

Details

This is a normal build for the snyk-fix-fa132795f3157b6f7a377df9a70f39a8 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 (Bionic)
Ruby Version 3.0.3
Build Configuration
{
  "language": "ruby",
  "os": [
    "linux"
  ],
  "dist": "bionic",
  "rvm": [
    "3.0.3"
  ],
  "services": [
    "postgresql"
  ],
  "addons": {
    "postgresql": "10",
    "apt": {
      "packages": [
        "postgresql-10",
        "postgresql-client-10"
      ]
    }
  },
  "cache": {
    "bundler": true
  },
  "env": [
    "global={:CHECK_ENDPOINT_URL=>\"localhost:3000/documents\"}={:AUTH_TOKEN=>\"test\"}={:CORS_ORIGINS=>\"*\"}={:CF_ORG=>\"ccs-document-upload\"}=CF_PASS=[secure]"
  ],
  "before_install": [
    "gem install bundler -v 2.1.4"
  ],
  "install": [
    "bundle install --jobs=3 --retry=3"
  ],
  "before_script": [
    "psql -c 'create database ccs_conclave_document_upload_test;' -U postgres",
    "bundle exec rails db:migrate",
    "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"
  ],
  "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-get update -qq",
    "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 sandbox",
      "on": {
        "branch": [
          "sandbox"
        ]
      }
    },
    {
      "provider": "script",
      "script": "bash CF/deploy-app.sh -u $CF_USER -o $CF_ORG -p $CF_PASS -s development",
      "on": {
        "branch": [
          "develop"
        ]
      }
    },
    {
      "provider": "script",
      "script": "bash CF/deploy-app.sh -u $CF_USER -o $CF_ORG -p $CF_PASS -s pre-production",
      "on": {
        "branch": [
          "preprod"
        ]
      }
    },
    {
      "provider": "script",
      "script": "bash CF/deploy-app.sh -u $CF_USER -o $CF_ORG -p $CF_PASS -s production",
      "on": {
        "branch": [
          "main"
        ]
      }
    }
  ],
  "after_script": [
    "./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT"
  ]
}