Addresses #892 by integrating a GitLab Runner setup into the DTaaS software.
Type of Change
✔ New feature
✔ Documentation update
Description
Adds a compose.runner.yml file that spins up a Docker container running the gitlab/gitlab-runner image, and automatically starts a gitlab runner based on the settings in config.toml.
Testing
Tested using a localhost and a server installation, both using a server-hosted gitlab instance.
Impact
The process of registering a GitLab Runner will be greatly simplified. Developers will be able to use the digital twins preview page with a self-hosted runner.
Additional Information
[ ] On localhost, the hello-world digital twin fails during execution as the runner executor cannot access the host machine's localhost.
[ ] Currently, network_mode is set to host for the gitlab-runner container. This should instead use or create a docker network.
[X] Added a guide in the services/gitlab directory.
[ ] Need to update/create the admin guide for using the Digital Twins Preview Page.
Checklist
[X] My code adheres to the coding and style guidelines of the project.
[X] I have added tests for all the new code and any changes made to
existing code.
[X] I have made corresponding changes to the documentation.
Integrates GitLab Runner into DTaaS
Addresses #892 by integrating a GitLab Runner setup into the DTaaS software.
Type of Change
✔ New feature ✔ Documentation update
Description
Adds a
compose.runner.yml
file that spins up a Docker container running thegitlab/gitlab-runner
image, and automatically starts a gitlab runner based on the settings inconfig.toml
.Testing
Tested using a localhost and a server installation, both using a server-hosted gitlab instance.
Impact
The process of registering a GitLab Runner will be greatly simplified. Developers will be able to use the digital twins preview page with a self-hosted runner.
Additional Information
network_mode
is set tohost
for the gitlab-runner container. This should instead use or create a docker network.services/gitlab
directory.Checklist