[Snyk] Security upgrade rails from 7.1.3.4 to 7.1.4.1 #1112
Travis CI / Travis CI - Pull Request
failed
Oct 18, 2024 in 5m 13s
Build Failed
The build failed. 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 #1112 [Snyk] Security upgrade rails from 7.1.3.4 to 7.1.4.1.
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 | 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"
]
}
Loading