---
# System prepended metadata

title: CentOS / Debian CI Preparation

---

# CentOS / Debian CI Preparation
 
1) Add ssh public key from bamboo@ci2.netdef.org to root@(testsystem) accounts for login

2) Create CI User on testsystems  (named "ci")

3) Add CI user to sudo to allow commands without password

4) Add  ssh public key from bamboo@ci2.netdef.org to ci@(testsystem) accounts for login

4) Remove installed FRR package

5) shutdown test system and create snapshot named "clean"

# CI Tasks (on ci2.netdef.org)

1) Create a Testplan to build FRR packages on the CI from the FRR Git master, built on your Debian and CentOS VMs

2) Create some dummy testplan using the Bamboo YAML Specs

3) Create and add CentOS8 system to CI and build packages on it.

4) Create new git for yaml specs based testplan and modify testplan to build FRR packages to use yaml specs from it instead of hardcoded scripts

# SSH Certificates (if spare time)

1) Investigate SSH Certificate use
    See https://smallstep.com/blog/use-ssh-certificates/
    
2) Needs to work with Yubikeys SSH keys and static public keys


## References

### CI YAML Specs

https://docs.atlassian.com/bamboo-specs-docs/6.9.0/specs.html?yaml

### CI General Docs

https://confluence.atlassian.com/bamboo


