Company
Date Published
Author
Sébastien Pousse
Word count
2263
Language
English
Hacker News points
None

Summary

Bitrise is a solution that allows developers to industrialize their mobile compilations, creating dedicated virtual machines for defined periods of time, which execute workflows containing specific steps. A step is a cogwheel in the workflow, performing a particular task. Bitrise offers a catalogue of pre-written steps, and users can create their own by following a tutorial. The tutorial guides users through the process of creating a step to upload files to Wetransfer, a file-sharing service. The step requires input variables such as sender's email address, recipient's emails, message, and file paths, which are validated in the step's configuration file (step.yml). The script (upload.js) takes these parameters on standard input and uses the wetransfert library to upload files. Once created, users can share their steps with the Bitrise community, making it available for others to use. The tutorial covers topics such as creating a step, configuring variables, writing scripts, and auditing the step before sharing it.