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(scripts): Align start script with other apps #749

Merged
merged 1 commit into from
May 31, 2024

fix(scripts): Align start script with other apps

d01ac50
Select commit
Loading
Failed to load commit list.
Merged

fix(scripts): Align start script with other apps #749

fix(scripts): Align start script with other apps
d01ac50
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request succeeded May 30, 2024 in 19m 28s

Build Passed

The build passed, just like the previous build.

Details

This is a pull request build.

It is running a build against the merge commit, after merging #749 fix(scripts): Align start script with other apps.
Any changes that have been made to the master branch before the build ran are also included.

Jobs and Stages

This build has two jobs, running in two sequential stages.

Stage 1: Lint

This stage passed.

Job Node.js ENV OS State
2774.1 16 REPO="[email protected]:RedHatInsights/ocp-advisor-frontend-build" Linux passed

Stage 2: Test

This stage passed.

Job Node.js ENV OS State
2774.2 16 REPO="[email protected]:RedHatInsights/ocp-advisor-frontend-build" Linux passed

Build Configuration

Build Option Setting
Language Node.js
Operating System Linux (Xenial)
Node.js Version 16
Build Configuration
{
  "language": "node_js",
  "os": [
    "linux"
  ],
  "dist": "xenial",
  "notifications": {
    "email": [
      {
        "enabled": false
      }
    ]
  },
  "sudo": true,
  "node_js": [
    "16"
  ],
  "install": [
    "npm ci"
  ],
  "if": "tag IS blank",
  "jobs": {
    "include": [
      {
        "stage": "Lint",
        "script": [
          "npm run build && npm run lint"
        ]
      },
      {
        "stage": "Test",
        "script": [
          "npm run test && npm run test:ct"
        ],
        "after_success": [
          "npm run coverage"
        ]
      },
      {
        "stage": "Deploy",
        "if": "(fork = false) AND (branch IN (master, master-stable, prod-beta, prod-stable))",
        "script": [
          "npm run build && curl -sSL https://raw.githubusercontent.com/RedHatInsights/insights-frontend-builder-common/master/src/bootstrap.sh | bash -s"
        ]
      },
      {
        "stage": "Tag",
        "if": "(fork = false) AND (branch = master)",
        "script": [
          "npx semantic-release"
        ]
      }
    ]
  },
  "env": [
    "global={:REPO=>\"\\\"[email protected]:RedHatInsights/ocp-advisor-frontend-build\\\"\"}={:REPO_DIR=>\"\\\"ocp-advisor-frontend-build\\\"\"}={:BRANCH=>\"${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH}\"}"
  ]
}