Pull Request #2955 Release 25 01 20

* feat: remove no longer needed logic

We no longer need extra credits in the plan to provide for user licenses. Therefore, we don't need to subtract user licenses from the plan credits when calculating the price.

* docs: mark unused method

Murtaza Khan avatar Murtaza Khan

Pull request event #27774.1 passed

  • VM size: premium
  • Ran for
AMD64
Node.js: 18
Git
travis-ci/travis-web:.travis.yml@3a1fb44
---
language: node_js
node_js: 18

env:
  global:
    - PATH=/snap/bin:$PATH
    - JOBS=1
    # See https://git.io/vdao3 for details.

os: linux
dist: focal

addons:
  - chrome: stable

cache:
  npm: false

before_install:
  - git config --global url."https://$GITHUB_PERSONAL_TOKEN@github.com/".insteadOf ssh://git@github.com
  - npm install -g greenkeeper-lockfile@1
  - gem install bundler:2.3.7

install:
  - npm ci

before_script:
  - export RANDOMISE=--random
  - echo $RANDOMISE
  - greenkeeper-lockfile-update

script:
  - ember -v
  - if [ -z "$TRY_CONFIG" ]; then npm run lint:js; fi
  - if [ -z "$TRY_CONFIG" ]; then ember exam --reporter dot $RANDOMISE; fi
  - if [[ ! -z "$TRY_CONFIG" ]]; then ember try:one $TRY_CONFIG --skip-cleanup; fi

after_script:
  - greenkeeper-lockfile-upload
  - "test $TRAVIS_PULL_REQUEST && test $TRAVIS_PULL_REQUEST != 'false' && $TRAVIS_SECURE_ENV_VARS == 'true' && ./config/deployment/deploy-pull-request.sh"

jobs:
  include:
    - if: type = cron
      env: TRY_CONFIG=ember-beta
    - if: type = cron
      env: TRY_CONFIG=ember-data-beta
    - node_js: 18
    - stage: ":ship: it to quay.io"
      dist: focal
      before_install: skip
      install: skip
      before_script: skip
      script: make ship
      if: (branch = enterprise-3.0 and type = push ) OR commit_message =~ /ship:docker/ OR env(SHIP_DOCKER) = true
      after_script: skip
  allow_failures:
    - env: TRY_CONFIG=ember-beta
    - env: TRY_CONFIG=ember-data-beta
Build Config
{
  "language": "node_js",
  "os": [
    "linux"
  ],
  "dist": "focal",
  "node_js": [
    "18"
  ],
  "env": {
    "global": [
      {
        "PATH": "/snap/bin:$PATH"
      },
      {
        "JOBS": "1"
      }
    ]
  },
  "addons": {
    "chrome": "stable"
  },
  "cache": {
    "npm": false
  },
  "before_install": [
    "git config --global url.\"https://$GITHUB_PERSONAL_TOKEN@github.com/\".insteadOf ssh://git@github.com",
    "npm install -g greenkeeper-lockfile@1",
    "gem install bundler:2.3.7"
  ],
  "install": [
    "npm ci"
  ],
  "before_script": [
    "export RANDOMISE=--random",
    "echo $RANDOMISE",
    "greenkeeper-lockfile-update"
  ],
  "script": [
    "ember -v",
    "if [ -z \"$TRY_CONFIG\" ]; then npm run lint:js; fi",
    "if [ -z \"$TRY_CONFIG\" ]; then ember exam --reporter dot $RANDOMISE; fi",
    "if [[ ! -z \"$TRY_CONFIG\" ]]; then ember try:one $TRY_CONFIG --skip-cleanup; fi"
  ],
  "after_script": [
    "greenkeeper-lockfile-upload",
    "test $TRAVIS_PULL_REQUEST && test $TRAVIS_PULL_REQUEST != 'false' && $TRAVIS_SECURE_ENV_VARS == 'true' && ./config/deployment/deploy-pull-request.sh"
  ],
  "jobs": {
    "include": [
      {
        "if": "type = cron",
        "env": [
          {
            "TRY_CONFIG": "ember-beta"
          }
        ]
      },
      {
        "if": "type = cron",
        "env": [
          {
            "TRY_CONFIG": "ember-data-beta"
          }
        ]
      },
      {
        "node_js": "18"
      },
      {
        "stage": ":ship: it to quay.io",
        "dist": "focal",
        "before_install": [
          "skip"
        ],
        "install": [
          "skip"
        ],
        "before_script": [
          "skip"
        ],
        "script": [
          "make ship"
        ],
        "if": "(branch = enterprise-3.0 and type = push ) OR commit_message =~ /ship:docker/ OR env(SHIP_DOCKER) = true",
        "after_script": [
          "skip"
        ]
      }
    ],
    "allow_failures": [
      {
        "env": [
          {
            "TRY_CONFIG": "ember-beta"
          }
        ]
      },
      {
        "env": [
          {
            "TRY_CONFIG": "ember-data-beta"
          }
        ]
      }
    ]
  }
}