This commit is contained in:
@ -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:
|
||||||
|
2
.gitmodules
vendored
Normal file
2
.gitmodules
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
[submodule "ansible"]
|
||||||
|
url = https://git.186526.xyz/186526/net186-ansible
|
2
ansible
2
ansible
Submodule ansible updated: 1f516e8b79...5e2e1296d0
Reference in New Issue
Block a user