Skip to content

Conversation

@Proantagonist
Copy link
Collaborator

Remove ark omega from header. Also snuck in a ton of other optimizations

This pull request introduces significant improvements to the CI/CD workflow, build traceability, and frontend caching strategies. The main changes include refactoring the GitHub Actions workflows to support dynamic base references and workflow calls, enhancing Docker image build and publish steps, adding build metadata injection for traceability, and updating the Angular app’s Nginx configuration for better caching and SPA support.

CI/CD Workflow Refactoring and Build/Publish Improvements:

  • Refactored .github/workflows/main.yml, .github/workflows/build.yml, and .github/workflows/lint.yml to use workflow_call with dynamic base input, allowing more flexible triggering and improved affected build/lint targeting. The base reference is set dynamically based on the branch context. [1] [2] [3] [4] [5]
  • Updated .github/workflows/publish.yml to use workflow calls, modern artifact download actions, and improved image matrix generation. Docker image tagging now reflects branch and commit info, and required files (package.json, package-lock.json) are copied for each image build. [1] [2] [3]

Build Traceability and Metadata Injection:

  • Added metadata constant and ReleaseMetadata interface in libs/common/ngx/src/lib/constants/build-traceability.constants.ts. This metadata is injected into the Angular environment and logged on app initialization for traceability. [1] [2] [3] [4]
  • The Angular app module and environment service now support and display build metadata (build date, git commit/tag, container/node name) at startup. [1] [2] [3]

Frontend Caching and Dockerfile Improvements:

  • Overhauled the Nginx configuration in apps/supremegaming-angular/src/.nginx/nginx.conf to implement long-term caching for static assets, no-cache for HTML/manifest, and robust SPA routing.
  • Updated apps/supremegaming-angular/src/Dockerfile to use a custom Nginx base image and run token substitution at build time, simplifying runtime setup.

Minor Codebase and UI Adjustments:

  • Exposed build traceability constants via the common library index and injected environment service into metadata component for future use. [1] [2]
  • Commented out an unused menu item in the UI skeleton header for clarity. [1] [2]

@Proantagonist Proantagonist merged commit 32d52e1 into development Oct 27, 2025
5 checks passed
@Proantagonist Proantagonist deleted the remove-ark-omega branch October 27, 2025 01:46
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