Skip to content

ci(niployments): deploy the monorepo branch - #834

Merged
PedroLunet merged 4 commits into
monorepofrom
limwa/deploy-monorepo-niployments
Oct 11, 2026
Merged

PedroLunet merged 4 commits into
monorepofrom
limwa/deploy-monorepo-niployments

Conversation

@limwa

@limwa limwa commented Oct 9, 2026 •

Copy link
Copy Markdown
Member

Needs NIAEFEUP/niployments#134

What does this PR do?

Follow-up to #833. Adds monorepo to the branches that trigger the NIployments workflow, so pushes to it are built and deployed.

  • Renames the build job to frontend (still builds the frontend-prod target; the tts-fe repository name is now set explicitly).
  • Bumps NIAEFEUP/push-to-niployments from v2.2 to v2.3 (provenance and SBOM attestations are now off by default, avoiding Harbor GC deadlocks).
  • Adds a backend job that builds the backend-prod target of the root Dockerfile and pushes it to a separate tts-be repository, so it doesn't overwrite the frontend's tags.

Before this can deploy:

  • The workflow uses environment: ${{ github.ref_name }}, so a monorepo GitHub environment must exist with the same vars/secrets as develop (NIPLOYMENTS_REGISTRY_URL, NIPLOYMENTS_REGISTRY_USERNAME, NIPLOYMENTS_REGISTRY_PASSWORD, TTS_FE_VARS_CONTENT).
  • The registry must accept pushes to niaefeup/tts-be.

How to test

  1. Create the monorepo GitHub environment with the same vars/secrets as develop.
  2. Merge this PR and push to monorepo.
  3. Check that both the frontend and backend jobs of the "Deploy" workflow succeed and push tts-fe and tts-be images to the NIployments registry.

Screenshots

N/A

Assisted-By: Claude <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Oct 9, 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: CHILL
  • Plan: Advanced
  • Run ID: 67b155f6-d828-476d-af45-f9c77c6c5993

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
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

@limwa
limwa marked this pull request as draft October 9, 2026 16:49
@limwa
limwa added this pull request to stack #835 October 9, 2026 16:50
limwa added 2 commits October 9, 2026 18:02
The backend image is pushed to its own tts-be repository so it does not
overwrite the frontend's tags.

Assisted-By: Claude <noreply@anthropic.com>
Assisted-By: Claude <noreply@anthropic.com>
@limwa
limwa marked this pull request as ready for review October 9, 2026 17:04
Assisted-By: Claude <noreply@anthropic.com>
Base automatically changed from limwa/add-backend-dockerfile to monorepo October 11, 2026 09:56
@PedroLunet
PedroLunet self-requested a review October 11, 2026 10:26

@PedroLunet PedroLunet left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

lgtm, thanks!

@PedroLunet
PedroLunet merged commit 6a67e16 into monorepo Oct 11, 2026
2 checks passed
@PedroLunet
PedroLunet deleted the limwa/deploy-monorepo-niployments branch October 11, 2026 10:27
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.

2 participants