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

fix: pull in site header changes #1639

Draft
wants to merge 1 commit into
base: dev
Choose a base branch
from

fix: pull in site header changes

e8ad780
Select commit
Loading
Failed to load commit list.
Draft

fix: pull in site header changes #1639

fix: pull in site header changes
e8ad780
Select commit
Loading
Failed to load commit list.
This check has been archived and is scheduled for deletion. Learn more about checks retention
Travis CI / Travis CI - Branch succeeded Sep 20, 2023 in 47m 24s

Build Passed

The build passed.

Details

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

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
6316.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
6316.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
6316.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
6316.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
6316.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
6316.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
6316.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
6316.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\"}"
  ]
}