-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (37 loc) · 1.35 KB
/
trigger-devnet-reset.yaml
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
---
name: trigger-devnet-reset
on:
workflow_dispatch:
inputs:
override_tag:
description: "lotus tag"
lotus_install_network:
description: "network to build lotus tools"
default: "butterflynet"
lotus_deploy_network:
description: "network to find ansible host"
default: "butterfly.fildev.network"
slack_channel:
description: "the slack channel where notifications are sent"
default: "netops-circleci-test"
circle_branch:
description: "circleci branch (used for testing new lotus-infra deploy code)"
default: master
jobs:
trigger-circleci:
runs-on: ubuntu-latest
steps:
- name: trigger
uses: promiseofcake/circleci-trigger-action@v1
with:
user-token: ${{ secrets.CIRCLE_TOKEN }}
project-slug: filecoin-project/lotus-infra
branch: ${{ github.event.inputs.circle_branch }}
payload: |
{
"api_workflow_requested": "lotus-devnet-ansible-reset",
"override_tag": "${{ github.event.inputs.override_tag }}",
"lotus_install_network": "${{ github.event.inputs.lotus_install_network }}",
"lotus_deploy_network": "${{ github.event.inputs.lotus_deploy_network }}",
"slack_channel": "${{ github.event.inputs.slack_channel }}"
}