Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion notifications/lib/notifications/workers/coordinator.ex
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ defmodule Notifications.Workers.Coordinator do

Logger.info("#{request_id} #{event.pipeline_id} #{project.metadata.name}")

tag_name = if hook.git_ref_type == :TAG, do: hook.git_ref, else: nil
tag_name = if hook.git_ref_type == :TAG, do: hook.tag_name, else: nil
branch_name = if hook.git_ref_type == :TAG, do: nil, else: pipeline.branch_name
pr_branch_name = if hook.git_ref_type == :TAG, do: "", else: hook.pr_branch_name

Expand Down
4 changes: 2 additions & 2 deletions public-api-gateway/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ include ../Makefile
APP_NAME=public-api-gateway
APP_ENV=prod
SHELL=/bin/bash
TMP_REPO_DIR=/tmp/public_api
TMP_REPO_DIR?=/tmp/public_api

# Locally we want to bind volumes we're working on.
# On CI environment this is not necessary and would only slow us down. The data is already on the host.
Expand All @@ -20,7 +20,7 @@ endif

pb.gen: api.checkout
mkdir -p api/$(API)
docker run --rm -v $(PWD):/home/protoc/code -v $(TMP_REPO_DIR):/home/protoc/source -t golang:1.18-alpine sh -c /home/protoc/code/scripts/public_protos.sh
docker run --rm -v $(PWD):/home/protoc/code -v $(TMP_REPO_DIR):/home/protoc/source -t golang:1.22-alpine sh -c /home/protoc/code/scripts/public_protos.sh

api.checkout:
rm -rf $(TMP_REPO_DIR)
Expand Down
3 changes: 2 additions & 1 deletion public-api-gateway/api/artifacts.v1/artifacts.v1.pb.gw.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions public-api-gateway/api/jobs.v1alpha/jobs.v1alpha.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion public-api-gateway/api/jobs.v1alpha/jobs.v1alpha.pb.gw.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading