Compare commits

..

No commits in common. 'f90c74ed87e1697da829b64dae4aad3787d391bc' and 'd358324d5dcacfb8b19f3a4afb6e03119500dd8c' have entirely different histories.

  1. 1
      1-vagrant-srv/.vagrant/machines/p1jenkins-pipeline/virtualbox/action_provision
  2. 1
      1-vagrant-srv/.vagrant/machines/p1jenkins-pipeline/virtualbox/action_set_name
  3. 1
      1-vagrant-srv/.vagrant/machines/p1jenkins-pipeline/virtualbox/box_meta
  4. 1
      1-vagrant-srv/.vagrant/machines/p1jenkins-pipeline/virtualbox/creator_uid
  5. 1
      1-vagrant-srv/.vagrant/machines/p1jenkins-pipeline/virtualbox/id
  6. 1
      1-vagrant-srv/.vagrant/machines/p1jenkins-pipeline/virtualbox/index_uuid
  7. 27
      1-vagrant-srv/.vagrant/machines/p1jenkins-pipeline/virtualbox/private_key
  8. 1
      1-vagrant-srv/.vagrant/machines/p1jenkins-pipeline/virtualbox/synced_folders
  9. 1
      1-vagrant-srv/.vagrant/machines/p1jenkins-pipeline/virtualbox/vagrant_cwd
  10. 1
      1-vagrant-srv/.vagrant/machines/srvdev-pipeline/virtualbox/action_provision
  11. 1
      1-vagrant-srv/.vagrant/machines/srvdev-pipeline/virtualbox/action_set_name
  12. 1
      1-vagrant-srv/.vagrant/machines/srvdev-pipeline/virtualbox/box_meta
  13. 1
      1-vagrant-srv/.vagrant/machines/srvdev-pipeline/virtualbox/creator_uid
  14. 1
      1-vagrant-srv/.vagrant/machines/srvdev-pipeline/virtualbox/id
  15. 1
      1-vagrant-srv/.vagrant/machines/srvdev-pipeline/virtualbox/index_uuid
  16. 27
      1-vagrant-srv/.vagrant/machines/srvdev-pipeline/virtualbox/private_key
  17. 1
      1-vagrant-srv/.vagrant/machines/srvdev-pipeline/virtualbox/synced_folders
  18. 1
      1-vagrant-srv/.vagrant/machines/srvdev-pipeline/virtualbox/vagrant_cwd
  19. 1
      1-vagrant-srv/.vagrant/machines/srvprod-pipeline/virtualbox/action_provision
  20. 1
      1-vagrant-srv/.vagrant/machines/srvprod-pipeline/virtualbox/action_set_name
  21. 1
      1-vagrant-srv/.vagrant/machines/srvprod-pipeline/virtualbox/box_meta
  22. 1
      1-vagrant-srv/.vagrant/machines/srvprod-pipeline/virtualbox/creator_uid
  23. 1
      1-vagrant-srv/.vagrant/machines/srvprod-pipeline/virtualbox/id
  24. 1
      1-vagrant-srv/.vagrant/machines/srvprod-pipeline/virtualbox/index_uuid
  25. 27
      1-vagrant-srv/.vagrant/machines/srvprod-pipeline/virtualbox/private_key
  26. 1
      1-vagrant-srv/.vagrant/machines/srvprod-pipeline/virtualbox/synced_folders
  27. 1
      1-vagrant-srv/.vagrant/machines/srvprod-pipeline/virtualbox/vagrant_cwd
  28. 1
      1-vagrant-srv/.vagrant/machines/srvstage-pipeline/virtualbox/action_provision
  29. 1
      1-vagrant-srv/.vagrant/machines/srvstage-pipeline/virtualbox/action_set_name
  30. 1
      1-vagrant-srv/.vagrant/machines/srvstage-pipeline/virtualbox/box_meta
  31. 1
      1-vagrant-srv/.vagrant/machines/srvstage-pipeline/virtualbox/creator_uid
  32. 1
      1-vagrant-srv/.vagrant/machines/srvstage-pipeline/virtualbox/id
  33. 1
      1-vagrant-srv/.vagrant/machines/srvstage-pipeline/virtualbox/index_uuid
  34. 27
      1-vagrant-srv/.vagrant/machines/srvstage-pipeline/virtualbox/private_key
  35. 1
      1-vagrant-srv/.vagrant/machines/srvstage-pipeline/virtualbox/synced_folders
  36. 1
      1-vagrant-srv/.vagrant/machines/srvstage-pipeline/virtualbox/vagrant_cwd
  37. 9
      1-vagrant-srv/.vagrant/rgloader/loader.rb
  38. 83
      1-vagrant-srv/Vagrantfile
  39. 45
      1-vagrant-srv/install_p1jenkins.sh
  40. 0
      README.md

