Skip to content

Add interactive base-demo walkthrough#2

Merged
codeforester merged 3 commits into
mainfrom
enhancement/365-20260531-interactive-walkthrough
Jun 1, 2026
Merged

Add interactive base-demo walkthrough#2
codeforester merged 3 commits into
mainfrom
enhancement/365-20260531-interactive-walkthrough

Conversation

@codeforester
Copy link
Copy Markdown
Owner

Summary

  • Add demo/demo.sh, an interactive walkthrough for the reference Base-managed project.
  • Declare demo.script in base_manifest.yaml and update the README quick-start flow.
  • Add BATS coverage for help, manifest declaration, and non-interactive demo execution with deterministic command stubs.
  • Extend baseline validation to require the demo script and demo test file.

Validation

  • ./tests/validate.sh
  • bats tests/demo_test.bats
  • env BASE_CACHE_DIR=/private/tmp/base-demo-cache /Users/rameshhp/work/base/bin/basectl demo base-demo --workspace /Users/rameshhp/work --dry-run -- --non-interactive
  • git diff --cached --check

Depends on #1.
Next train car: CI validation for #369.

Closes codeforester/base#365

Base automatically changed from enhancement/364-20260531-repository-baseline to main June 1, 2026 01:51
codeforester added a commit that referenced this pull request Jun 1, 2026
## Summary

- Expand the base-demo GitHub Actions workflow into demo validation.
- Install BATS and run the demo script test suite on every push and PR.
- Add full Base-backed setup/check/doctor/test/demo validation when the
checked-out Base version supports `basectl demo`.
- Record the CI validation change in the changelog.

## Validation

- `ruby -e 'require "yaml";
YAML.load_file(".github/workflows/tests.yml")'`
- `./tests/validate.sh`
- `bats tests/demo_test.bats`
- `git diff --check`

Depends on #2.

Closes codeforester/base#369
## Summary

- Expand the base-demo GitHub Actions workflow into demo validation.
- Install BATS and run the demo script test suite on every push and PR.
- Add full Base-backed setup/check/doctor/test/demo validation when the
checked-out Base version supports `basectl demo`.
- Record the CI validation change in the changelog.

## Validation

- `ruby -e 'require "yaml";
YAML.load_file(".github/workflows/tests.yml")'`
- `./tests/validate.sh`
- `bats tests/demo_test.bats`
- `git diff --check`

Depends on #2.

Closes codeforester/base#369
@codeforester codeforester force-pushed the enhancement/365-20260531-interactive-walkthrough branch from 85d50d0 to 764067e Compare June 1, 2026 02:00
@codeforester codeforester force-pushed the enhancement/365-20260531-interactive-walkthrough branch from d04f3ee to 832efd2 Compare June 1, 2026 02:04
@codeforester codeforester merged commit 03e0918 into main Jun 1, 2026
2 checks passed
@codeforester codeforester deleted the enhancement/365-20260531-interactive-walkthrough branch June 1, 2026 02:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build base-demo interactive walkthrough

1 participant