-
Notifications
You must be signed in to change notification settings - Fork 16
NET-4954: Remove/replace noncompliant actions #589
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,18 +4,7 @@ on: | |
schedule: | ||
- cron: '0 0 * * *' | ||
|
||
workflow_dispatch: | ||
inputs: | ||
debug_enabled: | ||
description: 'Start tmate session if any step fails' | ||
required: false | ||
type: boolean | ||
default: false # GitHub parses this value to string, see https://github.com/actions/runner/issues/1483 | ||
debug_timeout_minutes: | ||
description: 'How many minutes should the tmate session close itself after?' | ||
required: false | ||
type: string # No support for numeric value | ||
default: '10' | ||
workflow_dispatch: {} | ||
|
||
env: | ||
GO_VERSION: "1.19" | ||
|
@@ -123,21 +112,19 @@ jobs: | |
working-directory: "gateway-api/conformance" | ||
run: go test -v -timeout 10m ./ --gateway-class=consul-api-gateway | ||
|
||
- name: Setup tmate session | ||
uses: mxschmitt/action-tmate@v3 # TSCCR: no entry for repository "mxschmitt/action-tmate" | ||
if: failure() && github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled == 'true' | ||
timeout-minutes: ${{ fromJSON(github.event.inputs.debug_timeout_minutes) }} | ||
|
||
- name: Report Status | ||
- name: Report status | ||
if: always() && github.ref == 'refs/heads/main' | ||
uses: ravsamhq/notify-slack-action@v1 # TSCCR: no entry for repository "ravsamhq/notify-slack-action" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is being replaced by the official Slack action that now exists |
||
with: | ||
status: ${{ job.status }} | ||
message_format: '{emoji} *{workflow}/${{ matrix.cluster-type }} - ${{ matrix.config.name }}* {status_message} in <{repo_url}|{repo}> on <{commit_url}|{commit_sha}>' | ||
mention_groups: '!here' | ||
mention_groups_when: 'failure,warnings' | ||
uses: slackapi/slack-github-action@e28cf165c92ffef168d23c5c9000cffc8a25e117 # v1.24.0 | ||
env: | ||
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK | ||
SLACK_WEBHOOK_URL: ${{ secrets.ACTION_MONITORING_SLACK }} | ||
with: | ||
payload: | | ||
{ | ||
"Message": "conformance/${{ matrix.cluster-type }} - ${{ matrix.config.name }} ${{ job.status }}", | ||
"Repository": "<https://hashicorp/consul-api-gateway|hashicorp/consul-api-gateway>", | ||
"Commit": "${{ github.sha }}", | ||
} | ||
|
||
- name: Tear down EKS cluster | ||
if: always() && matrix.cluster-type == 'eks' | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Changes in this file mirror those in the |
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We've been unable to use this workflow for several releases now due to the default token assigned by GitHub Actions not having SSO enabled. Since we're not actively developing/releasing this repo anymore, I opted to just remove the workflow |
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The inputs were only used for controlling the tmux action, which we're no longer able to use