Page MenuHomeSoftware Heritage

gitlab: Allow gitlab rail command to run without ssh
ClosedPublic

Authored by ardumont on May 20 2022, 9:07 AM.

Details

Summary

Through *rails-command*

Out current gitlab to migrate to is ran through a kube container so we cannot ssh into
it.

This opens the option to run the grail command somehow needed by the forgerie routine:

$ docker run -v /srv/phabricator:/srv/phabricator \
    -v ~/.kube:/srv/forgerie/.kube \
    --name forgerie --rm \
    --net=host -it forgerie bash

Related to T4064

Test Plan

actually doing it

Diff Detail

Repository
R263 forgerie
Branch
main
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 29498
Build 46089: arc lint + arc unit

Event Timeline

ardumont created this revision.

Update docstring and generate template to match docstrings

(i had to hard-code the path to actually be able to run the script though)

ardumont retitled this revision from wip: gitlab: Allow grail command to run without ssh to wip: gitlab: Allow gitlab rail command to run without ssh.May 20 2022, 9:28 AM
ardumont retitled this revision from wip: gitlab: Allow gitlab rail command to run without ssh to gitlab: Allow gitlab rail command to run without ssh.May 20 2022, 9:32 AM

Add new variable to generated template

This revision was not accepted when it landed; it landed in state Needs Review.May 31 2022, 2:54 PM
This revision was automatically updated to reflect the committed changes.