Skip to content

[macOS]Add Mozila Firfox to macOS 13,14 and 15 arm64 images. #12226

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

Merged
merged 2 commits into from
May 23, 2025

Conversation

sureshe456
Copy link
Contributor

@sureshe456 sureshe456 commented May 21, 2025

Description

1.Add Mozila Firfox to macOS 13,14 and 15 arm64 images.
2. User raised public issue 12049

Related issue:

Check list

  • Related issue / work item is attached
  • Tests are written (if applicable)
  • Documentation is updated (if applicable)
  • Changes are tested and related VM images are successfully generated

@erik-bershel
Copy link
Contributor

Hey @sureshe456!

Please move the Firefox script right next to the Google Chrome installer in the templates and I'll be okay with the PR.

Example:

...
      "${path.root}/../scripts/build/install-chrome.sh",
      "${path.root}/../scripts/build/install-edge.sh",
      "${path.root}/../scripts/build/install-firefox.sh",
      "${path.root}/../scripts/build/install-bicep.sh",
      "${path.root}/../scripts/build/install-codeql-bundle.sh"
    ]
...

@sureshe456 sureshe456 marked this pull request as ready for review May 23, 2025 13:19
@Copilot Copilot AI review requested due to automatic review settings May 23, 2025 13:19
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Add Mozilla Firefox to the macOS 13, 14, and 15 ARM64 images and enable its presence test.

  • Include install-firefox.sh in the Packer build steps for all targeted macOS templates.
  • Remove the skip condition so Firefox is verified in Browsers.Tests.ps1.

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
images/macos/templates/macOS-15.arm64.anka.pkr.hcl Added install-firefox.sh to the build array
images/macos/templates/macOS-14.arm64.anka.pkr.hcl Added install-firefox.sh to the build array
images/macos/templates/macOS-13.arm64.anka.pkr.hcl Added install-firefox.sh to the build array
images/macos/scripts/tests/Browsers.Tests.ps1 Removed skip condition to test Firefox presence
Comments suppressed due to low confidence (2)

images/macos/scripts/tests/Browsers.Tests.ps1:56

  • [nitpick] Consider making the test description more descriptive—e.g., Describe 'Firefox installation'—to clarify that this block checks for the browser's presence.
Describe "Firefox" {

images/macos/templates/macOS-15.arm64.anka.pkr.hcl:251

  • Ensure that the install-firefox.sh script is committed under images/macos/scripts/build and marked executable; otherwise the Packer build will fail when it tries to invoke this step.
"${path.root}/../scripts/build/install-firefox.sh"

@sureshe456
Copy link
Contributor Author

Hi @erik-bershel Moved the firefox script next to chrome installer as your requested.Thanks.

@sureshe456 sureshe456 merged commit a1be1e2 into actions:main May 23, 2025
3 checks passed
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.

2 participants