File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -76,7 +76,9 @@ def main() -> None:
7676 if args .gpg_key :
7777 gpg_private_key = load_private_key (args .gpg_key )
7878 elif args .autogenerate_gpg_key :
79- gpg_private_key = generate_private_key (f"apt-package-function { args .resource_group } " )
79+ gpg_private_key = generate_private_key (
80+ f"apt-package-function { args .resource_group } "
81+ )
8082 if gpg_private_key :
8183 gpg_public_key = public_key_from_private (gpg_private_key )
8284
@@ -132,9 +134,7 @@ def main() -> None:
132134 # Build the apt sources line. When signing is enabled apt verifies against
133135 # the published public key; otherwise the repository is trusted blindly.
134136 keyring = f"/etc/apt/keyrings/{ storage_account } .asc"
135- repo_url = (
136- f"blob://{ storage_account } .blob.core.windows.net/{ package_container } /"
137- )
137+ repo_url = f"blob://{ storage_account } .blob.core.windows.net/{ package_container } /"
138138 options = f"signed-by={ keyring } " if signing_enabled else "trusted=yes"
139139 apt_sources = f"deb [{ options } ] { repo_url } "
140140
Original file line number Diff line number Diff line change @@ -165,7 +165,7 @@ def deploy(self) -> None:
165165
166166 # Pass the token via the environment so it never appears in the logged
167167 # command line or the container's process arguments.
168- func_cmd = f" func azure functionapp publish { self .name } --python --build remote --access-token \ " $FUNC_ACCESS_TOKEN\" "
168+ func_cmd = f' func azure functionapp publish { self .name } --python --build remote --access-token "$FUNC_ACCESS_TOKEN"'
169169 if self .subscription :
170170 func_cmd += f" --subscription { self .subscription } "
171171
You can’t perform that action at this time.
0 commit comments