Skip to content

Commit

Permalink
Checking in changes prior to tagging of version v0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mizzy committed Jun 30, 2020
1 parent 9a503b7 commit c9c8698
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## [v0.5.0](https://github.com/aktsk/bqnotify/compare/v0.4.0...v0.5.0) (2020-06-30)

* Use BQNOTIFY_PROJECT environment variable instead of the one defined in config.yaml [#22](https://github.com/aktsk/bqnotify/pull/22) ([mizzy](https://github.com/mizzy))

## [v0.4.0](https://github.com/aktsk/bqnotify/compare/v0.3.0...v0.4.0) (2020-06-30)

* Use GCP_PROJECT environment variable instead of the one defined in config.yaml [#21](https://github.com/aktsk/bqnotify/pull/21) ([mizzy](https://github.com/mizzy))
Expand Down
3 changes: 3 additions & 0 deletions example/cloud-functions/bqnotify.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ package example

import (
"context"
"log"
"os"

"github.com/aktsk/bqnotify/lib/runner"
)
Expand All @@ -13,6 +15,7 @@ type PubSubMessage struct {

// BqNotify is a main function to run bqnotify on Cloud Functions
func BqNotify(ctx context.Context, m PubSubMessage) error {
log.Printf("GCP_PROJECT: %s\n", os.Getenv("GCP_PROJECT"))
err := runner.Run("./serverless_function_source_code/config.yaml")
if err != nil {
return err
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/aktsk/bqnotify/lib/runner"
)

var version = "0.4.0"
var version = "0.5.0"

func main() {
err := runner.Run("config.yaml")
Expand Down

0 comments on commit c9c8698

Please sign in to comment.