Here are the GitLab UI locations where you can find that Token: However, all of those require a Registration Token. Once the runner is installed, you can set it up as: You can uninstall with anka-gitlab-runner uninstall GitLab Setup plist will contain -working-directory (which is set to the current location when running anka-gitlab-runner install) and -config (set to macOS: $HOME/.gitlab-runner/anka-config.toml / linux: /etc/gitlab-runner/anka-config.toml). On macOS, the install command will place an ist file into ~/Library/LaunchAgents/ ( /Library/LaunchAgents if root user) so that the runner is available on restarts. This means that some of the job functions like cache and artifacts will need to execute /usr/local/bin/gitlab-runner command, therefore the user under which jobs are run needs to have access to the executable (chmod). On Linux, it will run as root and execute jobs as the user specified by the install command. $ sudo anka-gitlab-runner install -u testUser Runtime platform arch =amd64 os =linux pid = 147005 revision =66bf0b24 version =13.2.2/1.0.0įATAL: Please specify user that will run gitlab-runner service # Linux $ sudo anka-gitlab-runner install However, the commands also work for Linux with slight alterations. We’ll be using a amd64 mac for our guide. You can then curl down the version you need for your OS and architecture: You can find our releases on the Anka GitLab Runner GitHub. You can run the Anka GitLab Runner on any machine with network access to the Anka Cloud Controller, Anka Nodes, and your GitLab. These steps are based on GitLab 13.1.4 Your version/UI may differ slightly. On the host, enable port forwarding of the VM’s 22 port using the Anka CLI.Make sure remote login is enabled ( System Preferences > Sharing).You may have to include other dependencies depending on your needs. The below list are the absolute necessities needed to execute commands in a VM through your CI and the GitLab Runner. The runner connects GitLab to the Anka Cloud Controller to perform VM Instance creation and command execution through SSH into the VM Instance. If you are using GitLab, Veertu provides and maintains the Anka GitLab Runner. Instructions on how to use GitLab with Anka Build Cloud OpenID Connect (OIDC) / SSO Authentication.Preparing and Joining your Nodes to the Controller.Setting up the Controller & Registry on Linux/Docker.Anka Build Cloud Controller & Registry Version 1.18.0.Anka Build Cloud Controller & Registry Version 1.20.0.Anka Build Cloud Controller & Registry Version 1.22.0.Anka Build Cloud Controller & Registry Version 1.23.0.Anka Build Cloud Controller & Registry Version 1.24.0.Anka Build Cloud Controller & Registry Version 1.29.0.Anka Virtualization 3.1.0 (apple/arm64).Anka Build Cloud Controller & Registry Version 1.30.1.Anka Build Cloud Controller & Registry Version 1.32.0.Anka Build Cloud Controller & Registry Version 1.31.0.Anka Build Cloud Controller & Registry Version 1.33.0.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |