git username & email
CI Feature / Load example-gitea-env.conf to pipeline env (push) Successful in 22s
POC GitOps E2E / e2e (push) Successful in 53s
unit-tests Bats test report
CI Feature / Bats tests (push) Failing after 1m35s
acc-tests Cucumber test report
CI Feature / Cucumber tests (push) Failing after 1m35s
CI Feature / Report Summary (push) Successful in 6s
CI Feature / Load example-gitea-env.conf to pipeline env (push) Successful in 22s
POC GitOps E2E / e2e (push) Successful in 53s
unit-tests Bats test report
CI Feature / Bats tests (push) Failing after 1m35s
acc-tests Cucumber test report
CI Feature / Cucumber tests (push) Failing after 1m35s
CI Feature / Report Summary (push) Successful in 6s
This commit is contained in:
@@ -56,7 +56,9 @@ _gitops_update() {
|
|||||||
cd "${CLONE_DIR}" || _gitops_fail "Failed to enter clone directory"
|
cd "${CLONE_DIR}" || _gitops_fail "Failed to enter clone directory"
|
||||||
yq eval -i "${YQ_EXPR}" "${INPUT_FILE}" || _gitops_fail "Failed to update ${INPUT_FILE}"
|
yq eval -i "${YQ_EXPR}" "${INPUT_FILE}" || _gitops_fail "Failed to update ${INPUT_FILE}"
|
||||||
git add "${INPUT_FILE}" || _gitops_fail "Failed to stage ${INPUT_FILE}"
|
git add "${INPUT_FILE}" || _gitops_fail "Failed to stage ${INPUT_FILE}"
|
||||||
git commit -m "[skip ci] gitops: update version to ${VERSION}" || _gitops_fail "Failed to commit"
|
git -c user.name="gitea-ci-bot" \
|
||||||
|
-c user.email="ci@keskikuja.site" \
|
||||||
|
commit -m "[skip ci] gitops: update version to ${VERSION}" || _gitops_fail "Failed to commit"
|
||||||
GITOPS_SHA="$(git rev-parse HEAD)"
|
GITOPS_SHA="$(git rev-parse HEAD)"
|
||||||
git push || _gitops_fail "Failed to push"
|
git push || _gitops_fail "Failed to push"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user