Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Boxiang Sun
slapos.package
Commits
d154ca24
Commit
d154ca24
authored
Aug 02, 2022
by
Boxiang Sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adjust the goproxy and allow other ports for Python 2 SR tests
parent
71acbb46
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
79 additions
and
1 deletion
+79
-1
playbook/slapos-standalone.yml
playbook/slapos-standalone.yml
+79
-1
No files found.
playbook/slapos-standalone.yml
View file @
d154ca24
...
...
@@ -100,7 +100,12 @@
-
name
:
Change the goproxy in the hosts
lineinfile
:
line
:
"
47.246.20.229
goproxy.cn"
line
:
"
120.221.249.220
goproxy.cn"
dest
:
/etc/hosts
-
name
:
Change the goproxy.cn(qiniucs.com) 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,24 @@
destination
:
goproxy.cn
jump
:
ACCEPT
-
name
:
Allow to access qiniucs.com(goproxy.cn)
iptables
:
action
:
append
chain
:
OUTPUT
protocol
:
tcp
destination_port
:
443
destination
:
s3-cn-south-1.qiniucs.com
jump
:
ACCEPT
-
name
:
Allow to access the service behind goproxy.cn
iptables
:
action
:
append
chain
:
OUTPUT
protocol
:
tcp
destination_port
:
443
destination
:
47.246.44.226
jump
:
ACCEPT
-
name
:
Change the codeload.github.com in the hosts
lineinfile
:
line
:
"
140.82.121.9
codeload.github.com"
...
...
@@ -663,6 +686,39 @@
destination
:
2001:67c:1254:105:28ad::d94
jump
:
ACCEPT
# Required by the SR slapos-master
-
name
:
Allow to access localhost:8003
iptables
:
ip_version
:
ipv6
action
:
append
chain
:
OUTPUT
protocol
:
tcp
destination_port
:
8003
destination
:
2001:67c:1254:105:28ad::d94
jump
:
ACCEPT
# Required by the SR slapos-master
-
name
:
Allow to access localhost:8002
iptables
:
ip_version
:
ipv6
action
:
append
chain
:
OUTPUT
protocol
:
tcp
destination_port
:
8002
destination
:
2001:67c:1254:105:28ad::d94
jump
:
ACCEPT
# Required by the SR slapos-master
-
name
:
Allow to access localhost:2204
iptables
:
ip_version
:
ipv6
action
:
append
chain
:
OUTPUT
protocol
:
tcp
destination_port
:
2204
destination
:
2001:67c:1254:105:28ad::d94
jump
:
ACCEPT
# Required by the SR slapos-master
-
name
:
Allow to access localhost:2156
iptables
:
...
...
@@ -740,6 +796,28 @@
destination
:
2001:67c:1254:105:28ad::d94
jump
:
ACCEPT
# Required by the SR slapos-master
-
name
:
Allow to access localhost:2153
iptables
:
ip_version
:
ipv6
action
:
append
chain
:
OUTPUT
protocol
:
tcp
destination_port
:
2153
destination
:
2001:67c:1254:105:28ad::d94
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:105:28ad::d94
jump
:
ACCEPT
# Required by the SR html5as
-
name
:
Allow to access localhost:8198
iptables
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment