Skip to content

Add CI for install.sh#132

Open
andreslucena wants to merge 1 commit into
feat/decidim_installfrom
feat/decidim_install_ci
Open

Add CI for install.sh#132
andreslucena wants to merge 1 commit into
feat/decidim_installfrom
feat/decidim_install_ci

Conversation

@andreslucena

Copy link
Copy Markdown
Member

After #119 is merged, we don't want to do manual testing of all the changes.

On #131 one of the tasks is:

  • Integrate a GH Action with expect for checking the correct behavior

This is the first PR for adding this with the happy path and a base for further improvements.

Prompt:
"""
Add a new test suite that drives the interactive bash installer and
verifies the complete build output using Ruby, RSpec, and Serverspec.

- Use Ruby's built-in pty library with the expect gem to answer all
  interactive prompts in install.sh and its dependency scripts
- Start a local Ruby HTTP server in CI to mock the release download
  endpoint so the installer fetches a locally-built deploy.zip
- Verify generated build artifacts: .env, docker-compose.yml,
  Gemfile.wrapper, and Gemfile.local
- Verify Docker containers (app, db, cache) start and become healthy
- Assert the Rails /up endpoint responds inside the app container
- Document the known container_name mismatch bug as a passing
  assertion so the suite remains green while the bug is exposed
- Pull the Decidim image from GHCR instead of Docker Hub to avoid
  rate limits and improve CI reliability
"""

Assisted-By: Kimi K2.6 (OpenCode)
<andreslucena+ai@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented Jul 21, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 3530bf72-4454-4f54-a6ca-06c7427298b7

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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.

1 participant