Skip to content

Commit

Permalink
testing, revert before merge
Browse files Browse the repository at this point in the history
Signed-off-by: Vitor Bandeira <vvbandeira@precisioninno.com>
  • Loading branch information
Vitor Bandeira committed Jul 29, 2024
1 parent abbc09d commit 869b789
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/github-actions-update-rules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,16 @@ jobs:
run: |
set -e
COMMIT_SHA=$(git rev-parse HEAD)
echo "PR has commit sha: $COMMIT_SHA"
COMMIT_SHA=abbc09da7f92f176a669e72d52653b80f074c12e
if [[ "${{ github.event.label.name }}" == "Update Rules Overwrite" ]]; then
echo "Calling updateRules.py with overwrite."
python flow/util/updateRules.py --keyFile "${CREDS_FILE}" \
--apiURL "${API_BASE_URL}" \
--commitSHA "${COMMIT_SHA}" \
--overwrite
else
echo "Calling updateRules.py"
python flow/util/updateRules.py --keyFile "${CREDS_FILE}" \
--apiURL "${API_BASE_URL}" \
--commitSHA "${COMMIT_SHA}"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/jenkins-check-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ while true; do

echo "Getting latest build ID..."
LAST_BUILD_ID=$(curl -s "${PR_BUILD_URL}/api/json?pretty" | jq -r '.lastBuild.number')
LAST_BUILD_ID=1
if [ "$LAST_BUILD_ID" == "null" ]; then
echo "Build id is null."
exit 1
Expand Down

0 comments on commit 869b789

Please sign in to comment.