Add GitHub Action for downloading release assets#11
Closed
alexadereyko wants to merge 7 commits intojira/TBBAS-2672-opendaq-gh-actions-architecturefrom
Closed
Conversation
330c063 to
954c6e9
Compare
77dab38 to
8f83e59
Compare
954c6e9 to
47cb5cf
Compare
added 7 commits
November 7, 2025 16:01
…prehensive testing infrastructure. Added - Project architecture for composite GitHub Actions - Test framework for validating shell scripts - CI/CD workflows for automated testing - Example scripts and actions structure - Comprehensive documentation Project Structure - scripts/ - Common scripts for actions (cross-platform utilities) - tests/ - Test framework for script validation - .github/workflows/ - CI/CD automation - Documentation for actions development and testing Testing Infrastructure - Test runner with filtering and isolation - Assertion library and test hooks - Cross-platform support (Linux, macOS, Windows) - Multiple shell compatibility (bash 3.2+, zsh) - Automated CI/CD workflows Purpose Enable development of reusable composite actions for openDAQ workflows with: - Consistent script testing approach - Cross-platform validation - Automated quality checks - Clear development guidelines See Actions/README.md for architecture documentation.
Add: - version-format.sh -- script implementation - docs -- scripts API description and usage - code conventions
Features:
- Auto-detect current platform
- Validate with type checking (unix/linux/ubuntu/debian/macos/win)
- Parse and compose platform aliases
- CLI tool and library modes
Format: {os}{version}-{arch} (ubuntu20.04-arm64) or win{arch} (win64)
Docs: README (CLI usage), API (library reference)
Features: - Detect extensions from CPack generators (NSIS, ZIP, TGZ, DEB) - Detect extensions from OS names (GitHub runners, runner.os) - Customizable via environment variables - Compatible with bash 3.2+ and zsh Documentation: - Complete README with usage examples - Full API reference for public functions - Updated CONVENTIONS.md with new guidelines
Features: - Version resolution (latest, specific tags) - Assets listing and downloading with pattern filtering - Workflow artifacts listing and downloading with pattern filtering - Compatible with bash 3.2+ and zsh Documentation: - Add README.md with CLI usage and integration examples - Update CONVENTIONS.md for API wrapper modules
…n, platform, and packaging format components. Features: - Auto-resolve latest version from openDAQ/openDAQ repository - Auto-detect current platform (104 supported combinations) - Auto-detect packaging format from runner OS or CPack generator - Validate and parse version/platform/packaging components - Output individual components for downstream use Supported formats: - Version: semantic versioning with optional prefix/suffix/hash (v3.30.0, v3.29.0-rc, v3.30.0-a1b2c3d, etc) - Platform: Linux/macOS/Windows across multiple versions (ubuntu22.04-x86_64, macos14-arm64, win64, etc) - Packaging: .deb, .exe, .tar.gz, .zip Action outputs: - Complete filename (e.g., opendaq-v3.30.0-ubuntu22.04-x86_64.deb) - Parsed version components (major, minor, patch, suffix, hash) - Parsed platform components (os-name, os-version, os-arch) - Resolved packaging format Integration: - Uses shell scripts: version-format.sh, platform-format.sh, packaging-format.sh - Cross-platform compatible (Linux, macOS, Windows runners) Documentation: - Comprehensive README with format specifications - Usage examples for all common scenarios - Input/output parameter reference
… repository with automatic platform detection and smart asset filtering. Features: - Automatic platform detection (Ubuntu/Debian/macOS/Windows) - Smart asset pattern generation (OS + arch with version wildcard) - Version resolution (latest or specific version) - SHA256 checksum computation - Cross-platform support with path normalization - GitHub CLI integration with token authentication Documentation: - Comprehensive README with usage examples - Examples for common scenarios (latest build, custom dir, cross-repo) - Integration example with downloaded asset usage
8f83e59 to
70a0d35
Compare
47cb5cf to
3522957
Compare
70a0d35 to
c855d4e
Compare
Base automatically changed from
jira/TBBAS-2681-opendaq-gh-actions-framework-compose-filename
to
jira/TBBAS-2679-opendaq-gh-actions-github-api-wrapper
November 13, 2025 10:15
Base automatically changed from
jira/TBBAS-2679-opendaq-gh-actions-github-api-wrapper
to
jira/TBBAS-2677-opendaq-gh-actions-packaging-format-script
November 13, 2025 10:17
Base automatically changed from
jira/TBBAS-2677-opendaq-gh-actions-packaging-format-script
to
jira/TBBAS-2675-opendaq-gh-actions-platform-format-script
November 13, 2025 10:18
Base automatically changed from
jira/TBBAS-2675-opendaq-gh-actions-platform-format-script
to
jira/TBBAS-2673-opendaq-gh-actions-version-format-usecase
November 13, 2025 10:18
Base automatically changed from
jira/TBBAS-2673-opendaq-gh-actions-version-format-usecase
to
jira/TBBAS-2672-opendaq-gh-actions-architecture
November 13, 2025 10:19
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.
Add GitHub Action for downloading release assets from openDAQ/openDAQ repository with automatic platform detection and smart asset filtering.
Features:
Inputs:
Outputs:
Documentation: