Skip to content
This repository has been archived by the owner on Oct 3, 2018. It is now read-only.

mrtnzlml-archive/gcb_slack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

https://cloud.google.com/cloud-build/docs/configure-third-party-notifications#slack_notifications

Environment variables

  • SLACK_WEBHOOK

Triggering event

{
  "data": "eyJzdGF0dXMiOiJTVUNDRVNTIn0="
}

What? Why?

▲ mrtnzlml iex
Erlang/OTP 21 [erts-10.0.8] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [hipe] [dtrace]

Interactive Elixir (1.7.3) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)> Base.encode64("{\"status\":\"SUCCESS\"}") 
"eyJzdGF0dXMiOiJTVUNDRVNTIn0="

(expects PubSub event message)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published