1
1-vagrant-srv/.vagrant/machines/p1jenkins-pipeline/virtualbox/action_provision

@ -0,0 +1 @@
1.5:e692151a-a99f-456c-904b-c80b059c9a94

1
1-vagrant-srv/.vagrant/machines/p1jenkins-pipeline/virtualbox/action_set_name

@ -0,0 +1 @@
1657209351

1
1-vagrant-srv/.vagrant/machines/p1jenkins-pipeline/virtualbox/box_meta

@ -0,0 +1 @@
{"name":"debian/buster64","version":"10.20211018.1","provider":"virtualbox","directory":"boxes/debian-VAGRANTSLASH-buster64/10.20211018.1/virtualbox"}

1
1-vagrant-srv/.vagrant/machines/p1jenkins-pipeline/virtualbox/creator_uid

@ -0,0 +1 @@
1000

1
1-vagrant-srv/.vagrant/machines/p1jenkins-pipeline/virtualbox/id

@ -0,0 +1 @@
e692151a-a99f-456c-904b-c80b059c9a94

1
1-vagrant-srv/.vagrant/machines/p1jenkins-pipeline/virtualbox/index_uuid

@ -0,0 +1 @@
1a978fdd28424886b84fe3f568c56c02

27
1-vagrant-srv/.vagrant/machines/p1jenkins-pipeline/virtualbox/private_key

@ -0,0 +1,27 @@
-----BEGIN RSA PRIVATE KEY-----
MIIEogIBAAKCAQEAhCTKex1VHNdttEgHQIt9vB1AW+2oUc+7AsJsOGI4+4kg4xgP
D3gSkMu8duYkZ1Zv4Z+ul3AmSSh36Hs5MAmvPom2Kc3XFkDPiDsFGlhsJqEBsJJm
39/x6TUvkdio8CszBYz/rRx2ElLao+vA/xQGDX2nBRHv+7Ln+aT3kCIM7gkMxuzU
4rgKYJkxvHWJ2tkREz7ih095hqh6hbQoxYdtm3yifAC7uaiqU4lsllwUUAuzVVpt
MaH8+JRllgHxwhvrP14WeOhk562ZxJJQjU019+/wvo5adFjRj5+fpUXbxhl6LDly
jHdo0X7L5ucSDx2E3gkyOh6/KASNTDDmbwp7XwIDAQABAoIBAAjp+Tvl2VlGBP36
aX052HdjAVwe9rhFSygfMmRGGyVVdXT5D5o4PAeT3sVy6YJZCwumyGtc/HaTg5P/
EypoGzy2PT+qElGYRjrT2svEqpybRtbNtKFy5P0AAl+UKtoMp/ck/eHqsuJLv+wu
QC+7MfW60K35LRc6O22Uao8vMaN+IWBdV/p54DF4WiB7CXaqpfLQTJQab5RRJQX+
u3Sy3F3GNHXgTrnYKHhnyC6tpftcdwhy2UHgYN5RUHud33NlinIIvDodLLoESf6p
LHLbv+GkCX1CaDnMU7kkTuJrMF6WkJ0NqUliO+iwj5joH3G8Vd0RVK2VrmtP9DxC
vl3rPKkCgYEAtpvN/NPZCwkrnrXNC6drrdpBE5NGdKuBgcajJReBOTyM3cOTCrVh
A8LDRjJKKkAW+7n4KI+ABMMMascr3NoVGhZDKi1l+PrZWvGfxwvgU8C1WFkYIhYa
slz+ZoK49gFS19GOLkguVJ9lSPzVe39Cgzcq1tr6OxKHtqyZoyalGtkCgYEAuUDD
zmdlU1UmUH663T44blTTD+VDK4F595MH64liuuLffqAZEP/9a0tVwmrMBe0vnVEG
356L04l3z+ctUfEc2R5P/bRlWCCV0j169YjZXScAmZVop0tE9CDnF4qsj8dIAmcv
IqqoWnJiOcS0wrlaR57R4w7RFWsvd2UWwSmltPcCgYBzFwWfmIGN5Ay67cg61R0X
qJwlU0gvljx8Z45BfWvzgAckafQN5r0rWqAqaN23fUc/BjmyjqbX2XrE/ZzWiBiO
pYNVXOGNJ8S//dN+5yxOfQGOmjCMozPWQKgSQceDPNhSr3+WCeYxbXivpLKEMHPi
MW3tlnvpqUchyezXGC8tGQKBgF8m8uwLk7Hv5JQn49dL5DRXgWmCurOX94vAi6rh
kEKp0V364aUnt4Tq1wvbSxwoLfLB8aPejbeDvnSdK1wRWl3zAecwR3WylwG77nI7
blo4dEhuw6haMvqqA8jFw8i99TC2yzElMv/yDJ3beXUjO0naO7hCngZAXcsXs05Y
E/MVAoGAEjtKTodQbdw5oeoDwquo2f6Cx16m8wNpFZzc8s1dwI/dTcJS6Gji7L1N
TMpAkjbbMY25pK415ca+IL9N5gpM1XZ0Yqxg9064H8w6iqbwjIuZC52MBpW0/EoD
deH2W25ZiXj/3ghkHmaA0nGnShCHTMR51+egLhZMcT6tqg/83BQ=
-----END RSA PRIVATE KEY-----

1
1-vagrant-srv/.vagrant/machines/p1jenkins-pipeline/virtualbox/synced_folders

@ -0,0 +1 @@
{"rsync":{"/vagrant":{"type":"rsync","guestpath":"/vagrant","hostpath":"/home/bertrand/tutodevops/pipeline-saison-1/1.10-vagrant-srv","disabled":false,"__vagrantfile":true,"owner":"vagrant","group":"vagrant"}}}

1
1-vagrant-srv/.vagrant/machines/p1jenkins-pipeline/virtualbox/vagrant_cwd

@ -0,0 +1 @@
/home/bertrand/tutodevops/pipeline-saison-1/1.10-vagrant-srv

1
1-vagrant-srv/.vagrant/machines/srvdev-pipeline/virtualbox/action_provision

@ -0,0 +1 @@
1.5:4c75a04f-29d1-4175-ade2-465f129af0e4

1
1-vagrant-srv/.vagrant/machines/srvdev-pipeline/virtualbox/action_set_name

@ -0,0 +1 @@
1657209545

1
1-vagrant-srv/.vagrant/machines/srvdev-pipeline/virtualbox/box_meta

@ -0,0 +1 @@
{"name":"debian/buster64","version":"10.20211018.1","provider":"virtualbox","directory":"boxes/debian-VAGRANTSLASH-buster64/10.20211018.1/virtualbox"}

1
1-vagrant-srv/.vagrant/machines/srvdev-pipeline/virtualbox/creator_uid

@ -0,0 +1 @@
1000

1
1-vagrant-srv/.vagrant/machines/srvdev-pipeline/virtualbox/id

@ -0,0 +1 @@
4c75a04f-29d1-4175-ade2-465f129af0e4

1
1-vagrant-srv/.vagrant/machines/srvdev-pipeline/virtualbox/index_uuid

@ -0,0 +1 @@
00f75d00e3fe45bda44516679ddf9559

27
1-vagrant-srv/.vagrant/machines/srvdev-pipeline/virtualbox/private_key

@ -0,0 +1,27 @@
-----BEGIN RSA PRIVATE KEY-----
MIIEowIBAAKCAQEA7FT34u46mI2egQQQsKxivV5c7zqQpCFQL0ScNUL/k0J9wL2M
h7QZLiKrgO8lXM9HlEazYvRYdkHM9UUstVxa/lydGdBkrsFR8XBGfqTLWYLi+IZl
V/l4SQyBti6rfgR7sEC5kIM71Bwe3B/3l4L3ha9urhVLZylL6qF0KKrxc5wuS/tA
lSBj3+1ypjuLOuFg/irpmQRodHwC6Q6bR1qm5bTmRRm73px7QP4cT4ZWFxvsGhEa
DM5NIq9qNC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/Q0cWXBS0pSnYeeUsWItqM4UDKF
dSNWaMz58nMaajVkKXTVqGlyn6I56dsSCzO3SyjI7ct39/6uFL0bwmZg/g8E9Dgh
Fm+jAoGBAMo6kWh8YPjzCJaqk79uOnyYz5zXKe1DXdyNkXm8mvOxkrvegBgmRK/v
kjdWnSO9Ql1TJBhHDrBgF6GwEBnMhpkOMNty9IMI2zUYp+sY6wA5FjLBCd1/MJ+R
gGYq0+JsUWt5Ne4DOXdvaAtyxnbPCzWCf1lsOptRXMHf4PVK2zYs
-----END RSA PRIVATE KEY-----

1
1-vagrant-srv/.vagrant/machines/srvdev-pipeline/virtualbox/synced_folders

@ -0,0 +1 @@
{"rsync":{"/vagrant":{"type":"rsync","guestpath":"/vagrant","hostpath":"/home/bertrand/tutodevops/pipeline-saison-1/1.10-vagrant-srv","disabled":false,"__vagrantfile":true,"owner":"vagrant","group":"vagrant"}}}

1
1-vagrant-srv/.vagrant/machines/srvdev-pipeline/virtualbox/vagrant_cwd

@ -0,0 +1 @@
/home/bertrand/tutodevops/pipeline-saison-1/1.10-vagrant-srv

1
1-vagrant-srv/.vagrant/machines/srvprod-pipeline/virtualbox/action_provision

@ -0,0 +1 @@
1.5:45c448b2-e4eb-4b58-b0b8-ee96146e5f70

1
1-vagrant-srv/.vagrant/machines/srvprod-pipeline/virtualbox/action_set_name

@ -0,0 +1 @@
1657209634

1
1-vagrant-srv/.vagrant/machines/srvprod-pipeline/virtualbox/box_meta

@ -0,0 +1 @@
{"name":"debian/buster64","version":"10.20211018.1","provider":"virtualbox","directory":"boxes/debian-VAGRANTSLASH-buster64/10.20211018.1/virtualbox"}

1
1-vagrant-srv/.vagrant/machines/srvprod-pipeline/virtualbox/creator_uid

@ -0,0 +1 @@
1000

1
1-vagrant-srv/.vagrant/machines/srvprod-pipeline/virtualbox/id

@ -0,0 +1 @@
45c448b2-e4eb-4b58-b0b8-ee96146e5f70

1
1-vagrant-srv/.vagrant/machines/srvprod-pipeline/virtualbox/index_uuid

@ -0,0 +1 @@
0ee0680df07f44959572d01e13a1ef10

27
1-vagrant-srv/.vagrant/machines/srvprod-pipeline/virtualbox/private_key

@ -0,0 +1,27 @@
-----BEGIN RSA PRIVATE KEY-----
MIIEowIBAAKCAQEAvrRX54zKh0Zfg8+WpOKvOiwssXXb+Rbf5csVP8gJSA/kpi2r
CF6shbWCo6TW4EaAAxhfUtkyJsJs/TwZH2M2E8D52eFlgSYapngum209REt1HEO2
O4EVoZPLQlH73Jv+tgfxmVuJTylnKOtnU/alm0TOHie6Sh5F/+p++CTApyAk/20n
q0qbZ2hxCWQMrHA9M25kvXEhpZywt7Py9UDn7rU4aAqejA0ZmBf6gzFI4xs5Yy+W
O2noTjxeO+jvXHILqBwErFu4f8C5cG8AxWiqY91i4/gEeYnVmZ5n0x7QyKEsdxtO
ORz3rOcF698E6nKFibH/2NKGYurDPU0DVRBGJwIDAQABAoIBAAo+hNRW71A5+wqJ
HbYIyVHuKo5z3tewH2HoOWF+POVmmSlGHcBq2YirOfPReIt+rgS8i+5W5YdIfXNT
BaR2f2KrRKCsJ3g7FEZqAVLvGNHw3b8hcgobQo618j7DSazNom6j2Zob3THn7vc3
Qgs0HixLk2jySGMP4kG/lod87e5sR2LglIWCOfnCpSi0KQwmIkiV6PgDnEjXLd8H
zJcxgzOU4Q1MUDpYmv4SXzqfbicB7YQD357b90xXP22Ppn2aWs0vk8mbyymKpXRp
A5LpYOeLPYTIiFH7+GqePdQQ+SxprgLCo2TtDZ70zoiyjsU714mdy0QC1/mwvP+A
9CDXtX0CgYEA2fr7KySATdoNofyK3WISENd1Pl5Zu1y96TPeFVTqtBmRkVr6z81j
JPq84G5hJGEQBj8Ym/SkvWkVnBqOtgQeyCd6ahZdHa6hR3WrbD3tBTXHNHYeKi+9
l+eA327yBngySYBhSzOzjGq1EuG+TO/a6qeF8MsHFzD2tuNBsrHydZMCgYEA3/d3
vQnFk9WEe0FBCujXXGjB4YzltlAuUPibPz/VdvrWTvEKBlNF6KPNGaU3opqLJL9G
mO2KSq+8yknZns2XsoB+oQICebTQQbpNfTFHz7mes++Jtgmj7TpgG+le1qXi4Csl
CjcnbMjx4u609Fle3bagfLmnOOjSJgDS8yNUCZ0CgYAUirJgvm/Y5lOikEoF0tgg
/izuU7XhEjxTXa/wErCLiF1PdWNtcc2GDpr+C2jcJMl9zTRkfgmIT/7ZVydbv8em
1RGULcdYpLxOH6in6q4Lb6X2K6tsDlOvnQFoDOyB75HNm2uPyq+A7A1kWiG03mWi
92aH6pogdVzKn1/xlxNiQQKBgQCA03bDfNhyNbITt7AzF0WxeOx00bfcS3ioyKd8
FTqzSot1Mv7CLqoarAWwx7EdzelVhNSV6KTQWw+sCBiuWLH2UiUEdgR4f0H/XKtv
5KXa3XllJNbAqADr1tUrmOwdaaP7r7WJj7oUv+0qzIW3u6RuwbrEo4GFoZ4nj/fH
NT4EnQKBgGj5sz7n1WtWigIFoeEICS5RC+7nycnTG9mawXzaQ0TIRaB33mo2DLhO
zmyvlPVprw2vV1haJGKsP9WGWSQMigH7Clwn12SARoH0tGG+qHN1sQWNJ5pYWaWs
41z+vh+WAKt5qdrQyV/i2roguIz/0PWTo74lT2c7Aw0faaWAYrgE
-----END RSA PRIVATE KEY-----

1
1-vagrant-srv/.vagrant/machines/srvprod-pipeline/virtualbox/synced_folders

@ -0,0 +1 @@
{"rsync":{"/vagrant":{"type":"rsync","guestpath":"/vagrant","hostpath":"/home/bertrand/tutodevops/pipeline-saison-1/1.10-vagrant-srv","disabled":false,"__vagrantfile":true,"owner":"vagrant","group":"vagrant"}}}

1
1-vagrant-srv/.vagrant/machines/srvprod-pipeline/virtualbox/vagrant_cwd

@ -0,0 +1 @@
/home/bertrand/tutodevops/pipeline-saison-1/1.10-vagrant-srv

1
1-vagrant-srv/.vagrant/machines/srvstage-pipeline/virtualbox/action_provision

@ -0,0 +1 @@
1.5:fe3c49ce-41c2-4db5-ae67-7d9710a97124

1
1-vagrant-srv/.vagrant/machines/srvstage-pipeline/virtualbox/action_set_name

@ -0,0 +1 @@
1657209587

1
1-vagrant-srv/.vagrant/machines/srvstage-pipeline/virtualbox/box_meta

@ -0,0 +1 @@
{"name":"debian/buster64","version":"10.20211018.1","provider":"virtualbox","directory":"boxes/debian-VAGRANTSLASH-buster64/10.20211018.1/virtualbox"}

1
1-vagrant-srv/.vagrant/machines/srvstage-pipeline/virtualbox/creator_uid

@ -0,0 +1 @@
1000

1
1-vagrant-srv/.vagrant/machines/srvstage-pipeline/virtualbox/id

@ -0,0 +1 @@
fe3c49ce-41c2-4db5-ae67-7d9710a97124

1
1-vagrant-srv/.vagrant/machines/srvstage-pipeline/virtualbox/index_uuid

@ -0,0 +1 @@
16c587394f714ba4b4528934b11d8417

27
1-vagrant-srv/.vagrant/machines/srvstage-pipeline/virtualbox/private_key

@ -0,0 +1,27 @@
-----BEGIN RSA PRIVATE KEY-----
MIIEpAIBAAKCAQEA8Pe4zstlHK0P8UnKWMXxeVjuo6PmbBjjGs/3b+zUE/8TGCTd
kONVRqOwH5Zus1SOkDeph0wz3a74wpj35Ld34ve/fN9lR+FEiKUsXGny/INmQ+ZP
uPZLyUwDLI+TTFkOXXrSsn63LDDxBCBU6pQ8wp69HCt7xo3mrAY6EInORM5CG60g
rHx9XmTVG2LfQXB+y3+kIBAlcGbxS5X+8IYot7asMwlBa9R6KMPaDnDA7A2Zok1p
cWjXKBJpbzRxD0XJyQEv+5RwZwYW59lHDqIO/spsnXLv3S3NPe9ZzQMg1ohj3Lz6
w4r+ksEDCoocPl2ExiKPzqN4PjAzFuzK6VTbTwIDAQABAoIBAAY9U+K+74pTjOMh
lwS/c2ZCAEPqfY/1AQRzuCOEzWULKNJqOfaDfHTMzkWzHoC0QtDHMDOZrIoj+rsH
PPwGKCuPYLz6B+RZl+214TUvZSRWvrIpZ40Ri5rVxgtEWHsUn0OaZ5RJpbKWPddu
guRkHEKp25m8IoNcr0lrC9vbxaSQadb1DCXgzTZx2qKRPyuCAK+mdSOsyAVY+U5b
Y9ZFkbFbCLzQX/2DBu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_folders

@ -0,0 +1 @@
{"rsync":{"/vagrant":{"type":"rsync","guestpath":"/vagrant","hostpath":"/home/bertrand/tutodevops/pipeline-saison-1/1.10-vagrant-srv","disabled":false,"__vagrantfile":true,"owner":"vagrant","group":"vagrant"}}}

1
1-vagrant-srv/.vagrant/machines/srvstage-pipeline/virtualbox/vagrant_cwd

@ -0,0 +1 @@
/home/bertrand/tutodevops/pipeline-saison-1/1.10-vagrant-srv

9
1-vagrant-srv/.vagrant/rgloader/loader.rb

@ -0,0 +1,9 @@
# This file loads the proper rgloader/loader.rb file that comes packaged
# with Vagrant so that encoded files can properly run with Vagrant.
if ENV["VAGRANT_INSTALLER_EMBEDDED_DIR"]
require File.expand_path(
"rgloader/loader", ENV["VAGRANT_INSTALLER_EMBEDDED_DIR"])
else
raise "Encoded files can't be read outside of the Vagrant installer."
end

83
1-vagrant-srv/Vagrantfile vendored

