bitrise-io/bitrise-workflow-editor

Name: bitrise-workflow-editor

Owner: Bitrise

Description: Bitrise Workflow Editor

Created: 2016-09-01 10:50:36.0

Updated: 2018-03-31 00:06:53.0

Pushed: 2018-03-29 12:52:33.0

Homepage: null

Size: 4409

Language: HTML

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Bitrise Workflow Editor

How to install & use the Workflow Editor on your Mac/Linux
  1. Install the latest Bitrise CLI - it's a single binary command line tool
  2. Run bitrise setup just to be sure everything's prepared
  3. cd into a directory where you have your bitrise.yml, and run: bitrise :workflow-editor

That's all. The Workflow Editor is now part of the Bitrise CLI core plugins, so you don't have to install it manually.

To upgrade to the latest version of the Workflow Editor run:

ise plugin update workflow-editor

Join the Workflow Editor's discussion at: https://discuss.bitrise.io/t/workflow-editor-v2-offline-workflow-editor/39

Development
Build a stand-alone binary, with embedded resources
ise run go-install
Run in development mode
  1. In the Workflow Editor's directory, run docker-compose up.
  2. In your browser, you can reach the Workflow Editor on localhost:1234. Be aware that you usually have to wait a while.
  3. By default, the Workflow Editor will open the bitrise.yml and .bitrise.secrets.yml found in this folder. For testing purposes, you probably want to be able to edit custom files. This can be achieved by setting the TEST_BITRISE_CONFIG_PATH and TEST_BITRISE_SECRETS_PATH environment variables with the path pointing to the custom files' paths.
Run tests
  1. In the Workflow Editor's directory, run up-middleman-jasmine.
  2. In your browser, you can reach the tests on localhost:4567/jasmine.
  3. Every time you make a change to the code, you have to exit the running workflow and start it up again. You can make changes to the specs without having to do this.
New version release

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.