Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
sailajakommineni committed Jan 25, 2024
1 parent 0170cca commit c8f92da
Showing 1 changed file with 16 additions and 11 deletions.
27 changes: 16 additions & 11 deletions .github/workflows/aws_besu_deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ name: Deploy BESU to an EKS Cluster
on:
# Manually trigger the workflow through the GitHub Actions UI
workflow_dispatch:
# inputs:
# action:
# description: 'Choose action: Deploy or Reset'
# required: false
# default: 'deploy'
# type: choice
# options:
# - 'deploy'
# - 'reset'
inputs:
action:
description: 'Choose action: Deploy or Reset'
required: false
default: 'deploy'
type: choice
options:
- 'deploy'
- 'reset'
paths-ignore:
- 'docs/**'
- '**/charts/**'
Expand Down Expand Up @@ -151,13 +151,18 @@ jobs:
pip3 install openshift=='0.13.1'
pip install ansible jmespath jinja2-time
ansible-galaxy collection install -r platforms/shared/configuration/requirements.yaml


if [ "${{ github.event.inputs.action }}" == "reset" ]; then
reset=true
else
reset=false
fi

# Deploy the BEVEL's BESU DLT platform
ansible-playbook platforms/shared/configuration/site.yaml \
-i platforms/shared/inventory/ansible_provisioners \
-e @build/network-besu.yaml \
-e 'ansible_python_interpreter=/usr/bin/python3'
-e 'ansible_python_interpreter=/usr/bin/python3' -e "reset=$reset"



0 comments on commit c8f92da

Please sign in to comment.