Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(installer): fix installer system installs #203

Merged
merged 2 commits into from
Jan 9, 2025

Conversation

lucaseck
Copy link
Contributor

@lucaseck lucaseck commented Dec 9, 2024

Fixes: #197

What was the problem/requirement? (What/Why)

The installer was not installing deadline cloud for Houdini correctly when doing a system wide install. The package file was only ever being placed in the default Houdini user pref directory.

What was the solution? (How)

Swapped the installer component to use the env var HOUDINI_PACKAGE_DIR so that both user and system installs work. A nice additional benefit is that we don't have to have multiple subcomponents to select for each version of Houdini anymore.

What is the impact of this change?

Future installers will work to install Deadline Cloud for Houdini with both user and system installations.

How was this change tested?

Manually built both Windows and Linux installers and:

  • Ran a user install and verified HOUDINI_PACKAGE_DIR was being set and the submitter node loaded and could submit in Houdini 19.5 and 20.5
  • Ran a system install and verified HOUDINI_PACKAGE_DIR was being set and the submitter node loaded and could submit in Houdini 19.5 and 20.5

On just Windows I verified that I could install over an existing installation with the current method of putting the package file in the default user pref directory. The previous installation package file was deleted from the default user pref directory. The new installation then set HOUDINI_PACKAGE_DIR. Verified in Houdini's Asset Manager that the correct path to the Node definition was being picked up.

  • Have you run the unit tests?
    Yes

Was this change documented?

No

Is this a breaking change?

No


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@lucaseck lucaseck requested a review from a team as a code owner December 9, 2024 22:32
@lucaseck lucaseck changed the title fix(installer): fix system installs from installer fix(installer): fix installer system installs Dec 9, 2024
@lucaseck lucaseck force-pushed the fix_installer_system_scope branch from c364f4e to 9691013 Compare December 9, 2024 22:33
@lucaseck lucaseck marked this pull request as draft December 10, 2024 20:06
@lucaseck lucaseck force-pushed the fix_installer_system_scope branch from 9691013 to 8c159a0 Compare January 9, 2025 16:27
@lucaseck lucaseck marked this pull request as ready for review January 9, 2025 16:39
Copy link

@edwards-aws edwards-aws left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Lucas! Just one quick question.

install_builder/deadline-cloud-for-houdini.xml Outdated Show resolved Hide resolved
Copy link

@edwards-aws edwards-aws left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry one more question

Signed-off-by: Lucas Eckhardt <117225985+lucaseck@users.noreply.github.com>
@lucaseck lucaseck force-pushed the fix_installer_system_scope branch from eb3dae7 to 9fd205c Compare January 9, 2025 19:01
Copy link

sonarqubecloud bot commented Jan 9, 2025

Copy link

@edwards-aws edwards-aws left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good!

@lucaseck lucaseck merged commit bd591cd into aws-deadline:mainline Jan 9, 2025
19 checks passed
@lucaseck lucaseck deleted the fix_installer_system_scope branch January 9, 2025 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: Linux: Submitter Does Not Work When Doing System Install
3 participants