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

WinPB: Fix VS2017 Github Action On Win2022 #3176

Closed
wants to merge 8 commits into from

Conversation

steelhead31
Copy link
Contributor

Trying some fixes for the VS2017 dll registration during the github action for Win2022, this does not occur in vagrant, or on Windows VMs..

Checklist
  • commit message has one of the standard prefixes
  • faq.md updated if appropriate
  • other documentation is changed or added (if applicable)
  • playbook changes run through VPC or QPC (if you have access)
  • VPC/QPC not applicable for this PR
  • for inventory.yml changes, bastillion/nagios/jenkins updated accordingly

@github-actions github-actions bot added ansible ghActions GitHub Actions and removed ansible ghActions GitHub Actions labels Sep 5, 2023
@github-actions github-actions bot added ghActions GitHub Actions and removed ghActions GitHub Actions labels Sep 5, 2023
Try unregister vs2017 dlls

Test registration with install switches.

Restore defaults

Try VS install switches fix

Skip vs2017 role

Test for DLL exists before register test.

Test logged install

Switch to full install.

Test vs2017 install via powershell

Test alt install cmd

Fix DLL conditional check.

Remove rogue file.
@github-actions github-actions bot added ghActions GitHub Actions and removed ghActions GitHub Actions labels Sep 6, 2023
@github-actions github-actions bot added ghActions GitHub Actions and removed ghActions GitHub Actions labels Sep 6, 2023
@github-actions github-actions bot added ghActions GitHub Actions and removed ghActions GitHub Actions labels Sep 6, 2023
@steelhead31
Copy link
Contributor Author

The parameter change to use --passive rather than --quiet causes the playbook to fail, when the download and install of VS2017 fails for any reason, --quiet prevents an error code, thus causing the issue with DLL registration.

@github-actions github-actions bot added ghActions GitHub Actions and removed ghActions GitHub Actions labels Sep 6, 2023
@github-actions github-actions bot added ghActions GitHub Actions and removed ghActions GitHub Actions labels Sep 6, 2023
@github-actions github-actions bot added ghActions GitHub Actions and removed ghActions GitHub Actions labels Sep 6, 2023
@github-actions github-actions bot added ghActions GitHub Actions and removed ghActions GitHub Actions labels Sep 6, 2023
@steelhead31
Copy link
Contributor Author

Having done a large amount of investigation, this PR is not required, the problem installing VS2017 is tied to the github runner image for windows-2022 already containing VS2022,  its not possible to install VS2017 once VS2022 has been installed.

@steelhead31 steelhead31 closed this Sep 6, 2023
@steelhead31 steelhead31 deleted the fix_vs2017_gha branch September 6, 2023 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ansible ghActions GitHub Actions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant