Skip to content

CI Workflow Refactor and Fixes#1016

Merged
wopox1337 merged 4 commits intorehlds:masterfrom
wopox1337:fix/testdemos-new-image
Oct 29, 2024
Merged

CI Workflow Refactor and Fixes#1016
wopox1337 merged 4 commits intorehlds:masterfrom
wopox1337:fix/testdemos-new-image

Conversation

@wopox1337
Copy link
Member

@wopox1337 wopox1337 commented Sep 23, 2024

CI Workflow Refactor and Fixes

This pull request addresses a critical issue with the CI pipeline, improving compatibility with Node.js versions and standardizing CI processes across repositories.

Fixes

  • Resolved Node.js Compatibility Issue
    • Updated actions and dependencies to work with newer *-latest OS versions, addressing failures caused by Node.js version incompatibility with older actions. Older container configurations for build and demo test steps have been updated to align with this change.

Changes

  • Action Upgrades

    • Upgraded upload-artifact and download-artifact actions to version 4 for improved artifact handling.
  • Testing and Demo Configuration

    • Migrated to ubuntu-latest and updated the container image to rehldsorg/testdemos:latest.
    • Simplified demo test execution with a matrix strategy, using runTest.sh to streamline test runs.
  • Linux Dependency Standardization

    • Consolidated the installation of required libraries to reduce redundancy in dependency handling.
  • Standardized CI Approach Across Repositories

    • Aligned the CI structure with similar repositories (rehlds, regamedll) for consistent workflow management.

Impact

These fixes and changes enhance CI reliability, maintainability, and streamline artifact management across related repositories.

Refer:

@wopox1337 wopox1337 added Type: 🛠️ maintenance Tasks related to technical debt, infrastructure upkeep. Type: 🛑 dependency Routine tasks, maintenance, or non-user-facing changes. labels Sep 23, 2024
@wopox1337 wopox1337 requested a review from s1lentq September 23, 2024 13:36
@wopox1337 wopox1337 marked this pull request as draft September 23, 2024 13:55
@wopox1337 wopox1337 marked this pull request as ready for review October 15, 2024 10:18
@wopox1337 wopox1337 force-pushed the fix/testdemos-new-image branch from beac297 to 7b5c7bd Compare October 29, 2024 04:55
@wopox1337 wopox1337 changed the title New docker image testdemos CI Workflow Refactor and Fixes Oct 29, 2024
@wopox1337 wopox1337 merged commit 7738142 into rehlds:master Oct 29, 2024
@wopox1337 wopox1337 deleted the fix/testdemos-new-image branch October 29, 2024 06:22
yohimik pushed a commit to yohimik/ReGameDLL_CS that referenced this pull request Jun 5, 2025
chore(ci): standardize and update CI workflows for compatibility and consistency

- Updated action versions (`checkout@v4`, `upload-artifact@v4`, `download-artifact@v4`) for enhanced compatibility and security
- Removed unsecure Node.js version allowance to align with *-latest OS requirements
- Migrated test demos to `rehldsorg/testdemos:latest` container with a streamlined testing approach via matrix strategy and `runTest.sh`
- Standardized Linux dependency installation for consistent build environment across jobs
- Unified CI workflow structure with `rehlds` and `regamedll` repositories for better consistency
- Optimized artifact deployment steps and removed unnecessary cleanup operations

Co-authored-by: s1lentq <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: 🛑 dependency Routine tasks, maintenance, or non-user-facing changes. Type: 🛠️ maintenance Tasks related to technical debt, infrastructure upkeep.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants