Skip to content
Merged
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
2 changes: 1 addition & 1 deletion .github/workflows/example_expanded-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
# Manual dispatches should not take arguments.
# here we use a file (VERSION.example) to set the test version that will be used.
# Since this action actually produces an immutable release bundle you must remove it or change the version
# to remove the test bundle use the command `jf rbdell test-release --project test 1.2.3`
# to remove the test bundle use the command `jf release-bundle-delete-local test-release 1.2.9 --project=test`
# In a real CI/CD pipeline you could trigger on version tag or commit also. Here we use the file so we can show the behaviour on demand.
extract-version:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable_pr-hygiene.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ on:
types-requiring-jira:
required: false
type: string
default: feat, fix, docs, ci, refactor
default: feat, fix
description: >
Comma-separated list of conventional commit types that require a JIRA
ticket in the PR title. Types not in this list skip JIRA validation.
Expand Down
18 changes: 16 additions & 2 deletions .github/workflows/test_deploy-artifacts-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -318,9 +318,23 @@ jobs:

# --- cleanup (always runs) ---
# The fixture script creates deb, rpm, jar, nupkg, snupkg, npm, and generic
# artifacts. Even though we only verify npm now, the deploy uploads everything.

- name: Cleanup all test artifacts
- name: Cleanup test release bundles
if: always()
run: |
# Promoted bundles lock their artifacts and block re-deployment to the same
# paths. Delete all versions of test-release before wiping the repos so the
# artifact deletes below don't silently 409.
versions=$(jf release-bundle-search versions test-release \
--project=test --format=json 2>/dev/null \
|| echo '{"release_bundles":[]}')
echo "$versions" | jq -r '.release_bundles[].release_bundle_version' \
| while read -r v; do
echo "Deleting bundle: test-release $v"
jf release-bundle-delete-local test-release "$v" --project=test --quiet || true
done

- name: Cleanup test artifacts
if: always()
run: |
echo "Cleaning up all test artifacts from JFrog..."
Expand Down
Loading