Commit 22618db2 by Bruno Bzeznik

More doc

parent 7f90c79b
# 1 - From gitlab, get the registration token
# 2 - Register the runner:
gitlab-runner register --executor shell --name phylodev --url https://git.metabarcoding.org --registration-token XXXXXXXXXXXX_xxxxx"
# 3- Into the repository, create .gitlab-ci.yml
......@@ -5,17 +5,17 @@ source ./ciment-nix-ci-openrc.sh
# Instanciate a new server
```
openstack server create --flavor m1.medium --image nixos-18.03-x86_64 --key-name bzizou-rsa --nic net-id=ciment-nix-ci-int-net,v4-fixed-ip=192.168.0.200 phyloalps
openstack server create --flavor m1.medium --image nixos-18.03-x86_64 --key-name bzizou -rsa --nic net-id=ciment-nix-ci-int-net phyloalps
```
# Get a routed ip address
```
openstack floating ip create ciment-nix-ci-ext-net
openstack floating ip create --subnet ciment-nix-ci-ext-pub-subnet ciment-nix-ci-ext-net
```
# Set the ip address to the server
```
openstack server add floating ip phyloalps 10.1.135.13
openstack server add floating ip phyloalps 129.88.195.27
```
# Allow ssh
......@@ -23,4 +23,9 @@ openstack server add floating ip phyloalps 10.1.135.13
openstack security group create my-ssh
openstack security group rule create --ingress --dst-port 22 --protocol tcp my-ssh
openstack server add security group phyloalps my-ssh
```
\ No newline at end of file
```
# Faire une image
```
openstack server image create phyloalps --name nixos-18.09-x86_64
```
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment