Skip to content

Commit

Permalink
Minor fixes (#29)
Browse files Browse the repository at this point in the history
* Deploy Network

* Add Permissions

* Minor changes

* Concurrency change

* Destroy Network

* Minor changes

* Minor changes

* Fix commit sha

* Minor changes

* Add Tests

* Disable Tests temporarily

* Nightly Build

* Minor fixes

* Big changes

* Minor changes

* Minor changes

* Minor changes

* Notification fixes

* Notification changes

* Minor changes

* Permissions fixes

* Minor changes

* Notification changes

* Minor changes

* Display commit on notifications

* Minor changes

* Minor fixes

* Logs notification fixes

* Minor changes
  • Loading branch information
bane authored Jan 26, 2024
1 parent 4073ece commit db76b1b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ jobs:
if: success() || failure()
with:
environment: nightly
logs: false
build_output: ${{ needs.build.outputs.workflow_output }}
unit_test_output: ${{ needs.tests.outputs.unit-test }}
e2e_polybft_test_output: ${{ needs.tests.outputs.e2e-polybft-test }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/notification-destroy-network.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
"type": "plain_text",
"text": "${{ inputs.logs == true && inputs.destroy_network_upload_logs == '' && 'Logs' || 'No Logs' }}"
},
"style": "${{ inputs.destroy_network_upload_logs == '' && env.succeed_bnt || env.failed_bnt }}",
"style": "${{ inputs.logs == true && inputs.destroy_network_upload_logs == '' && env.succeed_bnt || env.failed_bnt }}",
"url": "https://s3.console.aws.amazon.com/s3/buckets/${{ secrets.AWS_S3_BLADE_BUCKET }}?region=${{ vars.AWS_REGION }}&prefix=logs/${{ github.run_id }}/"
}
]
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/notification-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on: # yamllint disable-line rule:truthy
description: The environment to run against
type: string
required: true
logs:
description: Upload Logs
type: boolean
required: true
build_output:
description: Build output
type: string
Expand Down Expand Up @@ -135,9 +139,9 @@ jobs:
"type": "button",
"text": {
"type": "plain_text",
"text": "${{ inputs.destroy_network_logs_output == '' && 'Logs' || 'No Logs' }}"
"text": "${{ inputs.logs == true && inputs.destroy_network_logs_output == '' && 'Logs' || 'No Logs' }}"
},
"style": "${{ inputs.destroy_network_logs_output == '' && env.succeed_bnt || env.failed_bnt }}",
"style": "${{ inputs.logs == true && inputs.destroy_network_logs_output == '' && env.succeed_bnt || env.failed_bnt }}",
"url": "https://s3.console.aws.amazon.com/s3/buckets/${{ secrets.AWS_S3_BLADE_BUCKET }}?region=${{ vars.AWS_REGION }}&prefix=logs/${{ github.run_id }}/"
}
]
Expand Down

0 comments on commit db76b1b

Please sign in to comment.