1640/resolve reset confirmation #1650
Merged
Travis CI / Travis CI - Pull Request
succeeded
Dec 22, 2023 in 1h 4m 54s
Build Passed
The build passed. This is a change from the previous build, which failed.
Details
This is a pull request build.
It is running a build against the merge commit, after merging #1650 1640/resolve reset confirmation.
Any changes that have been made to the main branch before the build ran are also included.
Jobs and Stages
This build has eight jobs, running in two sequential stages.
Stage 1: test
This stage passed.
Job | Node.js | ENV | OS | State |
---|---|---|---|---|
6358.1 Build public site | 18 | PGPORT=5433 PGUSER=travis TEST_DATABASE_URL=postgres://localhost:5433/bloom_test REDIS_TLS_URL=redis://127.0.0.1:6379/0 NEW_RELIC_ENABLED=false NEW_RELIC_LOG_ENABLED=false | Linux | passed |
6358.2 Build partners site | 18 | PGPORT=5433 PGUSER=travis TEST_DATABASE_URL=postgres://localhost:5433/bloom_test REDIS_TLS_URL=redis://127.0.0.1:6379/0 NEW_RELIC_ENABLED=false NEW_RELIC_LOG_ENABLED=false | Linux | passed |
6358.3 Backend unit tests | 18 | PGPORT=5433 PGUSER=travis TEST_DATABASE_URL=postgres://localhost:5433/bloom_test REDIS_TLS_URL=redis://127.0.0.1:6379/0 NEW_RELIC_ENABLED=false NEW_RELIC_LOG_ENABLED=false | Linux | passed |
6358.4 Backend e2e tests | 18 | PGPORT=5433 PGUSER=travis TEST_DATABASE_URL=postgres://localhost:5433/bloom_test REDIS_TLS_URL=redis://127.0.0.1:6379/0 NEW_RELIC_ENABLED=false NEW_RELIC_LOG_ENABLED=false | Linux | passed |
6358.5 Public site unit tests | 18 | PGPORT=5433 PGUSER=travis TEST_DATABASE_URL=postgres://localhost:5433/bloom_test REDIS_TLS_URL=redis://127.0.0.1:6379/0 NEW_RELIC_ENABLED=false NEW_RELIC_LOG_ENABLED=false | Linux | passed |
6358.6 Partners site unit tests | 18 | PGPORT=5433 PGUSER=travis TEST_DATABASE_URL=postgres://localhost:5433/bloom_test REDIS_TLS_URL=redis://127.0.0.1:6379/0 NEW_RELIC_ENABLED=false NEW_RELIC_LOG_ENABLED=false | Linux | passed |
Stage 2: longer tests
This stage passed.
Job | Node.js | ENV | OS | State |
---|---|---|---|---|
6358.7 Partners site Cypress tests | 18 | PGPORT=5433 PGUSER=travis TEST_DATABASE_URL=postgres://localhost:5433/bloom_test REDIS_TLS_URL=redis://127.0.0.1:6379/0 NEW_RELIC_ENABLED=false NEW_RELIC_LOG_ENABLED=false | Linux | passed |
6358.8 Public site Cypress tests | 18 | PGPORT=5433 PGUSER=travis TEST_DATABASE_URL=postgres://localhost:5433/bloom_test REDIS_TLS_URL=redis://127.0.0.1:6379/0 NEW_RELIC_ENABLED=false NEW_RELIC_LOG_ENABLED=false | Linux | passed |
Build Configuration
Build Option | Setting |
---|---|
Language | Node.js |
Operating System | Linux (Focal) |
Node.js Version | 18 |
Build Configuration
{
"language": "node_js",
"os": [
"linux"
],
"dist": "focal",
"node_js": [
"18"
],
"services": [
"redis"
],
"before_install": [
"sudo sed -i -e '/local.*peer/s/postgres/all/' -e 's/peer\\|md5/trust/g' /etc/postgresql/*/main/pg_hba.conf",
"sudo systemctl restart postgresql@12-main",
"sleep 1"
],
"before_script": [
"cp sites/public/.env.template sites/public/.env",
"cp sites/partners/.env.template sites/partners/.env",
"cp backend/core/.env.template backend/core/.env"
],
"jobs": {
"include": [
{
"script": [
"yarn build:app:public"
],
"name": "Build public site"
},
{
"script": [
"yarn build:app:partners"
],
"name": "Build partners site"
},
{
"script": [
"yarn test:backend:core:testdbsetup && yarn test:backend:core"
],
"name": "Backend unit tests"
},
{
"script": [
"yarn test:e2e:backend:core"
],
"name": "Backend e2e tests"
},
{
"script": [
"yarn test:app:public:unit"
],
"name": "Public site unit tests"
},
{
"script": [
"yarn test:app:partners:unit"
],
"name": "Partners site unit tests"
},
{
"stage": "longer tests",
"name": "Partners site Cypress tests",
"script": [
"yarn cypress install",
"cd backend/core",
"yarn db:reseed:detroit",
"yarn nest start &",
"cd ../../sites/partners",
"yarn build",
"yarn start -p 3001 &",
"yarn wait-on \"http-get://localhost:3001\" && yarn cypress run",
"kill $(jobs -p) || true"
]
},
{
"stage": "longer tests",
"name": "Public site Cypress tests",
"script": [
"yarn cypress install",
"yarn db:reseed",
"cd backend/core",
"yarn nest start &",
"cd ../../sites/public",
"yarn build",
"yarn start -p 3000 &",
"yarn wait-on \"http-get://localhost:3000\" && yarn cypress run",
"kill $(jobs -p) || true"
]
}
]
},
"addons": {
"postgresql": "12",
"apt": {
"packages": [
"postgresql-12",
"postgresql-client-12",
"libgconf-2-4"
]
}
},
"env": [
"global={:PGPORT=>\"5433\", :PGUSER=>\"travis\", :TEST_DATABASE_URL=>\"postgres://localhost:5433/bloom_test\", :REDIS_TLS_URL=>\"redis://127.0.0.1:6379/0\", :NEW_RELIC_ENABLED=>\"false\", :NEW_RELIC_LOG_ENABLED=>\"false\"}"
]
}
Loading