Skip to content
This repository has been archived by the owner on Jan 1, 2024. It is now read-only.

Commit

Permalink
Fix script error
Browse files Browse the repository at this point in the history
  • Loading branch information
JonJagger committed Aug 13, 2021
1 parent 6ff6c62 commit d8ad22e
Showing 1 changed file with 34 additions and 32 deletions.
66 changes: 34 additions & 32 deletions sh/merkely.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,6 @@ merkely_declare_pipeline()
${MERKELY_CHANGE}
}


# - - - - - - - - - - - - - - - - - - -
on_ci_merkely_declare_pipeline()
{
if ! on_ci ; then
return
fi
merkely_declare_pipeline https://staging.app.merkely.com
merkely_declare_pipeline https://app.merkely.com
}

# - - - - - - - - - - - - - - - - - - -
merkely_log_artifact()
{
Expand All @@ -61,16 +50,6 @@ merkely_log_artifact()
${MERKELY_CHANGE}
}

# - - - - - - - - - - - - - - - - - - -
on_ci_merkely_log_artifact()
{
if ! on_ci ; then
return
fi
merkely_log_artifact https://staging.app.merkely.com
merkely_log_artifact https://app.merkely.com
}

# - - - - - - - - - - - - - - - - - - -
merkely_log_evidence()
{
Expand All @@ -94,17 +73,6 @@ merkely_log_evidence()
${MERKELY_CHANGE}
}

# - - - - - - - - - - - - - - - - - - -
on_ci_merkely_log_evidence()
{
if ! on_ci ; then
return
fi
write_evidence_json
merkely_log_evidence https://staging.app.merkely.com
merkely_log_evidence https://app.merkely.com
}

# - - - - - - - - - - - - - - - - - - -
write_evidence_json()
{
Expand All @@ -126,3 +94,37 @@ on_ci()
{
[ -n "${CIRCLECI:-}" ]
}

# - - - - - - - - - - - - - - - - - - -
on_ci_merkely_declare_pipeline()
{
if ! on_ci ; then
return
fi
merkely_declare_pipeline https://staging.app.merkely.com
merkely_declare_pipeline https://app.merkely.com
}

# - - - - - - - - - - - - - - - - - - -
on_ci_merkely_log_artifact()
{
if ! on_ci ; then
return
fi
merkely_log_artifact https://staging.app.merkely.com
merkely_log_artifact https://app.merkely.com
}

# - - - - - - - - - - - - - - - - - - -
on_ci_merkely_log_evidence()
{
if ! on_ci ; then
return
fi
write_evidence_json
merkely_log_evidence https://staging.app.merkely.com
merkely_log_evidence https://app.merkely.com
}



0 comments on commit d8ad22e

Please sign in to comment.