Skip to content

test PR #347

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
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
5 changes: 5 additions & 0 deletions .semaphore/semaphore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -815,6 +815,11 @@ blocks:
jobs:
- name: "\U0001F5BC️ Build test image"
commands:
- git status
- echo $SEMAPHORE_GIT_PR_NUMBER
- git branch
- git rev-parse --abbrev-ref HEAD | sed 's/[^a-z]//g' | cut -c 1-40
- git rev-parse
- make build
- make push
- name: "Guard: \U0001F4CB Provision Prod Image"
Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,13 @@ TAG_NAME=$(shell git describe --exact-match --tags HEAD 2>/dev/null)
#
ifneq ($(TAG_NAME),)
export BRANCH?=$(shell git branch --contains tags/$(TAG_NAME) | head -n 1 | sed '/HEAD/d' | sed 's/[^a-z]//g' | cut -c 1-40)
else ifneq ($(SEMAPHORE_GIT_PR_NUMBER),)
export BRANCH?=pr$(SEMAPHORE_GIT_PR_NUMBER)
else
export BRANCH?=$(shell git rev-parse --abbrev-ref HEAD | sed 's/[^a-z]//g' | cut -c 1-40)
endif


export REGISTRY_HOST?=local
export IMAGE?=$(APP_NAME)/$(BRANCH)
export MAIN_IMAGE?=$(APP_NAME)/main
Expand Down
2 changes: 1 addition & 1 deletion guard/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Guard

test
Service for handling user authentication, user lifecycle management, organizations and git aplication configuration.

### Development
Expand Down