├── .dockerignore ├── .github └── workflows │ ├── trigger-develop-resource-check.yml │ ├── trigger-git-resource-check.yml │ └── trigger-pr-resource-check.yml ├── .gitignore ├── Dockerfile ├── GITHUB_REPO_SETUP.md ├── LICENSE ├── Makefile ├── README.md ├── check ├── ci ├── pipeline.yml ├── repipe ├── scripts │ ├── release │ └── update-dockerhub-readme └── settings.yml ├── in ├── out └── test ├── .env ├── all.sh ├── attachment-sample.txt ├── attachments_no_text.out ├── attachments_no_text_and_attachments_file.out ├── attachments_with_text.out ├── attachments_with_text_and_attachments_file.out ├── combined_text_template_and_file.out ├── combined_text_template_and_file_empty.out ├── combined_text_template_and_file_missing.out ├── combined_text_template_and_file_with_vars.out ├── curl_failure.out ├── curl_failure_with_silent.out ├── curl_failure_without_redact_hook.out ├── env_file.out ├── metadata.out ├── metadata_with_payload.out ├── multiple_channels.out ├── no_attachments_no_text_and_attachments_file.out ├── no_attachments_with_text_and_attachments_file.out ├── sample-empty.txt ├── sample-with-vars.txt ├── sample.txt ├── text.out ├── text_file.out ├── text_file_empty.out ├── text_file_empty_suppress.out └── text_file_with_env_vars.out /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry-community/slack-notification-resource/HEAD/.dockerignore -------------------------------------------------------------------------------- /.github/workflows/trigger-develop-resource-check.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry-community/slack-notification-resource/HEAD/.github/workflows/trigger-develop-resource-check.yml -------------------------------------------------------------------------------- /.github/workflows/trigger-git-resource-check.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry-community/slack-notification-resource/HEAD/.github/workflows/trigger-git-resource-check.yml -------------------------------------------------------------------------------- /.github/workflows/trigger-pr-resource-check.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry-community/slack-notification-resource/HEAD/.github/workflows/trigger-pr-resource-check.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry-community/slack-notification-resource/HEAD/Dockerfile -------------------------------------------------------------------------------- /GITHUB_REPO_SETUP.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry-community/slack-notification-resource/HEAD/GITHUB_REPO_SETUP.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry-community/slack-notification-resource/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry-community/slack-notification-resource/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry-community/slack-notification-resource/HEAD/README.md -------------------------------------------------------------------------------- /check: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry-community/slack-notification-resource/HEAD/check -------------------------------------------------------------------------------- /ci/pipeline.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry-community/slack-notification-resource/HEAD/ci/pipeline.yml -------------------------------------------------------------------------------- /ci/repipe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry-community/slack-notification-resource/HEAD/ci/repipe -------------------------------------------------------------------------------- /ci/scripts/release: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry-community/slack-notification-resource/HEAD/ci/scripts/release -------------------------------------------------------------------------------- /ci/scripts/update-dockerhub-readme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry-community/slack-notification-resource/HEAD/ci/scripts/update-dockerhub-readme -------------------------------------------------------------------------------- /ci/settings.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry-community/slack-notification-resource/HEAD/ci/settings.yml -------------------------------------------------------------------------------- /in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry-community/slack-notification-resource/HEAD/in -------------------------------------------------------------------------------- /out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry-community/slack-notification-resource/HEAD/out -------------------------------------------------------------------------------- /test/.env: -------------------------------------------------------------------------------- 1 | VERSION=1.0.1 2 | QUALITY_GATE=B (ERROR) 3 | WITH_PIPE= 4 | with_GLOB=./path/to/*.jar -------------------------------------------------------------------------------- /test/all.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry-community/slack-notification-resource/HEAD/test/all.sh -------------------------------------------------------------------------------- /test/attachment-sample.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry-community/slack-notification-resource/HEAD/test/attachment-sample.txt -------------------------------------------------------------------------------- /test/attachments_no_text.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry-community/slack-notification-resource/HEAD/test/attachments_no_text.out -------------------------------------------------------------------------------- /test/attachments_no_text_and_attachments_file.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry-community/slack-notification-resource/HEAD/test/attachments_no_text_and_attachments_file.out -------------------------------------------------------------------------------- /test/attachments_with_text.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry-community/slack-notification-resource/HEAD/test/attachments_with_text.out -------------------------------------------------------------------------------- /test/attachments_with_text_and_attachments_file.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry-community/slack-notification-resource/HEAD/test/attachments_with_text_and_attachments_file.out -------------------------------------------------------------------------------- /test/combined_text_template_and_file.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry-community/slack-notification-resource/HEAD/test/combined_text_template_and_file.out -------------------------------------------------------------------------------- /test/combined_text_template_and_file_empty.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry-community/slack-notification-resource/HEAD/test/combined_text_template_and_file_empty.out -------------------------------------------------------------------------------- /test/combined_text_template_and_file_missing.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry-community/slack-notification-resource/HEAD/test/combined_text_template_and_file_missing.out -------------------------------------------------------------------------------- /test/combined_text_template_and_file_with_vars.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry-community/slack-notification-resource/HEAD/test/combined_text_template_and_file_with_vars.out -------------------------------------------------------------------------------- /test/curl_failure.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry-community/slack-notification-resource/HEAD/test/curl_failure.out -------------------------------------------------------------------------------- /test/curl_failure_with_silent.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry-community/slack-notification-resource/HEAD/test/curl_failure_with_silent.out -------------------------------------------------------------------------------- /test/curl_failure_without_redact_hook.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry-community/slack-notification-resource/HEAD/test/curl_failure_without_redact_hook.out -------------------------------------------------------------------------------- /test/env_file.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry-community/slack-notification-resource/HEAD/test/env_file.out -------------------------------------------------------------------------------- /test/metadata.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry-community/slack-notification-resource/HEAD/test/metadata.out -------------------------------------------------------------------------------- /test/metadata_with_payload.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry-community/slack-notification-resource/HEAD/test/metadata_with_payload.out -------------------------------------------------------------------------------- /test/multiple_channels.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry-community/slack-notification-resource/HEAD/test/multiple_channels.out -------------------------------------------------------------------------------- /test/no_attachments_no_text_and_attachments_file.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry-community/slack-notification-resource/HEAD/test/no_attachments_no_text_and_attachments_file.out -------------------------------------------------------------------------------- /test/no_attachments_with_text_and_attachments_file.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry-community/slack-notification-resource/HEAD/test/no_attachments_with_text_and_attachments_file.out -------------------------------------------------------------------------------- /test/sample-empty.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/sample-with-vars.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry-community/slack-notification-resource/HEAD/test/sample-with-vars.txt -------------------------------------------------------------------------------- /test/sample.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry-community/slack-notification-resource/HEAD/test/sample.txt -------------------------------------------------------------------------------- /test/text.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry-community/slack-notification-resource/HEAD/test/text.out -------------------------------------------------------------------------------- /test/text_file.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry-community/slack-notification-resource/HEAD/test/text_file.out -------------------------------------------------------------------------------- /test/text_file_empty.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry-community/slack-notification-resource/HEAD/test/text_file_empty.out -------------------------------------------------------------------------------- /test/text_file_empty_suppress.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry-community/slack-notification-resource/HEAD/test/text_file_empty_suppress.out -------------------------------------------------------------------------------- /test/text_file_with_env_vars.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry-community/slack-notification-resource/HEAD/test/text_file_with_env_vars.out --------------------------------------------------------------------------------