Conversation
- `README.md`: remove private repo warnings, add version option docs - `src/awf-cli/devcontainer-feature.json`: bump to v2.0.0, add version option, remove gh-cli dependency - `src/awf-cli/install.sh`: rewrite for build-time install with SHA256 verification - `test/awf-cli/test.sh`: assert awf binary on PATH, verify version subcommand - `test/awf-cli/install_awf_cli_latest.sh`: simplify to source base test.sh - `test/awf-cli/install_awf_cli_specific_version.sh`: add version pinning test for v0.9.0 - `test/awf-cli/install_awf_cli_with_gh_auth.sh`: remove obsolete gh auth scenario - `test/awf-cli/scenarios.json`: replace gh auth scenario with specific version scenario
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
awf-clidevcontainer feature from a private-repository deferred install pattern (requiringghCLI auth and apostCreateCommand) to a direct build-time install from the now-publicawf-project/cliGitHub releasesversionoption to support pinning a specific release (e.g.0.9.0), resolvinglatestautomatically via the GitHub APIawf-installhelper script,github-clidependency, gh auth test scenario, and host config mount instructionsChanges
Feature Metadata
src/awf-cli/devcontainer-feature.json: Bump to2.0.0, addversionoption withlatestdefault, adddocumentationURL/licenseURL, removegithub-clifrominstallsAfterInstall Script
src/awf-cli/install.sh: Full rewrite — direct build-time download from public GitHub releases, architecture detection, GitHub API version resolution, SHA256 checksum verification, binary installed to/usr/local/bin/awfTests
test/awf-cli/test.sh: Replaceawf-installhelper assertions with directawfbinary andawf versioncheckstest/awf-cli/install_awf_cli_latest.sh: Simplify to sourcetest.sh(no custom logic needed)test/awf-cli/install_awf_cli_specific_version.sh: New scenario validating version pinning withv0.9.0test/awf-cli/install_awf_cli_with_gh_auth.sh: Deleted — gh authentication no longer requiredtest/awf-cli/scenarios.json: Replaceinstall_awf_cli_with_gh_auth(withgithub-clidependency) withinstall_awf_cli_specific_versionDocumentation
README.md: Remove private-repository warning, host mount instructions, and deferred install explanation; addversionoptions table and version-pinning exampleTest plan
./test-local.sh awf-cli— all three scenarios (install_awf_cli_latest,install_awf_cli_specific_version, base) should passawf versionoutputs a version string (e.g.awf version 0.9.0) inside the containerinstall_awf_cli_specific_versioninstalls exactlyv0.9.0and not a newer releaseghCLI or host mounts are required in a plaindevcontainer.jsonreferencing this featureGenerated with awf commit workflow