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] Security upgrade rubocop from 1.65.0 to 1.66.0 #1117

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

fix: Gemfile & Gemfile.lock to reduce vulnerabilities

fc0a553
Select commit
Loading
Failed to load commit list.
Open

[Snyk] Security upgrade rubocop from 1.65.0 to 1.66.0 #1117

fix: Gemfile & Gemfile.lock to reduce vulnerabilities
fc0a553
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Branch succeeded Oct 28, 2024 in 8m 27s

Build Passed

The build passed.

Details

This is a normal build for the snyk-fix-7060929aca4df303d805fb40ac12527d 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.2.2
Build Configuration
{
  "language": "ruby",
  "os": [
    "linux"
  ],
  "dist": "jammy",
  "rvm": [
    "3.2.2"
  ],
  "services": [
    "postgresql"
  ],
  "addons": {
    "postgresql": "14",
    "apt": {
      "update": true,
      "packages": [
        "python3",
        "python3-pip",
        "python3-setuptools",
        "python3-wheel"
      ]
    }
  },
  "cache": {
    "bundler": true,
    "pip": true
  },
  "env": [
    "global={:CF_ORG=>\"ccs-report-management-info\"}=CF_PASS=[secure] jobs={:API_ROOT=>\"'https://ccs.api/'\"}"
  ],
  "before_install": [
    "gem install bundler -v 2.4.20",
    "curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64  > ./cc-test-reporter",
    "chmod +x ./cc-test-reporter",
    "bundle config gems.contribsys.com $BUNDLE_GEMS__CONTRIBSYS__COM"
  ],
  "install": [
    "bundle config set --local deployment 'true' without 'production' path 'vendor/bundle'",
    "bundle install --jobs=3 --retry=3",
    "pyenv install 3.8.12",
    "pyenv global 3.8.12",
    "pip3 install --upgrade \"pip < 21.0\"",
    "pip3 install --user --upgrade -r $PWD/requirements.txt"
  ],
  "before_script": [
    "sudo apt-get -qq update",
    "sudo apt-get install -y postgresql-client",
    "psql -U postgres -c 'CREATE DATABASE DataSubmissionServiceApi_test;'",
    "./cc-test-reporter before-build",
    "bundle exec 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"
  ],
  "bundler_args": "--without production",
  "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 -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 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"
  ]
}