Add workflow: Update latest downloads on download.eclipse.org#6
Closed
diogomatsubara wants to merge 3 commits intomainfrom
Closed
Add workflow: Update latest downloads on download.eclipse.org#6diogomatsubara wants to merge 3 commits intomainfrom
diogomatsubara wants to merge 3 commits intomainfrom
Conversation
- New GitHub Actions workflow to replace Jenkins 'Downloads - update latest' job - Accepts version parameter via workflow_dispatch - Uses SSH/SCP to connect to projects-storage.eclipse.org via genie.zenoh user - Copies all zenoh-z*/version/* to zenoh-z*/latest/ for specified version - Includes verification and error handling - Requires SSH_PRIVATE_KEY and SSH_PASSPHRASE secrets - See README for setup instructions
- Add 'dry-run' boolean input parameter - In dry-run mode: verify SSH connection and list files that would be copied - In live mode: actually copy files to latest directories - Dry-run useful for testing credentials without modifying production - Updated README with dry-run usage instructions
- Changed from cp -r (file copy) to ln -sfr (symlinks) - More space-efficient: 'latest' symlinks directly to version directory - Faster: only symlink creation instead of copying large file trees - Verification step now checks symlink targets instead of file counts - Dry-run shows what symlinks would be created - Updated README documentation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Replaces Jenkins 'Downloads - update latest' job with GitHub Actions workflow.
Changes
.github/workflows/update-latest-downloads.ymlversionparameter via workflow_dispatchlatest/→ version directories on download.eclipse.orgImplementation Details
projects-storage.eclipse.orgvia SSH asgenie.zenohzenoh-z*/version/directoriesln -sfr(space-efficient approach)Secrets Required
SSH_PRIVATE_KEY: ED25519 key for genie.zenoh authenticationSSH_PASSPHRASE: Key passphrase (if encrypted)Usage
Testing