Zenodo Archive Guide¶
This guide details the process of archiving the Crucible testbed on Zenodo to support Academic Artifact Evaluation (AE) and earn publication badges.
Prerequisites¶
- A GitHub account with push access to the repository
- A Zenodo account (sign in via GitHub)
- ORCID (optional but recommended)
Step 1: Update CITATION.cff¶
The file CITATION.cff at the project root contains the structural metadata. Before tagging a release, populate your personal information:
authors:
- name: Your Name
email: "your.email@example.com" # Fill your real email
orcid: "0000-0000-0000-0000" # Fill your real ORCID
Step 2: Link GitHub to Zenodo¶
- Go to zenodo.org
- Sign in with your GitHub account
- Navigate to GitHub in the top menu
- Toggle ON for the
<your-github-username>/crucible_testbedrepository - Zenodo will now automatically trigger an archival snapshot upon every new Git release tag.
Step 3: Commit and Tag¶
Ensure the working tree is clean and push the target release tag:
# Ensure working tree is clean
git status
# Commit any pending changes
git add -A
git commit -m "v0.4.0 release"
# Tag the release
git tag -a v0.4.0 -m "Crucible v0.4.0 - Blockchain Bridge Security Research Testbed"
# Push the tag to GitHub
git push origin v0.4.0
Zenodo automatically initiates a draft record once the tag is pushed to GitHub.
Step 4: Review and Publish on Zenodo¶
- Wait 5-10 minutes for Zenodo to process the repository snapshot.
- Visit zenodo.org/deposit
- Open the draft record and review the metadata:
- Title, authors, and description are auto-filled from
CITATION.cff - License must be specified (e.g., MIT)
- Version should accurately reflect the tag (e.g., 0.4.0)
- For Academic Artifact Evaluation: Ensure access rights are set to "Restricted" so that only evaluators possessing the private link can access the archive prior to formal publication.
- Click "Publish" to finalize the record.
- Zenodo assigns a permanent DOI (e.g.,
10.5281/zenodo.XXXXXXX).
Step 5: Update CITATION.cff with DOI (Post-Tag)¶
The CITATION.cff file present at the tagged commit (v0.4.0) will not contain the Zenodo DOI since it is generated post-tag.
To resolve this, update the project root:
- Add the DOI to
CITATION.cff:
- Commit this addition (this acts as a post-tag commit):
What Gets Archived¶
Zenodo archives the complete git repository precisely at the tagged commit point:
| Category | Contents |
|---|---|
| Code | Python source files (CLI, plugin system, scenario engine, SDK) |
| Tests | Comprehensive unit tests, integration tests, and CliRunner end-to-end tests |
| Docs | Markdown documentation covering architecture, workflow, and references |
| Attack Packs | All registered attack plugins (e.g., Nomad, Poly Network, BNB, Horizon) |
| Docker | Containerization manifests (docker-compose.yml, Dockerfile) |
| Evidence | Target evidence files encompassing postmortem URLs and block references |
| Config | Build constraints (pyproject.toml, foundry.toml, testbed.yaml, CITATION.cff) |
| Experiments | YAML experiment configuration files |
Post-Archive Checklist¶
-
CITATION.cffpopulated with active email and ORCID - GitHub repository successfully linked to Zenodo
- Tag pushed to GitHub (e.g.,
v0.4.0) - Zenodo draft metadata reviewed
- Zenodo access restricted for blind evaluation
- Zenodo draft formally published
- Permanent DOI assigned and verified
- Post-tag commit applied to append DOI to
CITATION.cff - DOI link updated within
docs/AE_WALKTHROUGH.md