@ -0,0 +1,83 @@
# -*- mode: ruby -*-
# nano: set ft=ruby :
Vagrant.configure("2") do |config|
# p1jenkins server
config.vm.define "p1jenkins-pipeline" do |p1jenkins|
p1jenkins.vm.box = "debian/buster64"
p1jenkins.vm.hostname = "p1jenkins-pipeline"
p1jenkins.vm.box_url = "debian/buster64"
p1jenkins.vm.network :private_network, ip: "192.168.56.2"
p1jenkins.vm.provider :virtualbox do |v|
v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
v.customize ["modifyvm", :id, "--natdnsproxy1", "on"]
v.customize ["modifyvm", :id, "--memory", 3072]
v.customize ["modifyvm", :id, "--name", "p1jenkins-pipeline"]
v.customize ["modifyvm", :id, "--cpus", "2"]
end
config.vm.provision "shell", inline: <<-SHELL
sed -i 's/ChallengeResponseAuthentication no/ChallengeResponseAuthentication yes/g' /etc/ssh/sshd_config
service ssh restart
SHELL
p1jenkins.vm.provision "shell", path: "install_p1jenkins.sh"
end
# serveur dev
config.vm.define "srvdev-pipeline" do |srvdev|
srvdev.vm.box = "debian/buster64"
srvdev.vm.hostname = "srvdev-pipeline"
srvdev.vm.box_url = "debian/buster64"
srvdev.vm.network :private_network, ip: "192.168.56.3"
srvdev.vm.provider :virtualbox do |v|
v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
v.customize ["modifyvm", :id, "--natdnsproxy1", "on"]
v.customize ["modifyvm", :id, "--memory", 512]
v.customize ["modifyvm", :id, "--name", "srvdev-pipeline"]
v.customize ["modifyvm", :id, "--cpus", "1"]
end
config.vm.provision "shell", inline: <<-SHELL
sed -i 's/ChallengeResponseAuthentication no/ChallengeResponseAuthentication yes/g' /etc/ssh/sshd_config
service ssh restart
SHELL
end
# serveur stage/recette
config.vm.define "srvstage-pipeline" do |srvstage|
srvstage.vm.box = "debian/buster64"
srvstage.vm.hostname = "srvstage-pipeline"
srvstage.vm.box_url = "debian/buster64"
srvstage.vm.network :private_network, ip: "192.168.56.7"
srvstage.vm.provider :virtualbox do |v|
v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
v.customize ["modifyvm", :id, "--natdnsproxy1", "on"]
v.customize ["modifyvm", :id, "--memory", 512]
v.customize ["modifyvm", :id, "--name", "srvstage-pipeline"]
v.customize ["modifyvm", :id, "--cpus", "1"]
end
config.vm.provision "shell", inline: <<-SHELL
sed -i 's/ChallengeResponseAuthentication no/ChallengeResponseAuthentication yes/g' /etc/ssh/sshd_config
service ssh restart
SHELL
end
# serveur prod
config.vm.define "srvprod-pipeline" do |srvprod|
srvprod.vm.box = "debian/buster64"
srvprod.vm.hostname = "srvprod-pipeline"
srvprod.vm.box_url = "debian/buster64"
srvprod.vm.network :private_network, ip: "192.168.56.4"
srvprod.vm.provider :virtualbox do |v|
v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
v.customize ["modifyvm", :id, "--natdnsproxy1", "on"]
v.customize ["modifyvm", :id, "--memory", 512]
v.customize ["modifyvm", :id, "--name", "srvprod-pipeline"]
v.customize ["modifyvm", :id, "--cpus", "1"]
end
config.vm.provision "shell", inline: <<-SHELL
sed -i 's/ChallengeResponseAuthentication no/ChallengeResponseAuthentication yes/g' /etc/ssh/sshd_config
service ssh restart
SHELL
end
end

45
1-vagrant-srv/install_p1jenkins.sh

@ -0,0 +1,45 @@
#!/bin/bash
## install p1jenkins
export DEBIAN_FRONTEND=noninteractive
IP=$(hostname -I | awk '{print $2}')
echo "START - install jenkins - "$IP
echo "[1]: install utils & ansible"
apt-get update -qq >/dev/null # -qq = quiet // >/dev/null = renvoie les erreurs vers null
apt-get install -qq -y git sshpass wget ansible gnupg2 curl >/dev/null
echo "[2]: install java & jenkins"
wget -q -O - https://pkg.jenkins.io/debian/jenkins.io.key | sudo apt-key add -
sudo sh -c 'echo deb https://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list'
apt-get update -qq >/dev/null
apt-get install -qq -y default-jre jenkins >/dev/null
systemctl enable jenkins
systemctl start jenkins
echo "[2]: ansible custom"
sed -i 's/.*pipelining.*/pipelining = True/' /etc/ansible/ansible.cfg
sed -i 's/.*allow_world_readable_tmpfiles.*/allow_world_readable_tmpfiles = True/' /etc/ansible/ansible.cfg
echo "[3]: install docker & docker-composer"
curl -fsSL https://get.docker.com | sh; >/dev/null
usermod -aG docker jenkins # authorize docker for jenkins user
curl -sL "https://github.com/docker/compose/releases/download/2.6.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
echo "[4]: use registry without ssl"
echo "
{
\"insecure-registries\" : [\"192.168.5.5:5000\"]
}
" >/etc/docker/daemon.json
systemctl daemon-reload
systemctl restart docker
echo "END - install jenkins"
Loading…
Cancel
Save