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

Run Gulp using the Node executable to fix permissions problem on GDS managed devices #1039

Merged
merged 1 commit into from
Jul 12, 2021

Conversation

joelanman
Copy link
Contributor

@joelanman joelanman commented Jun 30, 2021

Run gulp using the node executable

GDS Managed devices cannot run anything that isn't installed via Self Service. This change runs node to run gulp indirectly so does not need permissions.

@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-prototype-kit-pr-1039 June 30, 2021 11:52 Inactive
@lfdebrux
Copy link
Member

@joelanman Has this been tested on a locked down machine?

@joelanman
Copy link
Contributor Author

@lfdebrux not yet, sorry should have made that clear, will change this to a draft PR. It should work, given the executable is node

@joelanman joelanman marked this pull request as draft June 30, 2021 12:09
@lfdebrux
Copy link
Member

Commit f6f7638 can probably be removed from this PR.

@joelanman
Copy link
Contributor Author

This has also been manually tested on a GDS managed device, and a non GDS managed linux and windows device

@joelanman joelanman changed the title Node gulp Run Gulp using Node to fix permissions problem Jul 6, 2021
@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-prototype-kit-pr-1039 July 6, 2021 14:22 Inactive
@joelanman joelanman marked this pull request as ready for review July 6, 2021 14:25
@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-prototype-kit-pr-1039 July 7, 2021 09:41 Inactive
@joelanman joelanman changed the title Run Gulp using Node to fix permissions problem Run Gulp using the Node executable to fix permissions problem Jul 7, 2021
some machines do not have permission to run gulp directly
@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-prototype-kit-pr-1039 July 7, 2021 09:43 Inactive
@joelanman
Copy link
Contributor Author

we tested this on another windows device (now a total of 2) as the automated testing does not cover this.

@36degrees 36degrees linked an issue Jul 12, 2021 that may be closed by this pull request
@joelanman joelanman merged commit 4d7a506 into main Jul 12, 2021
@joelanman joelanman deleted the node-gulp branch July 12, 2021 09:18
@joelanman joelanman changed the title Run Gulp using the Node executable to fix permissions problem Run Gulp using the Node executable to fix permissions problem on GDS managed devices Jul 12, 2021
@lfdebrux lfdebrux mentioned this pull request Jul 12, 2021
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.

GDS staff with managed devices can't install the kit - Gulp error
3 participants