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: add HOME ami chart #1666

Merged
merged 1 commit into from
Dec 4, 2024

fix: add home ami chart

551dd70
Select commit
Loading
Failed to load commit list.
Merged

fix: add HOME ami chart #1666

fix: add home ami chart
551dd70
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request succeeded Nov 26, 2024 in 56m 38s

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 #1666 fix: add HOME ami chart.
Any changes that have been made to the dev 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
6398.1 Build public site 18 PGPORT=5433 PGUSER=travis TEST_DATABASE_URL=postgres://localhost:5433/bloom_test NEW_RELIC_ENABLED=false NEW_RELIC_LOG_ENABLED=false Linux passed
6398.2 Build partners site 18 PGPORT=5433 PGUSER=travis TEST_DATABASE_URL=postgres://localhost:5433/bloom_test NEW_RELIC_ENABLED=false NEW_RELIC_LOG_ENABLED=false Linux passed
6398.3 Backend unit tests 18 PGPORT=5433 PGUSER=travis TEST_DATABASE_URL=postgres://localhost:5433/bloom_test NEW_RELIC_ENABLED=false NEW_RELIC_LOG_ENABLED=false Linux passed
6398.4 Backend e2e tests 18 PGPORT=5433 PGUSER=travis TEST_DATABASE_URL=postgres://localhost:5433/bloom_test NEW_RELIC_ENABLED=false NEW_RELIC_LOG_ENABLED=false Linux passed
6398.5 Public site unit tests 18 PGPORT=5433 PGUSER=travis TEST_DATABASE_URL=postgres://localhost:5433/bloom_test NEW_RELIC_ENABLED=false NEW_RELIC_LOG_ENABLED=false Linux passed
6398.6 Partners site unit tests 18 PGPORT=5433 PGUSER=travis TEST_DATABASE_URL=postgres://localhost:5433/bloom_test NEW_RELIC_ENABLED=false NEW_RELIC_LOG_ENABLED=false Linux passed

Stage 2: longer tests

This stage passed.

Job Node.js ENV OS State
6398.7 Partners site Cypress tests 18 PGPORT=5433 PGUSER=travis TEST_DATABASE_URL=postgres://localhost:5433/bloom_test NEW_RELIC_ENABLED=false NEW_RELIC_LOG_ENABLED=false Linux passed
6398.8 Public site Cypress tests 18 PGPORT=5433 PGUSER=travis TEST_DATABASE_URL=postgres://localhost:5433/bloom_test 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"
  ],
  "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\", :NEW_RELIC_ENABLED=>\"false\", :NEW_RELIC_LOG_ENABLED=>\"false\"}"
  ]
}