Repository navigation
fix(ci): include example datasets and workflows into the docker compose tarball when creating the release candidate - #4253
Merged
bobbai00 merged 2 commits intoMar 3, 2026
Conversation
…ease tarball The create-release-candidate workflow's Docker Compose bundle step copies deployment files (docker-compose.yml, nginx.conf, .env, sql/, README.md) but omits the bin/single-node/examples/ directory which contains example datasets, workflows, and load-examples.sh. This means users who download the release tarball don't get the example content. Add a conditional copy of the examples/ directory into the bundle so the release tarball is self-contained with sample data. https://claude.ai/code/session_01C7BjugUT3be92dreC3gdj2
bobbai00
enabled auto-merge (squash)
March 3, 2026 18:42
SarahAsad23
pushed a commit
to madisonmlin/texera
that referenced
this pull request
May 20, 2026
…se tarball when creating the release candidate (apache#4253) ### What changes were proposed in this PR? The `create-release-candidate` workflow builds a self-contained Docker Compose deployment tarball (`apache-texera-<version>-docker-compose.tar.gz`), but it only copies a hardcoded list of files from `bin/single-node/` into the bundle: - `docker-compose.yml` - `nginx.conf` - `.env` - `README.md` - `sql/` In apache#4247 we added the example datasets and workflows, however the current CI didn't include them in the docker-compose tarball. **The fix:** Add a conditional `cp -r` of the `examples/` directory into the bundle, guarded by `if [ -d ... ]` so it doesn't break when building from older tags that predate the examples directory. ### Any related issues, documentation, discussions? apache#4247 ### How was this PR tested? Tested using my own fork ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Claude Code (claude-opus-4-6) Co-authored-by: Claude <[email protected]> Co-authored-by: Kunwoo (Chris) <[email protected]>
yangzhang75
pushed a commit
to yangzhang75/texera
that referenced
this pull request
Jun 22, 2026
…se tarball when creating the release candidate (apache#4253) ### What changes were proposed in this PR? The `create-release-candidate` workflow builds a self-contained Docker Compose deployment tarball (`apache-texera-<version>-docker-compose.tar.gz`), but it only copies a hardcoded list of files from `bin/single-node/` into the bundle: - `docker-compose.yml` - `nginx.conf` - `.env` - `README.md` - `sql/` In apache#4247 we added the example datasets and workflows, however the current CI didn't include them in the docker-compose tarball. **The fix:** Add a conditional `cp -r` of the `examples/` directory into the bundle, guarded by `if [ -d ... ]` so it doesn't break when building from older tags that predate the examples directory. ### Any related issues, documentation, discussions? apache#4247 ### How was this PR tested? Tested using my own fork ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Claude Code (claude-opus-4-6) Co-authored-by: Claude <[email protected]> Co-authored-by: Kunwoo (Chris) <[email protected]>
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.
What changes were proposed in this PR?
The
create-release-candidateworkflow builds a self-contained Docker Compose deployment tarball (apache-texera-<version>-docker-compose.tar.gz), but it only copies a hardcoded list of files frombin/single-node/into the bundle:docker-compose.ymlnginx.conf.envREADME.mdsql/In #4247 we added the example datasets and workflows, however the current CI didn't include them in the docker-compose tarball.
The fix: Add a conditional
cp -rof theexamples/directory into the bundle, guarded byif [ -d ... ]so it doesn't break when building from older tags that predate the examples directory.Any related issues, documentation, discussions?
#4247
How was this PR tested?
Tested using my own fork
Was this PR authored or co-authored using generative AI tooling?
Generated-by: Claude Code (claude-opus-4-6)