50 Commits
dev ... oldmain

Author SHA1 Message Date
WDI-Ideas
786f7389ac chore(debug): add needs probe job in caller workflow
Some checks failed
Project CI-testing / preflight_debug (push) Successful in 5s
Project CI-testing / needs_probe (push) Successful in 4s
Project CI-testing / ci (push) Failing after 2m28s
Add a non-reusable job chained by needs to isolate whether ci=0s is caused by needs handling for reusable uses jobs.

Made-with: Cursor
2026-04-08 17:41:50 +05:30
WDI-Ideas
c840fdc81b chore(ci): pin central workflow with visible debug logs
Some checks failed
Project CI-testing / preflight_debug (push) Successful in 4s
Project CI-testing / ci (push) Has been cancelled
Update reusable workflow SHA to include central debug echo instrumentation.

Made-with: Cursor
2026-04-08 17:27:47 +05:30
WDI-Ideas
9e589de95a chore(debug): add visible caller variable preflight logs
All checks were successful
Project CI-testing / preflight_debug (push) Successful in 4s
Project CI-testing / ci (push) Successful in 8s
Add preflight debug job to print RUN_* variable values before reusable workflow call.

Made-with: Cursor
2026-04-08 17:27:09 +05:30
WDI-Ideas
dddc077a10 chore(ci): use repository variables for boolean stage switches
All checks were successful
Project CI-testing / ci (push) Successful in 8s
Map RUN_BUILD/RUN_QUALITY/RUN_DEPLOY variables into central reusable workflow inputs and pin latest central SHA.

Made-with: Cursor
2026-04-08 17:24:47 +05:30
WDI-Ideas
08f158b8da chore(ci): pin central workflow with simpler conditions
Some checks failed
Project CI-testing / ci (push) Failing after 2m36s
Update reusable workflow SHA to the refactored central CI that uses simpler sonar/deploy condition checks.

Made-with: Cursor
2026-04-08 15:46:28 +05:30
WDI-Ideas
2d1b992a81 Revert "chore(ci): pin central workflow with end summary job"
All checks were successful
Project CI-testing / ci (push) Successful in 2m21s
This reverts commit 5fbc8f449c.
2026-04-08 15:36:36 +05:30
WDI-Ideas
5fbc8f449c chore(ci): pin central workflow with end summary job
All checks were successful
Project CI-testing / ci (push) Successful in 2m33s
Update reusable workflow SHA to include the new final pipeline summary output.

Made-with: Cursor
2026-04-08 15:32:24 +05:30
WDI-Ideas
0b395e96ac chore(git): ignore package-lock.json
All checks were successful
Project CI-testing / ci (push) Successful in 3m23s
Ignore local npm lockfile in this repo so incidental local generation does not appear as untracked noise.

Made-with: Cursor
2026-04-08 13:17:14 +05:30
WDI-Ideas
d7588f6d73 Pin project CI to simplified central workflow commit.
Some checks failed
Project CI-testing / ci (push) Failing after 0s
Update reusable workflow SHA so this repository runs the cleaned central CI logic.

