Skip to content
Snippets Groups Projects
Commit 0033a773 authored by Manuel Kieweg's avatar Manuel Kieweg
Browse files

changed to build server for docker

parent c8ed9887
No related branches found
No related tags found
2 merge requests!109Integration test,!90Develop
Pipeline #66289 failed
......@@ -12,4 +12,5 @@ documentation/design/*.pdf
.idea/modules.xml
.idea/vcs.xml
.idea/workspace.xml
restconf/bin/bin
\ No newline at end of file
restconf/bin/bin
test_resources/.terraform.local/
......@@ -32,7 +32,7 @@ variable "tls_ca_cert" {
}
provider "docker" {
host = "tcp://portainer.danet.fbi.h-da.de:2376"
host = "tcp://141.100.70.171:2376"
ca_material = var.tls_ca_cert
cert_material = var.tls_cert
......@@ -54,16 +54,14 @@ resource "docker_image" "ceos" {
}
# Create a new docker network
resource "docker_network" "integration" {
resource "docker_network" "danet" {
name = "danet"
}
# create controller container
resource "docker_container" "gosdn" {
name = "contoller"
image = docker_image.gosdn.name
restart = "always"
ports {
......@@ -72,7 +70,7 @@ resource "docker_container" "gosdn" {
}
networks_advanced {
name = "danet"
name = docker_network.danet.name
}
}
......@@ -84,7 +82,7 @@ resource "docker_container" "ceos" {
restart = "always"
networks_advanced {
name = "danet"
name = docker_network.danet.name
}
command = ["/sbin/init",
......@@ -98,7 +96,3 @@ resource "docker_container" "ceos" {
"MGMT_INTF=eth0"]
privileged = true
}
# --name=ceos1 --privileged -e INTFTYPE=eth -e ETBA=1 -e SKIP_ZEROTOUCH_BARRIER_IN_SYSDBINIT=1 -e CEOS=1 -e EOS_PLATFORM=ceoslab -e container=docker -i -t ceosimage:4.21.0F /sbin/init systemd.setenv=INTFTYPE=eth systemd.setenv=ETBA=1 systemd.setenv=SKIP_ZEROTOUCH_BARRIER_IN_SYSDBINIT=1 systemd.setenv=CEOS=1 systemd.setenv=EOS_PLATFORM=ceoslab systemd.setenv=container=docker
# command /sbin/init systemd.setenv=INTFTYPE=eth systemd.setenv=ETBA=4 systemd.setenv=SKIP_ZEROTOUCH_BARRIER_IN_SYSDBINIT=1 systemd.setenv=CEOS=1 systemd.setenv=EOS_PLATFORM=ceoslab systemd.setenv=container=docker systemd.setenv=MAPETH0=1 MGMT_INTF=eth0
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment