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

Create new build_policy_templates action for generating group policy resources #41217

Closed
bsclifton opened this issue Sep 23, 2024 · 1 comment

Comments

@bsclifton
Copy link
Member

Description

Currently, the build will run the //brave/components/policy:pack_policy_templates action during create_dist
https://github.com/brave/brave-core/blob/83163606814abf46591e1f9566ad3bd1746932e7/BUILD.gn#L302

This should be broken out so that we can run ONLY that step when we'd like.

A good name might be build_policy_templates. For example npm run build_policy_templates

@bsclifton bsclifton self-assigned this Sep 23, 2024
bsclifton added a commit to brave/brave-core that referenced this issue Sep 23, 2024
Currently, group policy is only generated during `create_dist`.
This allows us to quickly create `policy_templates.zip` and the Brave
specific version `brave_policy_templates.zip`.

Fixes brave/brave-browser#41217
bsclifton added a commit to brave/brave-core that referenced this issue Sep 23, 2024
Currently, group policy is only generated during `create_dist`.
This allows us to quickly create `policy_templates.zip` and the Brave
specific version `brave_policy_templates.zip`.

Fixes brave/brave-browser#41217
bsclifton added a commit to brave/brave-core that referenced this issue Sep 23, 2024
Currently, group policy is only generated during `create_dist`.
This allows us to quickly create `policy_templates.zip` and the Brave
specific version `brave_policy_templates.zip`.

Fixes brave/brave-browser#41217
bsclifton added a commit to brave/brave-core that referenced this issue Sep 24, 2024
Currently, group policy is only generated during `create_dist`.
This allows us to quickly create `policy_templates.zip` and the Brave
specific version `brave_policy_templates.zip`.

Fixes brave/brave-browser#41217
bsclifton added a commit to brave/brave-core that referenced this issue Sep 24, 2024
Currently, group policy is only generated during `create_dist`.
This allows us to quickly create `policy_templates.zip` and the Brave
specific version `brave_policy_templates.zip`.

Fixes brave/brave-browser#41217
bsclifton added a commit to brave/brave-core that referenced this issue Sep 24, 2024
Currently, group policy is only generated during `create_dist`.
This allows us to quickly create `policy_templates.zip` and the Brave
specific version `brave_policy_templates.zip`.

Fixes brave/brave-browser#41217
bsclifton added a commit to brave/brave-core that referenced this issue Sep 24, 2024
Currently, group policy is only generated during `create_dist`.
This allows us to quickly create `policy_templates.zip` and the Brave
specific version `brave_policy_templates.zip`.

Fixes brave/brave-browser#41217
bsclifton added a commit to brave/brave-core that referenced this issue Sep 24, 2024
Currently, group policy is only generated during `create_dist`.
This allows us to quickly create `policy_templates.zip` and the Brave
specific version `brave_policy_templates.zip`.

Fixes brave/brave-browser#41217
bsclifton added a commit to brave/brave-core that referenced this issue Oct 1, 2024
Currently, group policy is only generated during `create_dist`.
This allows us to quickly create `policy_templates.zip` and the Brave
specific version `brave_policy_templates.zip`.

Fixes brave/brave-browser#41217
@bsclifton
Copy link
Member Author

Closing - this would just be a convenience method. Person can instead just add an alias on their local machine for npm run build -- --target=brave/components/policy:pack_policy_templates

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant