Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • mihhail/radon-particles
  • ramgree/radon-particles
  • arvaldas/radon-particles
  • jsapas/radon-particles
  • papkov/radon-particles
  • hashim99/radon-particles
  • jramos/radon-particles
  • antikivi/radon-particles
  • williamj/radon-particles
  • kryloval/radon-particles
  • daichi/radon-particles
  • yavorsky/radon-particles
  • everest/radon-particles
  • krooparg/radon-particles
  • andreasv/radon-particles
  • souvik/radon-particles
  • raihal/radon-particles
  • sanmaa/radon-particles
  • rapur/radon-particles
  • ssaan/radon-particles
  • sjenk/radon-particles
  • gautamku/radon-particles
  • dehury/radon-particles
  • poojara/radon-particles
  • karl1337/radon-particles
  • loideka/radon-particles
  • lohvina/radon-particles
  • devops22fallpub/radon-particles
  • kaliuzhn/radon-particles
  • kaarelta/radon-particles
  • timofeig/radon-particles
31 results
Show changes
Commits on Source (62)
Showing
with 369 additions and 21 deletions
......@@ -12,13 +12,13 @@
yum:
name: "*"
state: latest
- name: Create target directory
file:
path=/etc/docker/
state=directory
- name: Create target directory
file:
path=/etc/docker/
state=directory
mode=0755
- name: configure docker network address, ahead of time, to solve issues with docker default network collision with UT VPN
copy:
copy:
dest: /etc/docker/daemon.json
content: |
{
......@@ -37,7 +37,6 @@
- device-mapper-persistent-data
- lvm2
- python3-pip
- virtualenv
- python3-setuptools
- name: Add Docker repo
......@@ -85,7 +84,7 @@
state: started
enabled: yes
become: yes
- name: Install Docker Module for Python
pip:
name: "docker"
......@@ -98,32 +97,32 @@
# - curl
# - gnupg
# - software-properties-common
# - name: Add Docker GPG key
# apt_key:
# url: https://download.docker.com/linux/{{ ansible_distribution|lower }}/gpg
# id: 0EBFCD88
# state: present
# - name: Add Docker repository
# apt_repository:
# filename: docker
# repo: deb [arch=amd64] https://download.docker.com/linux/{{ ansible_distribution|lower }} {{ ansible_distribution_release|lower }} stable
# update_cache: true
# - name: Create target directory
# file:
# path=/tmp/docker/
# state=directory
# - name: Create target directory
# file:
# path=/tmp/docker/
# state=directory
# mode=0755
# - name: Create target directory
# file:
# path=/etc/docker/
# state=directory
# - name: Create target directory
# file:
# path=/etc/docker/
# state=directory
# mode=0755
# - name: configure docker network address, ahead of time, to solve issues with docker default network collision with UT VPN
# copy:
# copy:
# dest: /etc/docker/daemon.json
# content: |
# {
......@@ -136,7 +135,7 @@
# - name: Install docker-ce
# apt:
# name: docker-ce
# - name: Start and enable docker service
# service:
# name: docker
......@@ -144,4 +143,4 @@
# state: started
# when: ansible_os_family == "Debian"
\ No newline at end of file
# when: ansible_os_family == "Debian"
My nginx application from previous lab.
\ No newline at end of file
tosca_definitions_version: tosca_simple_yaml_1_3
metadata:
targetNamespace: "example.org.tosca.servicetemplates"
topology_template:
node_templates:
containerNginx_0:
type: radon.nodes.docker.containerNginx
metadata:
x: "1062"
y: "294"
displayName: "containerNginx_ganjusev"
properties:
container_port: "80"
image_name: "tymoj/nginx-alpine"
container_name: "my-nginx-alpine"
host_port: "8085"
requirements:
- host:
node: DockerEngineUT_0
relationship: con_HostedOn_1
capability: host
RemoteWorkstation_0:
type: radon.nodes.VM.RemoteWorkstation
metadata:
x: "413"
y: "331"
displayName: "RemoteWorkstation"
properties:
ssh_username: "centos"
KeyFile: "/home/ubuntu/id_rsa"
external_ip: "172.17.91.49"
DockerEngineUT_0:
type: radon.nodes.docker.DockerEngineUT
metadata:
x: "722"
y: "317"
displayName: "DockerEngineUT"
requirements:
- host:
node: RemoteWorkstation_0
relationship: con_HostedOn_0
capability: host
relationship_templates:
con_HostedOn_0:
type: tosca.relationships.HostedOn
con_HostedOn_1:
type: tosca.relationships.HostedOn
Apache httpd
\ No newline at end of file
text/plain
\ No newline at end of file
tosca_definitions_version: tosca_simple_yaml_1_3
metadata:
targetNamespace: "example.org.tosca.servicetemplates"
topology_template:
node_templates:
containerNginx_0:
type: radon.nodes.docker.containerNginx
metadata:
x: "1076"
y: "145"
displayName: "containerNginx"
properties:
container_port: 80
image_name: "httpd"
container_name: "mynginxserver"
host_port: 8083
requirements:
- host:
node: DockerEngineUT_0
relationship: con_HostedOn_1
capability: host
RemoteWorkstation_0:
type: radon.nodes.VM.RemoteWorkstation
metadata:
x: "350"
y: "218"
displayName: "RemoteWorkstation"
properties:
ssh_username: "centos"
KeyFile: "/home/ubuntu/hallikas_key_main.pem"
external_ip: "172.17.89.24"
DockerEngineUT_0:
type: radon.nodes.docker.DockerEngineUT
metadata:
x: "681"
y: "207"
displayName: "DockerEngineUT"
requirements:
- host:
node: RemoteWorkstation_0
relationship: con_HostedOn_0
capability: host
relationship_templates:
con_HostedOn_0:
type: tosca.relationships.HostedOn
con_HostedOn_1:
type: tosca.relationships.HostedOn
tosca_definitions_version: tosca_simple_yaml_1_3
metadata:
targetNamespace: "example.org.tosca.servicetemplates"
topology_template:
node_templates:
containerNginx_0:
type: radon.nodes.docker.containerNginx
metadata:
x: "281"
y: "315"
displayName: "defaultFlaskServer_kaliuzhn"
properties:
container_port: "5000"
image_name: "dkaliuzhnyi/devops2021:prac2"
container_name: "myflaskserver"
host_port: "8083"
requirements:
- host:
node: DockerEngineUT_0
relationship: con_HostedOn_1
capability: host
RemoteWorkstation_0:
type: radon.nodes.VM.RemoteWorkstation
metadata:
x: "1054"
y: "196"
displayName: "myWorkerVM_kaliuzhn"
properties:
ssh_username: "centos"
KeyFile: "/home/ubuntu/ssh_devops_kaliuzhnyi.pem"
external_ip: "172.17.91.200"
DockerEngineUT_0:
type: radon.nodes.docker.DockerEngineUT
metadata:
x: "711"
y: "275"
displayName: "DockerEngineUT"
requirements:
- host:
node: RemoteWorkstation_0
relationship: con_HostedOn_0
capability: host
relationship_templates:
con_HostedOn_0:
type: tosca.relationships.HostedOn
con_HostedOn_1:
type: tosca.relationships.HostedOn
hello world
\ No newline at end of file
text/plain
\ No newline at end of file
tosca_definitions_version: tosca_simple_yaml_1_3
metadata:
targetNamespace: "example.org.tosca.servicetemplates"
topology_template:
node_templates:
RemoteWorkstation_0:
type: radon.nodes.VM.RemoteWorkstation
metadata:
x: "486"
y: "369"
displayName: "mWorkerVM_vija"
properties:
ssh_username: "centos"
KeyFile: "/home/ubuntu/devops_vija"
external_ip: "192.168.42.180"
containerNginx_0:
type: radon.nodes.docker.containerNginx
metadata:
x: "1255"
y: "363"
displayName: "containerApache"
properties:
container_port: "80"
image_name: "httpd"
container_name: "myapacheserver"
host_port: "8080"
name: "defaultApacheServer_vija"
requirements:
- host:
node: DockerEngineUT_0
relationship: con_HostedOn_1
capability: host
DockerEngineUT_0:
type: radon.nodes.docker.DockerEngineUT
metadata:
x: "824"
y: "364"
displayName: "DockerEngineUT"
requirements:
- host:
node: RemoteWorkstation_0
relationship: con_HostedOn_0
capability: host
relationship_templates:
con_HostedOn_0:
type: tosca.relationships.HostedOn
con_HostedOn_1:
type: tosca.relationships.HostedOn
This is a sample TOSCA application that starts an Nginx server on a docker node hosted in VM.
\ No newline at end of file
text/plain
\ No newline at end of file
tosca_definitions_version: tosca_simple_yaml_1_3
metadata:
targetNamespace: "radon.blueprints.examples"
topology_template:
node_templates:
containerNginx_0:
type: radon.nodes.docker.containerNginx
metadata:
x: "891"
y: "231"
displayName: "defaultNginxServer_rooparg"
properties:
container_port: 80
image_name: "nginx:1.13"
container_name: "mynginxserver"
host_port: 8082
requirements:
- host:
node: DockerEngineUT_0
relationship: con_HostedOn_1
capability: host
RemoteWorkstation_0:
type: radon.nodes.VM.RemoteWorkstation
metadata:
x: "223"
y: "232"
displayName: "myWorker_rooparg"
properties:
ssh_username: "centos"
KeyFile: "/home/ubuntu/dev-ops-2021"
external_ip: "192.168.42.199"
DockerEngineUT_0:
type: radon.nodes.docker.DockerEngineUT
metadata:
x: "557"
y: "231"
displayName: "DockerEngineUT"
requirements:
- host:
node: RemoteWorkstation_0
relationship: con_HostedOn_0
capability: host
relationship_templates:
con_HostedOn_0:
type: tosca.relationships.HostedOn
con_HostedOn_1:
type: tosca.relationships.HostedOn
Repository contains code for homework assignment in Lab 7.
\ No newline at end of file
text/plain
\ No newline at end of file
tosca_definitions_version: tosca_simple_yaml_1_3
metadata:
targetNamespace: "radon.blueprints.examples"
topology_template:
node_templates:
containerNginx_0:
type: radon.nodes.docker.containerNginx
metadata:
x: "1103"
y: "412"
displayName: "containerNginx"
properties:
container_port: "5000"
image_name: "mihhailm/devops2021:prac2"
container_name: "mihhail_flask"
host_port: "5000"
name: "mihhail_flask_app"
requirements:
- host:
node: DockerEngineUT_0
relationship: con_HostedOn_0
capability: host
RemoteWorkstation_0:
type: radon.nodes.VM.RemoteWorkstation
metadata:
x: "366"
y: "241"
displayName: "RemoteWorkstation"
properties:
ssh_username: "centos"
KeyFile: "/home/ubuntu/.ssh/id_rsa"
external_ip: "172.17.90.152"
DockerEngineUT_0:
type: radon.nodes.docker.DockerEngineUT
metadata:
x: "528"
y: "468"
displayName: "DockerEngineUT"
requirements:
- host:
node: RemoteWorkstation_0
relationship: con_HostedOn_1
capability: host
relationship_templates:
con_HostedOn_0:
type: tosca.relationships.HostedOn
con_HostedOn_1:
type: tosca.relationships.HostedOn
This is my Apache service
\ No newline at end of file
text/plain
\ No newline at end of file
tosca_definitions_version: tosca_simple_yaml_1_3
metadata:
targetNamespace: "radon.blueprints.examples"
topology_template:
node_templates:
containerNginx_0:
type: radon.nodes.docker.containerNginx
metadata:
x: "1484"
y: "232"
displayName: "containerNginx"
properties:
container_port: 80
image_name: "httpd:2.4"
container_name: "myapacheserver"
host_port: "8083"
requirements:
- host:
node: DockerEngineUT_0
relationship: con_HostedOn_1
capability: host
RemoteWorkstation_0:
type: radon.nodes.VM.RemoteWorkstation
metadata:
x: "332"
y: "194"
displayName: "myWorkerVM_artjom"
properties:
ssh_username: "centos"
KeyFile: "/home/ubuntu/id_rsa"
external_ip: "172.17.91.128"
DockerEngineUT_0:
type: radon.nodes.docker.DockerEngineUT
metadata:
x: "878"
y: "234"
displayName: "DockerEngineUT"
requirements:
- host:
node: RemoteWorkstation_0
relationship: con_HostedOn_0
capability: host
relationship_templates:
con_HostedOn_0:
type: tosca.relationships.HostedOn
con_HostedOn_1:
type: tosca.relationships.HostedOn