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

[Platform]: fix: travis deploy #528

Merged
merged 1 commit into from
Nov 11, 2024

fix: travis deploy

0f6a3de
Select commit
Loading
Failed to load commit list.
Merged

[Platform]: fix: travis deploy #528

fix: travis deploy
0f6a3de
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Branch succeeded Nov 11, 2024 in 3m 43s

Build Passed

The build passed.

Details

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

Jobs and Stages

This build only has a single job.
You can use jobs to test against multiple versions of your runtime or dependencies, or to speed up your build.

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"
  ],
  "cache": {
    "directories": [
      "node_modules"
    ]
  },
  "install": [
    "yarn"
  ],
  "before_script": [
    "export NODE_OPTIONS=--max_old_space_size=4096"
  ],
  "script": [
    "yarn build:genetics",
    "yarn build:platform"
  ],
  "after_success": [
    "cd apps/platform/bundle-platform",
    "tar czvf ../bundle-platform.tgz *",
    "cd ..",
    "mv bundle-platform.tgz ../../bundle-platform.tgz",
    "cd ../..",
    "cd apps/genetics/bundle-genetics",
    "tar czvf ../bundle-genetics.tgz *",
    "cd ..",
    "mv bundle-genetics.tgz ../../bundle-genetics.tgz",
    "cd ../.."
  ],
  "before_deploy": [
    "yes | gem update --system --force",
    "gem install bundler",
    "gem install uri",
    "gem install logger"
  ],
  "deploy": [
    {
      "provider": "releases",
      "file": [
        "bundle-platform.tgz",
        "bundle-genetics.tgz"
      ],
      "skip_cleanup": true,
      "on": {
        "tags": true
      },
      "token": "$GITHUB_TOKEN"
    }
  ]
}