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

add post-install script for haskell #508

Merged
merged 8 commits into from
Apr 22, 2024

Conversation

pretendWhale
Copy link
Contributor

@pretendWhale pretendWhale commented Apr 19, 2024

Add a post-install script to update permissions on stack created files needed for worker users to run stack build/exec. Note that I also updated the resolver used as 16.17 is the lowest resolver compatible with ubuntu 22.04's default ghc. I've opened an issue about making the resolver version a setting, and I think we should make a PR to make it a setting before this PR goes into release.

Note: there was originally a test for this change, but because the tests do not currently install all testers, it failed. We can re-add tests in a later PR where we make tests more extensive. (part of the changes for the test involved updating test_ci.yml. I noted that the tests were still running on ubuntu 20.04, so I updated that to 20.04. I've left that change in as it should have been in a previous PR.)

@donny-wong donny-wong merged commit c3b34fc into MarkUsProject:master Apr 22, 2024
6 of 13 checks passed
@donny-wong donny-wong added this to the v2.4.3 milestone Apr 22, 2024
@donny-wong donny-wong removed this from the v2.4.3 milestone May 7, 2024
@pretendWhale pretendWhale added this to the v2.4.4 milestone Jul 2, 2024
pretendWhale added a commit to pretendWhale/markus-autotesting that referenced this pull request Jul 2, 2024
* add post-install script for haskell

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* update tests with stack_root

* fix test_ci

* remove test

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* disable stack upgrade recommendation

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
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.

3 participants