Skip to content

Commit 44df0d7

Browse files
committed
fix: automation script parsing ADMIN_UI_VERSION
Signed-off-by: moabu <[email protected]>
1 parent ca13428 commit 44df0d7

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

automation/auto_update_image_pr.py

+1-8
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,7 @@ def update_image(image, source_url_env, build_date_env):
4242

4343

4444
# This is a temp function until the dockerfile for the admin-ui starts using packages
45-
def update_git_commit():
46-
dfparser = DockerfileParser(f'docker-admin-ui')
47-
repo = git.Repo(".")
48-
commit = repo.head.commit
49-
dfparser.envs["ADMIN_UI_VERSION"] = str(commit)
45+
5046

5147

5248
def main():
@@ -60,9 +56,6 @@ def main():
6056
print(f'Docker image {image} does not contain any packages to update')
6157
continue
6258

63-
# This is a temp function until the dockerfile for the admin-ui starts using packages
64-
update_git_commit()
65-
6659

6760
if __name__ == "__main__":
6861
main()

0 commit comments

Comments
 (0)