🚰 CI/CD Pipeline
The CI/CD Pipeline is defined in .gitlab-ci.yml
.
test-js Stage
This stage runs our test suite.
test-server Job
Runs the server tests and generates a test report, that can be viewed in the GitLab UI. Also provides the coverage percentage for the badge in the README.
build-js Stage
This stage builds the JavaScript codebase.
build-dashboard Job
Builds the Dashboards JavaScript and exports the result to an Artifact.
build-server Job
Build the Servers JavaScript and exports the result to an Artifact.
build-images Stage
This stage builds the Container Images.
build-dashboard-container Job
Builds the Dashboard Container Image using NGINX as a webserver. When building the Dashboard, the URL of the Server it tries to connect to gets baked in on build time. So the images exclusively point to our demo deployment.
build-server-container Job
Build the Server Container Image, that bundles Bun as a runtime.
build-garage-init-container Job
This job builds the Garage Init Container. This container is used to initialize the garage environment. It contains scripts to set up the necessary configurations for the garage application.
build-garage-for-tests-container Job
This job builds the Garage For Tests Container. This container is specifically designed for running tests in an isolated environment.