common: scale down workloads based on middleware provided metadata #3485
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: json_format | |
on: [push] | |
jobs: | |
validation: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Validate json format | |
run: | | |
find -name upgrade_info.json -exec sh -c "cat {} | jq && exit 0 || echo $? >> .exit_status" \; | |
test -f jq_exit_status && rm .exit_status && exit 1; exit 0; |