Skip to content

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
  1. Go to zenodo.org
  2. Sign in with your GitHub account
  3. Navigate to GitHub in the top menu
  4. Toggle ON for the <your-github-username>/crucible_testbed repository
  5. 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

  1. Wait 5-10 minutes for Zenodo to process the repository snapshot.
  2. Visit zenodo.org/deposit
  3. Open the draft record and review the metadata:
  4. Title, authors, and description are auto-filled from CITATION.cff
  5. License must be specified (e.g., MIT)
  6. Version should accurately reflect the tag (e.g., 0.4.0)
  7. 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.
  8. Click "Publish" to finalize the record.
  9. 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:

  1. Add the DOI to CITATION.cff:
# Add at the top level:
doi: 10.5281/zenodo.XXXXXXX
  1. Commit this addition (this acts as a post-tag commit):
git add CITATION.cff
git commit -m "Add Zenodo DOI to CITATION.cff"
git push

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.cff populated 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