Add Azure deployment examples and enhance configuration management
- Update .gitignore to exclude Terraform files - Enhance README with Azure deployment instructions - Refactor publish.sh to use a container for changelog parsing - Add Azure example files including Terraform configurations - Create cloud-init templates for PKI and default configurations - Implement workload VM setup for testing routing
This commit is contained in:
@@ -1,8 +1,13 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
VERSION="$(dpkg-parsechangelog --show-field Version -l debian/changelog)"
|
||||
PACKAGE="$(dpkg-parsechangelog --show-field Source -l debian/changelog)"
|
||||
changelog_field() {
|
||||
container run --rm -v "$(pwd):/mnt" vpn-router-builder \
|
||||
dpkg-parsechangelog --show-field "$1" -l /mnt/debian/changelog
|
||||
}
|
||||
|
||||
VERSION="$(changelog_field Version)"
|
||||
PACKAGE="$(changelog_field Source)"
|
||||
DEB="out/${PACKAGE}_${VERSION}_all.deb"
|
||||
|
||||
if [ ! -f "$DEB" ]; then
|
||||
|
||||
Reference in New Issue
Block a user