update
parent
725d221848
commit
2a6ab33589
|
@ -39,10 +39,11 @@ steps:
|
||||||
- name: update filter
|
- name: update filter
|
||||||
image: debian:latest
|
image: debian:latest
|
||||||
commands:
|
commands:
|
||||||
- apt-get update -y && apt-get install bgpq4 -y
|
- apt-get update -y && apt-get install bgpq4 git -y
|
||||||
- echo "define $(bgpq4 -tbl DOWNSTREAM_ASN AS-NET186)" > util/irr-filter.conf
|
- echo "define $(bgpq4 -tbl DOWNSTREAM_ASN AS-NET186)" > util/irr-filter.conf
|
||||||
- echo "define $(bgpq4 -6bl DOWNSTREAM_PREFIXES AS-NET186)" >> util/irr-filter.conf
|
- echo "define $(bgpq4 -6bl DOWNSTREAM_PREFIXES AS-NET186)" >> util/irr-filter.conf
|
||||||
- echo "net.186526.xyz" >> CNAME
|
- echo "net.186526.xyz" >> CNAME
|
||||||
|
- git rm -f ansible
|
||||||
- name: push to repo
|
- name: push to repo
|
||||||
image: appleboy/drone-git-push:0.2.3-linux-arm64
|
image: appleboy/drone-git-push:0.2.3-linux-arm64
|
||||||
settings:
|
settings:
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
[submodule "ansible"]
|
||||||
|
url = https://git.186526.xyz/186526/net186-ansible
|
2
ansible
2
ansible
|
@ -1 +1 @@
|
||||||
Subproject commit 1f516e8b793fc247e6a8e6397ec3d713fd75d86e
|
Subproject commit 5e2e1296d0f3fc87336aecfdb15ae067d263a3b1
|
Loading…
Reference in New Issue