Skip to content

Fixes: mosip/k8s-infra#373 - Select and Push Changes to Develop in kattu, thats universal for all caller workflows.- #392 - #399

Open
Mohanraj209 wants to merge 34 commits into
mosip:developfrom
Mohanraj209:develop
Open

Fixes: mosip/k8s-infra#373 - Select and Push Changes to Develop in kattu, thats universal for all caller workflows.- #392#399
Mohanraj209 wants to merge 34 commits into
mosip:developfrom
Mohanraj209:develop

Conversation

@Mohanraj209

Copy link
Copy Markdown

No description provided.

…nputs

Signed-off-by: Mohan E <mohanraj1715@gmail.com>
Added JAVA_VERSION and LIVENESS_DETECTION inputs to the workflow.

Signed-off-by: Mohan E <mohanraj1715@gmail.com>
Signed-off-by: Mohan E <mohanraj1715@gmail.com>
…tions

Signed-off-by: Mohan E <mohanraj1715@gmail.com>
…tegration

Added AWS credentials and S3 upload step to workflow.

Signed-off-by: Mohan E <mohanraj1715@gmail.com>
…-lint-publish

Added optional DEPENDENCIES input to the workflow and updated the linting step to include it.

Signed-off-by: Mohan E <mohanraj1715@gmail.com>
…ation comments

Added permissions for actions and updated comments regarding Slack alerts.

Signed-off-by: Mohan E <mohanraj1715@gmail.com>
Updated CodeQL workflow to use version 2 of the CodeQL actions.

Signed-off-by: Mohan E <mohanraj1715@gmail.com>
Comment out Slack notification action temporarily during CI/CD transition.

Signed-off-by: Mohan E <mohanraj1715@gmail.com>
Temporarily disable per-workflow Slack alerts to centralize CI/CD notifications.

Signed-off-by: Mohan E <mohanraj1715@gmail.com>
…check.yaml

Comment out Slack notification step in CI/CD workflow.

Signed-off-by: Mohan E <mohanraj1715@gmail.com>
…ation steps

Removed BASE_IMAGE_BUILD input and related checks. Updated Dockerfile validation steps and added a new build check for Docker labels.

Signed-off-by: Mohan E <mohanraj1715@gmail.com>
…tion

Signed-off-by: Mohan E <mohanraj1715@gmail.com>
Signed-off-by: Mohan E <mohanraj1715@gmail.com>
…ications

Updated the Java setup action version and commented out Slack notification steps.

Signed-off-by: Mohan E <mohanraj1715@gmail.com>
Signed-off-by: Mohan E <mohanraj1715@gmail.com>
…w features

Refactor image transfer workflow to enhance registry input handling and improve logging. Added support for WireGuard VPN configuration and updated Docker setup for insecure registries.

Signed-off-by: Mohan E <mohanraj1715@gmail.com>
…e for build

Updated macOS version and added steps for Xcode selection and CocoaPods installation.

Signed-off-by: Mohan E <mohanraj1715@gmail.com>
…uts and settings

Added new inputs for Liveness Detection and Authentication. Updated macOS version and Xcode selection.

Signed-off-by: Mohan E <mohanraj1715@gmail.com>
…puts and checks

Added new inputs for LICENSE_NAME, JDK_VERSION, and JDK_DISTRIBUTION. Updated JDK setup and added checks for project metadata in pom.xml.

Signed-off-by: Mohan E <mohanraj1715@gmail.com>
Added inputs for JAVA_VERSION, LICENSE_NAME, and RELEASE_TYPE. Updated JDK setup and build commands for Gradle.

Signed-off-by: Mohan E <mohanraj1715@gmail.com>
…jects

This workflow defines a Maven build process for Android projects, including setup, caching, and publishing steps.

Signed-off-by: Mohan E <mohanraj1715@gmail.com>
Signed-off-by: Mohan E <mohanraj1715@gmail.com>
Updated the Sonar analysis workflow to use JDK 21 and modified input requirements. Adjusted project key generation and disabled Slack notifications temporarily.

Signed-off-by: Mohan E <mohanraj1715@gmail.com>
…tion

Temporarily disable per-workflow Slack alerts for CI/CD notifications.

Signed-off-by: Mohan E <mohanraj1715@gmail.com>
…ication

