Compare commits
No commits in common. "2264a504c99ab96742cff88216b5095ec7fbdd7a" and "3f3404005eaa8133bbbb2ad6259a6b04c18d51f3" have entirely different histories.
2264a504c9
...
3f3404005e
|
@ -65,13 +65,13 @@ function writeBirdConfig ($roas)
|
||||||
$bird2_fq4 = fopen ('roa/bird4_route_dn42.conf', 'w');
|
$bird2_fq4 = fopen ('roa/bird4_route_dn42.conf', 'w');
|
||||||
$bird2_fq6 = fopen ('roa/bird6_route_dn42.conf', 'w');
|
$bird2_fq6 = fopen ('roa/bird6_route_dn42.conf', 'w');
|
||||||
|
|
||||||
fwrite ($bird1_fq, shell_exec ("/usr/bin/git -C ../registry/ log -n 1 | sed 's/^/# /g'"));
|
fwrite ($bird1_fq, shell_exec ("/usr/bin/git -C ../registry/ show | sed 's/^/# /g'"));
|
||||||
fwrite ($bird1_fq4, shell_exec ("/usr/bin/git -C ../registry/ log -n 1 | sed 's/^/# /g'"));
|
fwrite ($bird1_fq4, shell_exec ("/usr/bin/git -C ../registry/ show | sed 's/^/# /g'"));
|
||||||
fwrite ($bird1_fq6, shell_exec ("/usr/bin/git -C ../registry/ log -n 1 | sed 's/^/# /g'"));
|
fwrite ($bird1_fq6, shell_exec ("/usr/bin/git -C ../registry/ show | sed 's/^/# /g'"));
|
||||||
|
|
||||||
fwrite ($bird2_fq, shell_exec ("/usr/bin/git -C ../registry/ log -n 1 | sed 's/^/# /g'"));
|
fwrite ($bird2_fq, shell_exec ("/usr/bin/git -C ../registry/ show | sed 's/^/# /g'"));
|
||||||
fwrite ($bird2_fq4, shell_exec ("/usr/bin/git -C ../registry/ log -n 1 | sed 's/^/# /g'"));
|
fwrite ($bird2_fq4, shell_exec ("/usr/bin/git -C ../registry/ show | sed 's/^/# /g'"));
|
||||||
fwrite ($bird2_fq6, shell_exec ("/usr/bin/git -C ../registry/ log -n 1 | sed 's/^/# /g'"));
|
fwrite ($bird2_fq6, shell_exec ("/usr/bin/git -C ../registry/ show | sed 's/^/# /g'"));
|
||||||
|
|
||||||
foreach ($roas["roas"] as $roa)
|
foreach ($roas["roas"] as $roa)
|
||||||
{
|
{
|
||||||
|
|
|
@ -46,15 +46,11 @@ echo "## Notes
|
||||||
- bird4_route_dn42.conf
|
- bird4_route_dn42.conf
|
||||||
- bird6_route_dn42.conf
|
- bird6_route_dn42.conf
|
||||||
|
|
||||||
## [Last commit][0] at [dn42 registry][1]
|
## Last commit
|
||||||
|
|
||||||
\`\`\`
|
\`\`\`
|
||||||
$(git -C ../registry/ log -n 1)
|
$(git -C ../registry/ log -n 1)
|
||||||
\`\`\`
|
\`\`\`" > roa/README.md
|
||||||
|
|
||||||
[0]: https://git.dn42.us/dn42/registry/commit/$(git -C ../registry/ log -n 1 --pretty='format:%H')
|
|
||||||
[1]: https://git.dn42.us/dn42/registry
|
|
||||||
" > roa/README.md
|
|
||||||
|
|
||||||
# Commit latest version of ROA files
|
# Commit latest version of ROA files
|
||||||
git -C roa/ add README.md *.conf *.json
|
git -C roa/ add README.md *.conf *.json
|
||||||
|
|
Loading…
Reference in a new issue