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

Add .cirrus.yml for FreeBSD (amd64, i386) CI/CD #2592

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Commits on Feb 5, 2019

  1. Add .cirrus.yml for FreeBSD (amd64, i386) CI/CD

    For each pull request, it triggers a job consists of 'node.js version x
    architecture' matrix.
    When a tag is pushed, it creates a release idempotently, and publishes
    artifacts to the release.
    
    The versions of node.js and npm packages are selected from package
    management. This is because node.js official distribution does not
    (yet) offer FreeBSD binaries and `nvm` spends too much time compiling
    node.js and npm from source.
    
    `pkg` does not support installation of old version of packages with
    `pkg-install` command, so the `pkg-add` approach has been elected to
    install older node.js. For that matter, the exact version of node.js
    and npm packages are resolved using pattern matching.
    
    `cbsd` is used to create an i386 jail environment.
    
    Co-authored-by: Oleg Ginzburg <olevole@olevole.ru>
    am11 and olevole committed Feb 5, 2019
    Configuration menu
    Copy the full SHA
    43e078b View commit details
    Browse the repository at this point in the history
  2. Use scraping to get latest version of node/npm

    In FreeBSD VM hosted on Google GCE, with `pkg search` command, it fails
    to retrieve the latest list even after `pkg update -f` with `latest`
    repository selected (checked with `pkg -vv search`). There seems to be
    some caching mechanism involved, which I couldn't find a way to avoid.
    am11 committed Feb 5, 2019
    Configuration menu
    Copy the full SHA
    cf5f477 View commit details
    Browse the repository at this point in the history
  3. Switch to Sass org account

    am11 committed Feb 5, 2019
    Configuration menu
    Copy the full SHA
    eb5801f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fb33306 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2019

  1. Use cbsd v12.0.4 from ports

    am11 committed Feb 20, 2019
    Configuration menu
    Copy the full SHA
    4f6b9d8 View commit details
    Browse the repository at this point in the history
  2. Remove obsolete comment

    am11 committed Feb 20, 2019
    Configuration menu
    Copy the full SHA
    0aa9518 View commit details
    Browse the repository at this point in the history