Skip to content

Commit

Permalink
Fixes #5454 make build-debs-focal
Browse files Browse the repository at this point in the history
This adds a new build target to build the Debian packages on Focal.
It also includes two variables to be used as ansible override
during future build steps in Ansible.
  • Loading branch information
kushaldas committed Aug 17, 2020
1 parent 9400329 commit b761fc6
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,13 @@ build-debs-notest: ## Build SecureDrop Debian packages without running tests.
@$(SDROOT)/devops/scripts/build-debs.sh notest
@echo

.PHONY: build-debs-focal
build-debs-focal: ## Build and test SecureDrop Debian packages.
@echo "Building SecureDrop Debian packages..."
@$(SDROOT)/devops/scripts/build-debs.sh notest focal
@echo



########################
#
Expand Down
3 changes: 3 additions & 0 deletions molecule/builder-focal/ansible-override-vars.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
securedrop_build_focal_support: True
securedrop_staging_install_target_distro: "focal"
2 changes: 2 additions & 0 deletions molecule/builder-focal/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ provisioner:
inventory:
links:
group_vars: ../../install_files/ansible-base/group_vars
options:
e: "@ansible-override-vars.yml"
config_options:
defaults:
interpreter_python: auto
Expand Down

0 comments on commit b761fc6

Please sign in to comment.