Made-with: Cursor
2026-04-08 13:14:05 +05:30
WDI-Ideas
9087daa168 chore(ci): re-enable real build step by removing skip_node_compile
All checks were successful
Project CI-testing / ci (push) Successful in 5m4s
Made-with: Cursor
2026-04-08 12:18:25 +05:30
WDI-Ideas
4b2b9c119e chore(ci): pin Central CI for Sonar env fix and quality.yml pin
All checks were successful
Project CI-testing / ci (push) Successful in 1m29s
Made-with: Cursor
2026-04-08 00:18:52 +05:30
WDI-Ideas
10241e464d chore(ci): SONARQUBE_HOST/TOKEN secrets and pin Central CI
Some checks failed
Project CI-testing / ci (push) Failing after 28s
Made-with: Cursor
2026-04-08 00:16:00 +05:30
WDI-Ideas
aff6834329 chore(ci): pin Central CI and skip npm compile for sonar path test
Some checks failed
Project CI-testing / ci (push) Failing after 55s
Made-with: Cursor
2026-04-08 00:13:20 +05:30
WDI-Ideas
d71a7542f7 chore(ci): pin wdipl-actions to fix sonar/deploy cs propagation
All checks were successful
Project CI-testing / ci (push) Successful in 2m23s
Made-with: Cursor
2026-04-08 00:08:46 +05:30
WDI-Ideas
c53f7cc4b7 fix(ci): pin central CI with meta job ci_steps snapshot
All checks were successful
Project CI-testing / ci (push) Successful in 1m39s
Made-with: Cursor
2026-04-08 00:03:42 +05:30
WDI-Ideas
eef6fb3856 fix(ci): pin wdipl-actions to SHA without replace() in expressions
All checks were successful
Project CI-testing / ci (push) Successful in 2m5s
Made-with: Cursor
2026-04-07 23:59:54 +05:30
WDI-Ideas
dc52fc7e51 fix(ci): pin wdipl-actions ci.yml to SHA to bust runner cache
Some checks failed
Project CI-testing / ci (push) Failing after 1s
Made-with: Cursor
2026-04-07 23:57:49 +05:30
WDI-Ideas
4e9c51fc55 fix(ci): pass ci_steps for central CI (Act forwards one list input)
All checks were successful
Project CI-testing / ci (push) Successful in 0s
Made-with: Cursor
2026-04-07 23:55:48 +05:30
WDI-Ideas
e0795ca2d9 fix(ci): use enable_* inputs matching central wdipl-actions CI
All checks were successful
Project CI-testing / ci (push) Successful in 2m8s
Made-with: Cursor
2026-04-07 23:52:20 +05:30
WDI-Ideas
0ad291b7a6 fix(ci): pass run_* as quoted strings for Gitea Act
All checks were successful
Project CI-testing / ci (push) Successful in 1m42s
Made-with: Cursor
2026-04-07 23:47:31 +05:30
WDI-Ideas
bf178bb3f0 docs(ci): note boolean run_* flags for central wdipl-actions CI
All checks were successful
Project CI-testing / ci (push) Successful in 0s
Made-with: Cursor
2026-04-07 23:31:35 +05:30
WDI-Ideas
552f4a717a chore(ci): use YAML booleans for reusable workflow inputs
All checks were successful
Project CI-testing / ci (push) Successful in 0s
Made-with: Cursor
2026-04-07 22:45:21 +05:30
a43ce681c5 Update .gitignore
All checks were successful
Project CI-testing / ci (push) Successful in 2m13s
2026-04-07 16:24:21 +00:00
4c391d033e Update .gitignore
All checks were successful
Project CI-testing / ci (push) Successful in 2m32s
2026-04-07 16:13:54 +00:00
bb5d5440ed Update .gitignore
All checks were successful
Project CI-testing / ci (push) Successful in 2m4s
2026-04-07 16:03:38 +00:00
16b79b912d Update .gitea/workflows/ci.yml
All checks were successful
Project CI-testing / ci (push) Successful in 0s
2026-04-07 15:55:11 +00:00
ea983502fa Update .gitignore
All checks were successful
Project CI-testing / ci (push) Successful in 2m3s
2026-04-07 14:55:15 +00:00
11398ebd80 Update .gitignore
All checks were successful
Project CI-testing / ci (push) Successful in 0s
2026-04-07 14:46:31 +00:00
09685f1d46 Update .gitignore
All checks were successful
Project CI-testing / ci (push) Successful in 2m10s
2026-04-07 12:42:49 +00:00
610bcbec1e Update .gitignore
All checks were successful
Project CI-testing / ci (push) Successful in 1m23s
2026-04-07 12:21:49 +00:00
b9ffd1818e Update .gitignore
All checks were successful
Project CI-testing / ci (push) Successful in 1m32s
2026-04-07 11:37:24 +00:00
b2ef003fcf Update .gitea/workflows/ci.yml
Some checks failed
Project CI-testing / ci (push) Failing after 0s
2026-04-07 11:34:58 +00:00
f3a1e4c9a7 Update .gitea/workflows/ci.yml
Some checks failed
Project CI / ci (push) Failing after 0s
2026-04-07 11:33:08 +00:00
c24852f7c3 Update .gitea/workflows/ci.yml
Some checks failed
Project CI / ci (push) Failing after 0s
2026-04-07 11:32:07 +00:00
4efe4dc941 Update .gitea/workflows/ci.yml
Some checks failed
Project CI / ci (push) Failing after 0s
2026-04-07 11:21:37 +00:00
db04e6f686 Update .gitea/workflows/ci.yml
Some checks failed
CI / ci (push) Failing after 0s
2026-04-07 11:00:07 +00:00
0efd612438 Add .gitea/workflows/ci.yml
All checks were successful
CI / ci (push) Successful in 0s
2026-04-07 10:40:55 +00:00
09a2b391e8 Update .gitea/workflows/sonar.yml.bak 2026-04-07 10:39:27 +00:00
24af58f0ab Update .gitea/workflows/sonarbak.yml
Some checks failed
CI / sonar (push) Failing after 10s
2026-04-07 10:39:01 +00:00
84474bec29 Update .gitea/workflows/sonar.yml
Some checks failed
CI / sonar (push) Failing after 10s
2026-04-06 13:09:42 +00:00
3eab945376 Update .gitea/workflows/sonar.yml
Some checks failed
CI / sonar (push) Failing after 1m15s
2026-04-06 12:31:57 +00:00
ae107cabe2 Update .gitea/workflows/sonar.yml
All checks were successful
CI-Testsonar-4 / sonar (push) Successful in 1m10s
2026-04-06 11:52:22 +00:00
0b75658b06 Update .gitea/workflows/sonar.yml
Some checks failed
CI-Testsonar-4 / sonar (push) Failing after 1m16s
2026-04-06 11:48:36 +00:00
b95bf55bb1 Update .gitea/workflows/sonar.yml
Some checks failed
CI-Testsonar-1 / sonar (push) Failing after 1m19s
2026-04-06 11:13:54 +00:00
3f9db7342c Update .gitea/workflows/sonar.yml
Some checks failed
CI-Testsonar-1 / sonar (push) Failing after 1m11s
2026-04-06 11:08:47 +00:00
41548e0ebc Update .gitea/workflows/sonar.yml
Some checks failed
CI-Testsonar-1 / sonar (push) Failing after 0s
2026-04-06 11:02:45 +00:00
c088f3530c Update .gitea/workflows/sonar.yml
Some checks failed
CI-Testsonar-1 / sonar (push) Failing after 1m12s
2026-04-06 10:54:22 +00:00
9db52fda60 Update .gitea/workflows/sonar.yml
Some checks failed
CI-Testsonar-1 / sonar (push) Failing after 0s
2026-04-06 10:52:54 +00:00
9131c22dcc Update .gitea/workflows/sonar.yml
Some checks failed
CI-Testsonar-1 / sonar (push) Failing after 1m12s
2026-04-06 10:47:49 +00:00
aabf65e6a0 Merge pull request 'Update .gitea/workflows/sonar.yml' (#2) from dev into main
Some checks failed
CI-Testsonar-1 / sonar (push) Failing after 1m21s
Reviewed-on: #2
2026-04-06 10:29:25 +00:00
4 changed files with 95 additions and 18 deletions

71
.gitea/workflows/ci.yml Normal file
View File

@@ -0,0 +1,71 @@
name: Project CI-testing
on:
push:
branches: [main, beta, staging, testing]
pull_request:
jobs:
preflight_debug:
runs-on: ubuntu-latest
steps:
#region agent log
- name: Print caller variable resolution
run: |
echo "DBG_CALLER_RUN_BUILD='${{ vars.RUN_BUILD }}'"
echo "DBG_CALLER_RUN_QUALITY='${{ vars.RUN_QUALITY }}'"
echo "DBG_CALLER_RUN_DEPLOY='${{ vars.RUN_DEPLOY }}'"
#endregion
needs_probe:
needs: [preflight_debug]
runs-on: ubuntu-latest
steps:
#region agent log
- name: Probe non-reusable needs chaining
run: |
echo "DBG_NEEDS_PROBE='after_preflight_ok'"
#endregion
ci:
needs: [preflight_debug]
# Pin SHA (bump when wdipl-actions ci.yml changes). Propagates ci_steps via build workflow outputs.
uses: Rajendra.Reddy/wdipl-actions/.gitea/workflows/ci.yml@50e2b8b36ec570d51f406f3e6620fea6c927f850
with:
tech_stack: node
# Use repository variables in Gitea UI:
# RUN_BUILD=true|false, RUN_QUALITY=true|false, RUN_DEPLOY=true|false
run_build: ${{ vars.RUN_BUILD }}
run_quality: ${{ vars.RUN_QUALITY }}
run_deploy: ${{ vars.RUN_DEPLOY }}
wait_for_quality_gate: 'false'
app_path_beta: /var/www/app-beta
app_path_staging: /var/www/app-staging
app_path_prod: /var/www/app-prod
pm2_id: app
secrets:
SONARQUBE_HOST: ${{ secrets.SONARQUBE_HOST }}
SONARQUBE_TOKEN: ${{ secrets.SONARQUBE_TOKEN }}
BETA_SERVER_HOST: ${{ secrets.BETA_SERVER_HOST }}
BETA_SERVER_PORT: ${{ secrets.BETA_SERVER_PORT }}
BETA_SERVER_USERNAME: ${{ secrets.BETA_SERVER_USERNAME }}
BETA_SERVER_PASSWORD: ${{ secrets.BETA_SERVER_PASSWORD }}
BETA_SERVER_KEY: ${{ secrets.BETA_SERVER_KEY }}
STAGING_SERVER_HOST: ${{ secrets.STAGING_SERVER_HOST }}
STAGING_SERVER_PORT: ${{ secrets.STAGING_SERVER_PORT }}
STAGING_SERVER_USERNAME: ${{ secrets.STAGING_SERVER_USERNAME }}
STAGING_SERVER_PASSWORD: ${{ secrets.STAGING_SERVER_PASSWORD }}
STAGING_SERVER_KEY: ${{ secrets.STAGING_SERVER_KEY }}
PROD_SERVER_HOST: ${{ secrets.PROD_SERVER_HOST }}
PROD_SERVER_PORT: ${{ secrets.PROD_SERVER_PORT }}
PROD_SERVER_USERNAME: ${{ secrets.PROD_SERVER_USERNAME }}
PROD_SERVER_PASSWORD: ${{ secrets.PROD_SERVER_PASSWORD }}
PROD_SERVER_KEY: ${{ secrets.PROD_SERVER_KEY }}

View File

@@ -1,16 +0,0 @@
name: CI-Testsonar-3
on:
push:
branches: [main, testing]
pull_request:
branches: [main, testing]
jobs:
sonar:
uses: Rajendra.Reddy/wdipl-actions/.gitea/workflows/qualitytest.yml@975341ae4c4547f1aec7d1c7b1e1e1eb6660798b
with:
project_key: ${{ gitea.event.repository.name }}
secrets:
SONAR_HOST_URL: ${{ secrets.SONARQUBE_HOST }}
SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }}
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}

View File

@@ -0,0 +1,20 @@
name: CI
on:
push:
branches: [main, testing]
jobs:
sonar:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Run SonarQube Scan
uses: http://git.wdipl.com/Rajendra.Reddy/wdipl-actions/actions/sonar@main
with:
sonar_host_url: ${{ secrets.SONARQUBE_HOST }}
sonar_token: ${{ secrets.SONARQUBE_TOKEN }}
wait_for_quality_gate: true

6
.gitignore vendored
View File

@@ -1,6 +1,7 @@
# Node modules # Node modules
node_modules/ node_modules
*.env**
*.env
# Logs # Logs
npm-debug.log* npm-debug.log*
yarn-debug.log* yarn-debug.log*
@@ -30,3 +31,4 @@ Thumbs.db
# Temporary # Temporary
*.tmp *.tmp
package-lock.json