-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to using fpm for Debian package builds
- Simplify the structure of the directories since we map included files in the fpm invocation - Remove the DEBIAN directories and move control file values to fpm parameters in per-package build scripts - Add VERSION files to each build directory as a simple way to update the version number manually or with automation - Separate each package build to its own stage in order to normalize them and be able to target them individually for release - Simplify the structure within the build containers to cut down on noise in the Dockerfile and use simple, conventional paths - Add aggregation stage for collecting all packages from /debs/out
- Loading branch information
Showing
17 changed files
with
91 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
0.0.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/usr/bin/env bash | ||
|
||
if [ ! -f "VERSION" ]; then | ||
echo "VERSION file is missing!" | ||
exit -1 | ||
fi | ||
|
||
fpm --input-type dir \ | ||
--output-type deb \ | ||
--architecture native \ | ||
--deb-generate-changes \ | ||
\ | ||
--name http-check \ | ||
--version "$(<VERSION)" \ | ||
--maintainer 'University of Michigan Library Information Technology' \ | ||
--description 'Health Check for Apache2' \ | ||
http-check=/usr/bin/http-check |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
0.0.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/usr/bin/env bash | ||
|
||
if [ ! -f "VERSION" ]; then | ||
echo "VERSION file is missing!" | ||
exit -1 | ||
fi | ||
|
||
fpm --input-type dir \ | ||
--output-type deb \ | ||
--architecture native \ | ||
--deb-generate-changes \ | ||
\ | ||
--name libapache2-mod-authn-remoteuser \ | ||
--version "$(<VERSION)" \ | ||
--depends apache2 \ | ||
--maintainer 'University of Michigan Library Information Technology' \ | ||
--description 'Fake Remote User Authentication Module for Apache2' \ | ||
conf=/etc/apache2/mods-available \ | ||
mod_authn_remoteuser.so=/usr/lib/apache2/modules/mod_authn_remoteuser.so |
File renamed without changes.
1 change: 0 additions & 1 deletion
1
...che2/mods-available/authn_remoteuser.load → ...thn-remoteuser/conf/authn_remoteuser.load
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
# Depends: | ||
LoadModule authn_remoteuser_module /usr/lib/apache2/modules/mod_authn_remoteuser.so |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
0.0.8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/usr/bin/env bash | ||
|
||
if [ ! -f "VERSION" ]; then | ||
echo "VERSION file is missing!" | ||
exit -1 | ||
fi | ||
|
||
fpm --input-type dir \ | ||
--output-type deb \ | ||
--architecture native \ | ||
--deb-generate-changes \ | ||
\ | ||
--name libapache2-mod-lauth \ | ||
--version "$(<VERSION)" \ | ||
--depends apache2 \ | ||
--after-install postinst \ | ||
--maintainer 'University of Michigan Library Information Technology' \ | ||
--description 'Fake Remote User Authentication Module for Apache2' \ | ||
conf=/etc/apache2/mods-available \ | ||
mod_lauth.so=/usr/lib/apache2/modules/mod_lauth.so |
File renamed without changes.
1 change: 0 additions & 1 deletion
1
...uth/etc/apache2/mods-available/lauth.load → apache/debpkgs/mod-lauth/conf/lauth.load
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
# Depends: | ||
LoadModule lauth_module /usr/lib/apache2/modules/mod_lauth.so |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters