This Github action is an official Relisio deploy utility.
Use it to create new deployment projects and release your products within your workspace.
- an active workspace at www.relisio.com or a self-hosted copy of Relisio;
- an
api-key
authorized to Create Projects (in Relisio, go to workspace settings, Api Keys to generate one); - a GitHub repository configured to run Actions;
- consider that Relisio is currently in Beta, and breaking changes may occur at any time,
- the
api-key
can be generated (and destroyed) from your workspace settings, - if you intend to update a product (instead of creating a new one), you must specify the
product-template-id
input, - optionally you may use this action together with
Studio-41/relisio-artefact-action@v1
Studio-41/relisio-product-action@v1
id | description | required | default |
---|---|---|---|
relisio-url | Relisio base url (only for self-hosted or enterprise installations) | false | https://relisio.com |
api-key | API key to authorize the deployment | true | |
workspace-path | Path of the Workspace where to publish the Product | true | |
product-id | ID of an existing product withing the workspace to include into the project and publish as part of the release | true | |
environment-name | The name of the environment to be included in the project. Relisio combines the product with the environment to present a unified release note considering both characteristics. If you want to deploy a matrix of releases for the same product, you can use a regex to match the name of all the environments for which to create a new release. | false | |
environment-type | The type of environment to be included in the project. This value can be used without or without the environment-name to better filter the list of environments to include in the release. (Development , Testing , QA , Training , Pre , Production , Unspecified , * ) |
false | Unspecified |
version | Visibility of the product withing the workspace (private, internal or public) | true | internal |
trigger-notifications | Trigger Notification tells Relisio to notify all the interested actors of the new release. Trigger Notification tells Relisio to notify all the interested actors of the new release. The notification includes all the authors, associated licensees and eventual internal contacts having email associated | false | false |
project-scope | Visibility of the release(s) created by this action (private, internal or public) | true | internal |
id | description |
---|---|
project-ids | A string representing the ids of the created projects (id1, id2, ..., idN ). |
public-urls | A string representing the public URLs of the created projects (url1, url2, ..., urlN ) (visible depending on the selected scope ) |
created-projects | The number of created projects within this action |
By creating a new Git Tag (having v
prefix), this example combines a product having ID 123456
with an production
environment named MacOs
and publishes as public
(accessible from the team workspace).
on:
push:
tags:
- "v*"
jobs:
deloy:
runs-on: ubuntu-latest
steps:
- name: Deploy As Relisio Product
uses: Studio-41/relisio-project-action@v1
with:
api-key: ${{ secrets.RELISIO_API_KEY }}
workspace-path: ${{ secrets.RELISIO_WORKSPACE }}
product-id: 123456
project-scope: public
version: Pre-Release
environment-name: MacOs
environment-type: production
The following example assumes multiple environments are configured within the name Dental clinic. The type selector specifies the "*
" value, telling Relisio to create a project for all the available Dental clinic' environments.
Separate communication will be created for each project, generating contextual emails.
on:
release:
types: [published]
jobs:
deloy:
runs-on: ubuntu-latest
steps:
- name: Deploy As Relisio Product
uses: Studio-41/relisio-project-action@v1
with:
api-key: ${{ secrets.RELISIO_API_KEY }}
workspace-path: ${{ secrets.RELISIO_WORKSPACE }}
product-id: 123456
version: ${{ github.event.release.name }}
project-scope: public
environment-name: Dental clinic
environment-type: *
trigger-notifications: true
The following example creates a release for the product 123456 for each Training
environment present in the workspace.
on:
release:
types: [published]
jobs:
deloy:
runs-on: ubuntu-latest
steps:
- name: Deploy As Relisio Product
uses: Studio-41/relisio-project-action@v1
with:
api-key: ${{ secrets.RELISIO_API_KEY }}
workspace-path: ${{ secrets.RELISIO_WORKSPACE }}
product-id: 123456
version: ${{ github.event.release.name }}
project-scope: public
environment-type: training
trigger-notifications: true
You can optionally configure your GitHub Workflow to upload any artefact as part of the new release (or product) using Studio-41/relisio-artefact-action@v1
(more details).
If you want to publish a new product as part of the release, use the Product action Studio-41/relisio-product-action@v1
(more details).
Relisio is a Studio 41 Software Design S.L. product.
Enterprise service is available for organizations wanting to implement Relisio into their current CI pipeline.
Contact us at [email protected]. We will do our best to assist you with Relisio related automation or queries.