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

CI pipeline #24

Merged
merged 34 commits into from
Jul 4, 2019
Merged

CI pipeline #24

merged 34 commits into from
Jul 4, 2019

Conversation

unnawut
Copy link
Contributor

@unnawut unnawut commented May 31, 2019

Issue/Task Number: #10, #21
Closes #10
Closes #21

Overview

This PR sets up the CI pipeline so potterhat gets to build, lint, test, dialyze and deploy automatically.

Changes

  • Add update-versions.sh so subapp versions get updated automatically (copied from ewallet)
  • Add Makefile to manage build tasks
  • Add .circleci/* files for the CI steps
  • Add rootfs/* and rel/* files for distillery
  • Update Dockerfile to support releases

Implementation Details

Pretty much copy paste from other OmiseGO apps with minor edits.

Notes:

  • I'm using newer versions of .circleci/* files that have separated a lot of commands into its own script files, but synced back to be on par with all the build steps existing in the eWallet.
  • I'm using omisegoimages/ewallet-builder:stable for the build image and omisegoimages/ewallet-deploy:stable for deploy image. Not sure if potterhat also needs its own images.

Usage

With this PR landed, we should be able to setup CircleCI workflow for this repo & start seeing images on Docker Hub.

Impact

Shiny new stuff. Only breaks itself.

@unnawut unnawut added kind/enhancement 🚀 New feature or request p1/high This is something that should be done soon s2/wip 🚧 labels May 31, 2019
@unnawut unnawut self-assigned this May 31, 2019
@unnawut unnawut marked this pull request as ready for review June 18, 2019 12:03
@unnawut unnawut requested review from 0x234, sirn and T-Dnzt June 18, 2019 12:03
.circleci/ci_deploy.sh Show resolved Hide resolved
Dockerfile Outdated Show resolved Hide resolved
@unnawut unnawut changed the base branch from potterhat-node-orchestrator to master June 19, 2019 03:28
.circleci/ci_deploy.sh Outdated Show resolved Hide resolved
.circleci/config.yml Outdated Show resolved Hide resolved
Dockerfile Outdated Show resolved Hide resolved
Makefile Show resolved Hide resolved
Makefile Outdated Show resolved Hide resolved
docker-gen.sh Outdated Show resolved Hide resolved
docker-gen.sh Outdated Show resolved Hide resolved
docker-gen.sh Outdated Show resolved Hide resolved
docker-gen.sh Outdated Show resolved Hide resolved
update-versions.sh Outdated Show resolved Hide resolved
.circleci/slack.sh Outdated Show resolved Hide resolved
@unnawut unnawut requested a review from sirn June 19, 2019 13:25
@unnawut unnawut mentioned this pull request Jun 21, 2019
Copy link
Contributor

@sirn sirn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yolo

@unnawut unnawut merged commit 325e07b into master Jul 4, 2019
@unnawut unnawut deleted the deploy branch July 24, 2019 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement 🚀 New feature or request p1/high This is something that should be done soon s2/wip 🚧
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Configure build pipeline Deploy potterhat to omisego cluster
4 participants