Removed optional ZIP_DIR and NODE_VERSION inputs, set default node version to '16', and updated NPM install command. Adjusted BOB build step to use a fixed ZIP_DIR value.

Signed-off-by: Mohan E <mohanraj1715@gmail.com>
…flow

Comment out Slack notification action in CI/CD workflow.

Signed-off-by: Mohan E <mohanraj1715@gmail.com>
…iguration

Updated the Sonar analysis workflow to include NODE_VERSION default, improved caching for npm and SonarCloud packages, and modified build steps for different types.

Signed-off-by: Mohan E <mohanraj1715@gmail.com>
This workflow automates post-release preparation by updating POM versions, Chart versions, and creating a pull request with the changes.

Signed-off-by: Mohan E <mohanraj1715@gmail.com>
… and updates

Added new inputs for repo branch and commit message. Updated README badges to reflect the new repo branch. Modified pull request creation to use a dynamic commit message.

Signed-off-by: Mohan E <mohanraj1715@gmail.com>
Removed unnecessary blank lines and updated comments regarding Slack notifications.

Signed-off-by: Mohan E <mohanraj1715@gmail.com>
Temporarily disable per-workflow Slack alerts to centralize notifications.

Signed-off-by: Mohan E <mohanraj1715@gmail.com>
Signed-off-by: Mohan E <mohanraj1715@gmail.com>
…d saroles

Signed-off-by: Mohan E <mohanraj1715@gmail.com>
@coderabbitai

coderabbitai Bot commented Aug 21, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 25e8e407-a0a5-4c4d-9081-f68dc52da3b0


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.

@Ivanmeneges Ivanmeneges 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.

1. Registry token dumped to CI logs (image-transfer.yml)
After writing token: into release/vidivi/config.yml, the workflow does cat config.yml. GitHub Actions logs will contain the registry credential.

Also on WireGuard failure it runs sudo head -5 /etc/wireguard/wg0.conf, which can print private keys.

Fix: Never print config.yml or WireGuard config. Mask the token. Keep username/token as secrets.

2. Keystore password moved from secret to input (android-build.yml)
DEBUG_KEYSTORE_PASSWORD was a required secret. The PR takes KEYSTORE_PASSWORD as a workflow input (visible in the Actions UI and logs) and feeds it into both debug and release env vars.

Even with default password, this is the wrong channel for credentials and it breaks callers that still pass secrets.DEBUG_KEYSTORE_PASSWORD.

3. npm-sonar-analysis.yml is a regression of current develop
Current develop (from #367 / #368 / #372) does:

Node 18.x
npm ci
npm run test:ci + lcov
npx sonar-scanner with sonar.token

The PR replaces that with:

Node 14 (EOL)
npm install (not npm ci)
NG/BOB build, no tests, no coverage
npm run sonar -- -Dsonar.login=... (deprecated; also fails if package.json has no sonar script)
That will break Sonar for repos that already use the develop workflow.

4. Docker NPM extract path no longer matches the zip (docker-build.yml)
npm-build.yml still zips dist for NG (env.ZIP_DIR: dist). The docker workflow was changed from dist/* to build/*. Angular/NG docker builds will unzip nothing useful.

The non-root mosip user Dockerfile checks were also removed, and the forbidden mosipdev/mosipqa/latest/develop check was moved to a parallel job (build-docker-warning). The image can still be built and pushed while that check fails.

5. CodeQL downgrade
develop uses github/codeql-action/*@V3 and sets up JDK 21. The PR:

switches init/analyze to v2 (deprecated)
removes JDK 21 setup
Keep v3 (or v4) and the Java setup. Dropping the duplicate analyze step on develop is fine; the downgrade is not.

6. post-release-changes.yml will create PRs with empty title/base
This is workflow_call, but the PR step uses github.event.inputs.COMMIT_MESSAGE and github.event.inputs.BASE. Those are empty on workflow_call. Use inputs.COMMIT_MESSAGE and inputs.BASE.

There is also the typo releas-branch.

7. update-gpg.yml cannot work on develop
Filename says GPG; the workflow updates the Slack user map.
It curls master user_map.json.gpg into cwd, then decrypts .github/git-user-map/user_map.json.gpg, which does not exist on this branch (git-user-map lives only on master).
git push uses GH_TOKEN but the remote is not configured to use that PAT, so the push will likely fail.

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