-
Notifications
You must be signed in to change notification settings - Fork 24
44 lines (39 loc) · 1.07 KB
/
ci_cd.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# This just references the CI/CD workflow in the main OpenRemote repo
name: CI/CD
on:
# Push excluding tags and workflow changes
push:
branches:
- '**'
tags-ignore:
- '*.*'
paths-ignore:
- '.github/**'
- '.ci_cd/**'
- '**/*.md'
# When a release is published
release:
types: [published]
# Manual trigger
workflow_dispatch:
inputs:
ENVIRONMENT:
description: 'Environment to use (if any)'
MANAGER_TAG:
description: 'Manager docker tag to pull'
CLEAN_INSTALL:
description: 'Delete data before starting'
type: boolean
COMMIT:
description: 'Repo branch or commit SHA to checkout'
# Un-comment to monitor manager docker image tags for changes and trigger a redeploy when they change (see .ci_cd/README.md)
# schedule:
# - cron: '*/17 * * * *'
jobs:
call-main-repo:
name: CI/CD
uses: openremote/openremote/.github/workflows/ci_cd.yml@master
with:
INPUTS: ${{ toJSON(github.event.inputs) }}
secrets:
SECRETS: ${{ toJSON(secrets) }}