This project was generated using Angular CLI version 21.0.2.
The application uses GitHub Actions for CI/CD with Helm deployments to OpenShift:
Development (6cdc9e-dev)
- Trigger: Automatic on push to
developbranch - Workflow:
.github/workflows/build_and_promote.yaml - Process: Builds Docker image → Tags as
devand<commit-sha>→ Deploys via Helm - URL: https://eagle-dev.apps.silver.devops.gov.bc.ca
Test (6cdc9e-test)
- Trigger: Manual via GitHub Actions UI
- Workflow:
.github/workflows/deploy-to-test.yaml - Process:
- Go to Actions → "Deploy to Test" → "Run workflow"
- Enter image tag (default:
dev) or specific commit SHA - Workflow tags image as
testand deploys via Helm
- URL: https://eagle-test.apps.silver.devops.gov.bc.ca
Production (6cdc9e-prod)
- Trigger: Manual via GitHub Actions UI
- Workflow:
.github/workflows/deploy-to-prod.yaml - Process:
- Go to Actions → "Deploy to Prod" → "Run workflow"
- Enter image tag (default:
test) or specific commit SHA - Workflow tags image as
prodand deploys via Helm
- URL: https://eagle.gov.bc.ca
# 1. Push to develop → auto-deploys to dev with tag abc1234
git push origin develop
# 2. Manually promote to test (via GitHub UI)
# - Select "Deploy to Test" workflow
# - Input: abc1234 (or leave default "dev")
# - Click "Run workflow"
# 3. Manually promote to production (via GitHub UI)
# - Select "Deploy to Prod" workflow
# - Input: abc1234 (or leave default "test")
# - Click "Run workflow"The application is deployed using Helm charts located in helm/eagle-public/:
values-dev.yaml- Development configurationvalues-test.yaml- Test configurationvalues-prod.yaml- Production configuration
To deploy locally:
helm upgrade --install eagle-public ./helm/eagle-public \
--namespace 6cdc9e-dev \
--values ./helm/eagle-public/values-dev.yaml \
--set image.tag=latestTo start a local development server, run:
npm start
# or
ng serveOnce the server is running, open your browser and navigate to http://localhost:4200/. The application will automatically reload whenever you modify any of the source files.
Angular CLI includes powerful code scaffolding tools. To generate a new component, run:
ng generate component component-nameFor a complete list of available schematics (such as components, directives, or pipes), run:
ng generate --helpTo build the project run:
ng buildThis will compile your project and store the build artifacts in the dist/ directory. By default, the production build optimizes your application for performance and speed.
To execute unit tests with the Vitest test runner, use the following command:
ng testFor end-to-end (e2e) testing, run:
ng e2eAngular CLI does not come with an end-to-end testing framework by default. You can choose one that suits your needs.
For more information on using the Angular CLI, including detailed command references, visit the Angular CLI Overview and Command Reference page.