Skip to content

Commit

Permalink
chore: null out toml_manifest after it not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
CJ-Jackson committed Dec 30, 2024
1 parent 8f7b19a commit 7630ef2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions toml-util/run-deploy-image-toml.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,8 @@ def update_manifest(self, script_name: str, stamp: float):
if not build_data:
exit(0)

toml_manifest = None

tmp_dir = f"{build_data.tmp_locaiton}/run-deploy-image-{build_data.name}-{time.time()}"
os.mkdir(tmp_dir, 0o700)
os.chdir(tmp_dir)
Expand Down
2 changes: 2 additions & 0 deletions toml-util/run-deploy-local-toml.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ def create(cls, data: dict) -> Self:
if not deploy_data:
exit(0)

toml_manifest = None

local_cli = "run-deploy-cli"
local_deploy = "/opt/run-deploy/bin/run-deploy"

Expand Down
2 changes: 2 additions & 0 deletions toml-util/run-deploy-remote-toml.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@ def create(cls, data: dict) -> Self:
if not deploy_data:
exit(0)

toml_manifest = None

remote_cli = "run-deploy-remote-cli"
remote_deploy = "/opt/run-deploy/bin/run-deploy"

Expand Down

0 comments on commit 7630ef2

Please sign in to comment.