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

Set up Commitizen, CircleCI, and semantic-release #50

Merged
merged 18 commits into from
Dec 4, 2018
Merged

Set up Commitizen, CircleCI, and semantic-release #50

merged 18 commits into from
Dec 4, 2018

Commits on Nov 30, 2018

  1. build(ci): Add CircleCI config

    This adds a CircleCI config file based on the same config I use for my own website. It makes it easy
    to have multiple steps running in parallel, such as running tests and coverage reports.
    trezy committed Nov 30, 2018
    Configuration menu
    Copy the full SHA
    bb76e85 View commit details
    Browse the repository at this point in the history
  2. build: Add Commitizen

    Forcing contributors to use Commitizen to format their commit messages will make our lives much
    simpler, especially once we've added `semantic-release`.
    trezy committed Nov 30, 2018
    Configuration menu
    Copy the full SHA
    7211f55 View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2018

  1. ci: Add semantic-release

    Add `semantic-release` to the repo and the build pipeline. This will handle automatically publishing
    to npm based on commit messages.
    
    #13
    trezy committed Dec 1, 2018
    Configuration menu
    Copy the full SHA
    aa75604 View commit details
    Browse the repository at this point in the history
  2. ci: Switch to the CircleCI Node container

    The Roll For Guild Node container doesn't include `git`, which is required by semantic-release.
    
    #13
    trezy committed Dec 1, 2018
    Configuration menu
    Copy the full SHA
    99d99ce View commit details
    Browse the repository at this point in the history
  3. ci: Remove working directory declaration from CI config

    I got a bunch of permission errors last time I tried to build in ~/app. I'm pretty sure building in
    the default directory should work just as well.
    trezy committed Dec 1, 2018
    Configuration menu
    Copy the full SHA
    ced0e3f View commit details
    Browse the repository at this point in the history
  4. ci: Remove containers entirely

    I've removed containers from tthe config entirely because I don't think we need them. Hopefully this
    will fix the build. 🤷🏻‍♂️
    trezy committed Dec 1, 2018
    Configuration menu
    Copy the full SHA
    d72246a View commit details
    Browse the repository at this point in the history
  5. ci: Switch back to containers

    Switching back to container because I have no idea how to fix the errors that came up without them.
    Additionally, I'm changing the working directory to `~/tmp` to see if that works better than the
    `~/app` folder.
    trezy committed Dec 1, 2018
    Configuration menu
    Copy the full SHA
    bbf3ee3 View commit details
    Browse the repository at this point in the history
  6. ci: Build app in the non-root user's folder

    I think the issue was that the app was being built into the root user's home directory rather than
    the `circleci` user's home directory. 🤞
    trezy committed Dec 1, 2018
    Configuration menu
    Copy the full SHA
    461d1e5 View commit details
    Browse the repository at this point in the history
  7. ci: Remove caching (temporarily)

    I finally figured it out. Restoring the cache was trying to restore the cache from an older build
    that used a different image in which the root user was the one doing all the tasks. I'm pushing a
    build that doesn't restore the cache, then I'll add those steps back in after the next build.
    trezy committed Dec 1, 2018
    Configuration menu
    Copy the full SHA
    a3c88d1 View commit details
    Browse the repository at this point in the history
  8. ci: Remove strict host key checking for Github

    By removing strict host key checking for Github, we shouldn't run into the issue where host
    authenticity verification stalls the deployment.
    trezy committed Dec 1, 2018
    Configuration menu
    Copy the full SHA
    c02ecd9 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    96a5c4e View commit details
    Browse the repository at this point in the history
  10. ci: Remove unnecessarily repository cloning

    Repository cloning in the deploy step was 100% unnecessary.
    trezy committed Dec 1, 2018
    Configuration menu
    Copy the full SHA
    65b1b76 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    723a265 View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2018

  1. Configuration menu
    Copy the full SHA
    fcd095d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9be86c0 View commit details
    Browse the repository at this point in the history
  3. ci: add commitlint

    Add `commitlint` to enforce proper formatting for all commit messages
    
    #13
    trezy committed Dec 2, 2018
    Configuration menu
    Copy the full SHA
    0d633ae View commit details
    Browse the repository at this point in the history

Commits on Dec 3, 2018

  1. ci: point CI to original repo

    I've updated the `package.json` so it points back at @BcRikko's repo instead of mine.
    
    #13
    trezy committed Dec 3, 2018
    Configuration menu
    Copy the full SHA
    e11603e View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2018

  1. Configuration menu
    Copy the full SHA
    dd8203c View commit details
    Browse the repository at this point in the history