Skip to content

fix(ci): include example datasets and workflows into the docker compose tarball when creating the release candidate - #4253

Merged
bobbai00 merged 2 commits into
apache:mainfrom
bobbai00:claude/fix-release-rc-examples-dYbuL
Mar 3, 2026
Merged

bobbai00 merged 2 commits into
apache:mainfrom
bobbai00:claude/fix-release-rc-examples-dYbuL

Conversation

@bobbai00

@bobbai00 bobbai00 commented Mar 3, 2026

Copy link
Copy Markdown
Contributor

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 #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?

#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)

…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
@github-actions github-actions Bot added the ci changes related to CI label Mar 3, 2026
@bobbai00 bobbai00 self-assigned this Mar 3, 2026
@bobbai00 bobbai00 added the fix label Mar 3, 2026
@bobbai00
bobbai00 requested a review from kunwp1 March 3, 2026 09:52

@kunwp1 kunwp1 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@github-actions github-actions Bot removed the fix label Mar 3, 2026
@bobbai00 bobbai00 changed the title fix(ci): include example datasets and workflows in Docker Compose rel… fix(ci): include example datasets and workflows into the docker compose tarball when creating the release candidate Mar 3, 2026
@bobbai00
bobbai00 enabled auto-merge (squash) March 3, 2026 18:42
@bobbai00 bobbai00 added the fix label Mar 3, 2026
@bobbai00
bobbai00 merged commit dee51b0 into apache:main Mar 3, 2026
11 checks passed
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci changes related to CI fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants