Feature/gitops #37
@@ -13,8 +13,8 @@ _gitops_fail() {
|
|||||||
local env repo context
|
local env repo context
|
||||||
env=$(dirname "${INPUT_FILE}")
|
env=$(dirname "${INPUT_FILE}")
|
||||||
repo=$(basename "${SOURCE_REPO}")
|
repo=$(basename "${SOURCE_REPO}")
|
||||||
context="${repo}"
|
context="${repo} ${GITHUB_RUN_ID:-unknown}"
|
||||||
[ -n "${GIT_TAG_PREFIX:-}" ] && context="${repo}/${GIT_TAG_PREFIX}"
|
[ -n "${GIT_TAG_PREFIX:-}" ] && context="${repo}/${GIT_TAG_PREFIX} ${GITHUB_RUN_ID:-unknown}"
|
||||||
|
|
||||||
local SOURCE_URL="${GITEA_API_URL}/${SOURCE_REPO}/commit/${SOURCE_COMMIT}"
|
local SOURCE_URL="${GITEA_API_URL}/${SOURCE_REPO}/commit/${SOURCE_COMMIT}"
|
||||||
ROOT_REPO="${GITOPS_REPO}" ROOT_COMMIT="${GITOPS_SHA}" \
|
ROOT_REPO="${GITOPS_REPO}" ROOT_COMMIT="${GITOPS_SHA}" \
|
||||||
@@ -41,8 +41,8 @@ _gitops_success() {
|
|||||||
local env repo context
|
local env repo context
|
||||||
env=$(dirname "${INPUT_FILE}")
|
env=$(dirname "${INPUT_FILE}")
|
||||||
repo=$(basename "${SOURCE_REPO}")
|
repo=$(basename "${SOURCE_REPO}")
|
||||||
context="${repo}"
|
context="${repo} ${GITHUB_RUN_ID:-unknown}"
|
||||||
[ -n "${GIT_TAG_PREFIX:-}" ] && context="${repo}/${GIT_TAG_PREFIX}"
|
[ -n "${GIT_TAG_PREFIX:-}" ] && context="${repo}/${GIT_TAG_PREFIX} ${GITHUB_RUN_ID:-unknown}"
|
||||||
|
|
||||||
local SOURCE_URL="${GITEA_API_URL}/${SOURCE_REPO}/commit/${SOURCE_COMMIT}"
|
local SOURCE_URL="${GITEA_API_URL}/${SOURCE_REPO}/commit/${SOURCE_COMMIT}"
|
||||||
|
|
||||||
@@ -57,8 +57,8 @@ _gitops_nochange() {
|
|||||||
local env repo context
|
local env repo context
|
||||||
env=$(dirname "${INPUT_FILE}")
|
env=$(dirname "${INPUT_FILE}")
|
||||||
repo=$(basename "${SOURCE_REPO}")
|
repo=$(basename "${SOURCE_REPO}")
|
||||||
context="${repo}"
|
context="${repo} ${GITHUB_RUN_ID:-unknown}"
|
||||||
[ -n "${GIT_TAG_PREFIX:-}" ] && context="${repo}/${GIT_TAG_PREFIX}"
|
[ -n "${GIT_TAG_PREFIX:-}" ] && context="${repo}/${GIT_TAG_PREFIX} ${GITHUB_RUN_ID:-unknown}"
|
||||||
|
|
||||||
local SOURCE_URL="${GITEA_API_URL}/${SOURCE_REPO}/commit/${SOURCE_COMMIT}"
|
local SOURCE_URL="${GITEA_API_URL}/${SOURCE_REPO}/commit/${SOURCE_COMMIT}"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user