wulkanowy/bitrise-redirector

This package is abandoned and no longer maintained. No replacement package was suggested.

Extends the Bitrise REST API with bookmarkable URLs for latest build and build artifacts

v0.3.0 2018-07-10 18:03 UTC

This package is auto-updated.

Last update: 2021-11-04 20:00:49 UTC


README

CircleCI Codecov StyleCI Latest Stable Version Total Downloads BCH compliance Scrutinizer Code Quality

Extends the Bitrise REST API with deterministic/bookmarkable URLs for:

  • latest build on a specific branch
  • build artifact download links

Deploy

Public instance

A public instance of bitrise-redirector is running here:

URL Patterns

API v0.1

Get redirected to the latest build on a specific branch (example):

  • GET /v0.1/apps/{slug}/builds/{branch}

Get json list of build artifacts for the latest build on a specific branch (example):

  • GET /v0.1/apps/{slug}/builds/{branch}/artifacts

Get redirected to the download link of a specific build artifact:

  • GET /v0.1/apps/{slug}/builds/{branch}/artifacts/{filename} - example
  • GET /v0.1/apps/{slug}/builds/{branch}/artifacts/{index} - example

Get info of last artifact on specific branch:

  • GET /v0.1/apps/{slug}/builds/{branch}/artifacts/{filename}/info - example
  • GET /v0.1/apps/{slug}/builds/{branch}/artifacts/{index}/info example

Development

Installation:

$ composer create-project wulkanowy/bitrise-redirector

Start server with API_KEY and DEBUG variable:

$ bin/console server:run

Open the webapp in browser:

http://127.0.0.1:8000