Operations grimoire/Dwellers to DevCentral

From Nasqueron Agora
Revision as of 23:55, 28 July 2016 by Dereckson (talk | contribs) (Created page with "This document explains how to communicate with DevCentral from the Docker host. == Rewrite remotes == <code>ssh://vcs@devcentral.nasqueron.org:5022/diffusion/DJENKINSSLAVES/...")
(diff) ← Older revision | Latest revision (diff) | Newer revision β†’ (diff)

πŸ“•πŸ“πŸ“œ Old technical information :: content warning

βŒ› This Nasqueron Operations Grimoire page hasn't been updated for a long time.

☣ As our infrastructure evolves quickly, there is a good chance this information is outdated or now inaccurate. Be careful and consider update it.

➑️ To assert the information is still up-to-date or not, you can check the history of the relevant role in our Operations repository.

This document explains how to communicate with DevCentral from the Docker host.

Rewrite remotes

ssh://vcs@devcentral.nasqueron.org:5022/diffusion/DJENKINSSLAVES/docker-jenkins-slaves.git

becomes:

ssh://vcs@devcentral.docker.ulubis/diffusion/DJENKINSSLAVES/docker-jenkins-slaves.git

See https://devcentral.nasqueron.org/T958 for discussion about DNS.

Arcanist

arc is a wrapper to run nasqueron/arcanist container.

To use it, create a ~/.arc folder with:

  • a arcrc file for your arc configuration
  • a gitconfig file for your Git configuration
  • a ssh folder with a dedicated key for Dwellers to Phabricator instances (mkdir -p ~/.arc/ssh && ssh-keygen -t ed25519 ~/.arc/ssh/id_ed25519)

For example:

.
β”œβ”€β”€ arcrc
β”œβ”€β”€ gitconfig
└── ssh
    β”œβ”€β”€ id_ed25519
    β”œβ”€β”€ id_ed25519.pub
    └── known_hosts

That folder content will be passed as volumes to the container.

Don't use symbolic links (hard links are okay), they wouldn't resolve when passed as a volume to the container.