Commit 6a3a3002 authored by Boxiang Sun's avatar Boxiang Sun

Python3 SR changes

parent 71acbb46
......@@ -100,7 +100,12 @@
- name: Change the goproxy in the hosts
lineinfile:
line: "47.246.20.229 goproxy.cn"
line: "112.29.228.200 goproxy.cn"
dest: /etc/hosts
- name: Change the qiniucs.com(goproxy.cn) in the hosts
lineinfile:
line: "47.246.44.230 s3-cn-south-1.qiniucs.com"
dest: /etc/hosts
- name: Change the rubygems/bundle in the hosts
......@@ -329,6 +334,15 @@
destination: goproxy.cn
jump: ACCEPT
- name: Allow to access the service behind goproxy.cn
iptables:
action: append
chain: OUTPUT
protocol: tcp
destination_port: 443
destination: s3-cn-south-1.qiniucs.com
jump: ACCEPT
- name: Change the codeload.github.com in the hosts
lineinfile:
line: "140.82.121.9 codeload.github.com"
......@@ -495,7 +509,7 @@
chain: OUTPUT
protocol: tcp
destination_port: 8443
destination: 2001:67c:1254:105:28ad::d94
destination: 2001:67c:1254:e:c4:5d8b:0:57a4
jump: ACCEPT
# Needed by metabase caucase
......@@ -506,7 +520,7 @@
chain: OUTPUT
protocol: tcp
destination_port: 8009
destination: 2001:67c:1254:105:28ad::d94
destination: 2001:67c:1254:e:c4:5d8b:0:57a4
jump: ACCEPT
# Needed by metabase caddy-frontend
......@@ -528,7 +542,7 @@
chain: OUTPUT
protocol: tcp
destination_port: 8087
destination: 2001:67c:1254:105:28ad::d94
destination: 2001:67c:1254:e:c4:5d8b:0:57a4
jump: ACCEPT
# Required by the SR html5as
......@@ -539,7 +553,7 @@
chain: OUTPUT
protocol: tcp
destination_port: 8088
destination: 2001:67c:1254:105:28ad::d94
destination: 2001:67c:1254:e:c4:5d8b:0:57a4
jump: ACCEPT
# Required by the SR jstestnode
......@@ -550,7 +564,7 @@
chain: OUTPUT
protocol: tcp
destination_port: 9443
destination: 2001:67c:1254:105:28ad::d94
destination: 2001:67c:1254:e:c4:5d8b:0:57a4
jump: ACCEPT
# Required by the SR seleniumserver
......@@ -561,7 +575,7 @@
chain: OUTPUT
protocol: tcp
destination_port: 8196
destination: 2001:67c:1254:105:28ad::d94
destination: 2001:67c:1254:e:c4:5d8b:0:57a4
jump: ACCEPT
# Required by the SR slaprunner
......@@ -572,7 +586,7 @@
chain: OUTPUT
protocol: tcp
destination_port: 8386
destination: 2001:67c:1254:105:28ad::d94
destination: 2001:67c:1254:e:c4:5d8b:0:57a4
jump: ACCEPT
# Required by the SR slaprunner
......@@ -583,7 +597,7 @@
chain: OUTPUT
protocol: tcp
destination_port: 8437
destination: 2001:67c:1254:105:28ad::d94
destination: 2001:67c:1254:e:c4:5d8b:0:57a4
jump: ACCEPT
# Required by the SR slaprunner
......@@ -594,7 +608,7 @@
chain: OUTPUT
protocol: tcp
destination_port: 9686
destination: 2001:67c:1254:105:28ad::d94
destination: 2001:67c:1254:e:c4:5d8b:0:57a4
jump: ACCEPT
# Required by the SR backupserver
......@@ -605,7 +619,7 @@
chain: OUTPUT
protocol: tcp
destination_port: 9687
destination: 2001:67c:1254:105:28ad::d94
destination: 2001:67c:1254:e:c4:5d8b:0:57a4
jump: ACCEPT
# Required by the SR htmlvalidatorserver
......@@ -616,7 +630,7 @@
chain: OUTPUT
protocol: tcp
destination_port: 8333
destination: 2001:67c:1254:105:28ad::d94
destination: 2001:67c:1254:e:c4:5d8b:0:57a4
jump: ACCEPT
# Required by the SR dream
......@@ -627,7 +641,7 @@
chain: OUTPUT
protocol: tcp
destination_port: 18080
destination: 2001:67c:1254:105:28ad::d94
destination: 2001:67c:1254:e:c4:5d8b:0:57a4
jump: ACCEPT
# Required by the SR fluentd
......@@ -638,7 +652,7 @@
chain: OUTPUT
protocol: tcp
destination_port: 55337
destination: 2001:67c:1254:105:28ad::d94
destination: 2001:67c:1254:e:c4:5d8b:0:57a4
jump: ACCEPT
# Required by the SR fluentd
......@@ -649,7 +663,7 @@
chain: OUTPUT
protocol: tcp
destination_port: 39219
destination: 2001:67c:1254:105:28ad::d94
destination: 2001:67c:1254:e:c4:5d8b:0:57a4
jump: ACCEPT
# Required by the SR fluentd
......@@ -660,7 +674,117 @@
chain: OUTPUT
protocol: tcp
destination_port: 54015
destination: 2001:67c:1254:105:28ad::d94
destination: 2001:67c:1254:e:c4:5d8b:0:57a4
jump: ACCEPT
# Required by the SR fluentd
- name: Allow to access localhost:54013
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 54013
destination: 2001:67c:1254:e:c4:5d8b:0:57a4
jump: ACCEPT
# Required by the SR fluentd
- name: Allow to access localhost:46621
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 45521
destination: 2001:67c:1254:e:c4:5d8b:0:57a4
jump: ACCEPT
# Required by the SR fluentd
- name: Allow to access localhost:44681
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 44681
destination: 2001:67c:1254:e:c4:5d8b:0:57a4
jump: ACCEPT
# Required by the SR fluentd
- name: Allow to access localhost:45109
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 45109
destination: 2001:67c:1254:e:c4:5d8b:0:57a4
jump: ACCEPT
# Required by the SR fluentd
- name: Allow to access localhost:42651
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 42651
destination: 2001:67c:1254:e:c4:5d8b:0:57a4
jump: ACCEPT
# Required by the SR fluentd
- name: Allow to access localhost:59875
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 59875
destination: 2001:67c:1254:e:c4:5d8b:0:57a4
jump: ACCEPT
# Required by the SR fluentd
- name: Allow to access localhost:59831
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 59831
destination: 2001:67c:1254:e:c4:5d8b:0:57a4
jump: ACCEPT
# Required by the SR repman
- name: Allow to access localhost:2199
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 2199
destination: 2001:67c:1254:e:c4:5d8b:0:57a4
jump: ACCEPT
# Required by the SR repman
- name: Allow to access localhost:2099
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 2099
destination: 2001:67c:1254:e:c4:5d8b:0:57a4
jump: ACCEPT
# Required by the SR repman
- name: Allow to access localhost:2200
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 2200
destination: 2001:67c:1254:e:c4:5d8b:0:57a4
jump: ACCEPT
# Required by the SR slapos-master
......@@ -671,7 +795,7 @@
chain: OUTPUT
protocol: tcp
destination_port: 2156
destination: 2001:67c:1254:105:28ad::d94
destination: 2001:67c:1254:e:c4:5d8b:0:57a4
jump: ACCEPT
# Required by the SR slapos-master
......@@ -682,7 +806,7 @@
chain: OUTPUT
protocol: tcp
destination_port: 2004
destination: 2001:67c:1254:105:28ad::d94
destination: 2001:67c:1254:e:c4:5d8b:0:57a4
jump: ACCEPT
# Required by the SR slapos-master
......@@ -693,7 +817,7 @@
chain: OUTPUT
protocol: tcp
destination_port: 2014
destination: 2001:67c:1254:105:28ad::d94
destination: 2001:67c:1254:e:c4:5d8b:0:57a4
jump: ACCEPT
# Required by the SR slapos-master
......@@ -704,7 +828,7 @@
chain: OUTPUT
protocol: tcp
destination_port: 2100
destination: 2001:67c:1254:105:28ad::d94
destination: 2001:67c:1254:e:c4:5d8b:0:57a4
jump: ACCEPT
# Required by the SR slapos-master
......@@ -715,7 +839,7 @@
chain: OUTPUT
protocol: tcp
destination_port: 2101
destination: 2001:67c:1254:105:28ad::d94
destination: 2001:67c:1254:e:c4:5d8b:0:57a4
jump: ACCEPT
# Required by the SR slapos-master
......@@ -726,7 +850,7 @@
chain: OUTPUT
protocol: tcp
destination_port: 2206
destination: 2001:67c:1254:105:28ad::d94
destination: 2001:67c:1254:e:c4:5d8b:0:57a4
jump: ACCEPT
# Required by the SR slapos-master
......@@ -737,7 +861,7 @@
chain: OUTPUT
protocol: tcp
destination_port: 2208
destination: 2001:67c:1254:105:28ad::d94
destination: 2001:67c:1254:e:c4:5d8b:0:57a4
jump: ACCEPT
# Required by the SR html5as
......@@ -748,7 +872,7 @@
chain: OUTPUT
protocol: tcp
destination_port: 8198
destination: 2001:67c:1254:105:28ad::d94
destination: 2001:67c:1254:e:c4:5d8b:0:57a4
jump: ACCEPT
# Required by the SR html5as
......@@ -759,7 +883,7 @@
chain: OUTPUT
protocol: tcp
destination_port: 8199
destination: 2001:67c:1254:105:28ad::d94
destination: 2001:67c:1254:e:c4:5d8b:0:57a4
jump: ACCEPT
# Required by the SR html5as
......@@ -770,7 +894,7 @@
chain: OUTPUT
protocol: tcp
destination_port: 8097
destination: 2001:67c:1254:105:28ad::d94
destination: 2001:67c:1254:e:c4:5d8b:0:57a4
jump: ACCEPT
# Required by the SR html5as
......@@ -781,7 +905,7 @@
chain: OUTPUT
protocol: tcp
destination_port: 8197
destination: 2001:67c:1254:105:28ad::d94
destination: 2001:67c:1254:e:c4:5d8b:0:57a4
jump: ACCEPT
# Required by the SR html5as-base
......@@ -792,7 +916,29 @@
chain: OUTPUT
protocol: tcp
destination_port: 8081
destination: 2001:67c:1254:105:28ad::d94
destination: 2001:67c:1254:e:c4:5d8b:0:57a4
jump: ACCEPT
# Required by the SR matomo
- name: Allow to access localhost:8060
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 8060
destination: 2001:67c:1254:e:c4:5d8b:0:57a4
jump: ACCEPT
# Required by the SR matomo
- name: Allow to access localhost:9988
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 9988
destination: 2001:67c:1254:e:c4:5d8b:0:57a4
jump: ACCEPT
# Required by the SR gitlab
......@@ -803,7 +949,84 @@
chain: OUTPUT
protocol: tcp
destination_port: 7777
destination: 2001:67c:1254:105:28ad::d94
destination: 2001:67c:1254:e:c4:5d8b:0:57a4
jump: ACCEPT
# Required by the SR hugo
- name: Allow to access localhost:1324
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 1324
destination: 2001:67c:1254:e:c4:5d8b:0:57a4
jump: ACCEPT
# Required by the SR hugo
- name: Allow to access localhost:1313
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 1313
destination: 2001:67c:1254:e:c4:5d8b:0:57a4
jump: ACCEPT
# Required by the SR monitor
- name: Allow to access localhost:9700
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 9700
destination: 2001:67c:1254:e:c4:5d8b:0:57a4
jump: ACCEPT
# Required by the SR monitor
- name: Allow to access localhost:9701
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 9701
destination: 2001:67c:1254:e:c4:5d8b:0:57a4
jump: ACCEPT
# Required by the SR monitor
- name: Allow to access localhost:9702
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 9702
destination: 2001:67c:1254:e:c4:5d8b:0:57a4
jump: ACCEPT
# Required by the SR monitor
- name: Allow to access localhost:9703
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 9703
destination: 2001:67c:1254:e:c4:5d8b:0:57a4
jump: ACCEPT
# Required by the SR powerdns
- name: Allow to access localhost:8099
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 8099
destination: 2001:67c:1254:e:c4:5d8b:0:57a4
jump: ACCEPT
- name: Allow to access localhost:8086
......@@ -813,7 +1036,7 @@
chain: OUTPUT
protocol: tcp
destination_port: 8086
destination: 2001:67c:1254:105:28ad::d94
destination: 2001:67c:1254:e:c4:5d8b:0:57a4
jump: ACCEPT
- name: Allow to access localhost:8180
......@@ -823,7 +1046,7 @@
chain: OUTPUT
protocol: tcp
destination_port: 8180
destination: 2001:67c:1254:105:28ad::d94
destination: 2001:67c:1254:e:c4:5d8b:0:57a4
jump: ACCEPT
- name: Allow to access localhost:8196, required by test caddy-frontend
......@@ -833,7 +1056,47 @@
chain: OUTPUT
protocol: tcp
destination_port: 8990
destination: 2001:67c:1254:105:28ad::d94
destination: 2001:67c:1254:e:c4:5d8b:0:57a4
jump: ACCEPT
- name: Allow to access localhost:18080, required by test restic-rest-server
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 18080
destination: 2001:67c:1254:e:c4:5d8b:0:57a4
jump: ACCEPT
- name: Allow to access localhost:19080, required by test restic-rest-server
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 19080
destination: 2001:67c:1254:e:c4:5d8b:0:57a4
jump: ACCEPT
- name: Allow to access localhost:18080, required by test restic-rest-server
iptables:
ip_version: ipv6
action: append
chain: INPUT
protocol: tcp
destination_port: 18080
destination: 2001:67c:1254:e:c4:5d8b:0:57a4
jump: ACCEPT
- name: Allow to access localhost:19080, required by test restic-rest-server
iptables:
ip_version: ipv6
action: append
chain: INPUT
protocol: tcp
destination_port: 19080
destination: 2001:67c:1254:e:c4:5d8b:0:57a4
jump: ACCEPT
- name: Allow to access localhost:8196, required by test jscrawler
......@@ -843,7 +1106,7 @@
chain: OUTPUT
protocol: tcp
destination_port: 8196
destination: 2001:67c:1254:105:28ad::d94
destination: 2001:67c:1254:e:c4:5d8b:0:57a4
jump: ACCEPT
- name: Allow to access localhost:9083, required by test jscrawler
......@@ -853,7 +1116,7 @@
chain: OUTPUT
protocol: tcp
destination_port: 9083
destination: 2001:67c:1254:105:28ad::d94
destination: 2001:67c:1254:e:c4:5d8b:0:57a4
jump: ACCEPT
# This is for connect to the test suite and upload the test result.
......
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