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

Dry run flag that doesn't do anything in the remote host #226

Closed
CristhianMotoche opened this issue Sep 1, 2023 · 6 comments
Closed

Dry run flag that doesn't do anything in the remote host #226

CristhianMotoche opened this issue Sep 1, 2023 · 6 comments

Comments

@CristhianMotoche
Copy link
Collaborator

Let's include a flag that doesn't do any action on the server. It will be a dry run that will print the commands that hapistrano will run. If the commands are okay then a user can proceed with actually running without that flag.

$ hap deploy --dry-run

[INFO] git clone ...
[INFO] stack build ...
...

[INFO] Finished (DRY RUN: Commands were executed)
@m-eraf
Copy link

m-eraf commented Oct 24, 2023

i want to contribute to this
plz assign

@CristhianMotoche
Copy link
Collaborator Author

Thanks for your eagerness to contribute to hapistrano. @m-eraf I assigned it to you.

@m-eraf
Copy link

m-eraf commented Oct 24, 2023

I am little bit new to Haskell will u plz guide me to run the project..

@CristhianMotoche
Copy link
Collaborator Author

CristhianMotoche commented Oct 25, 2023

Sure thing.

First, install the Haskell environment in your local machine. I recommend installing it with ghcup.
Second, install GHC 9.0 and Cabal 3.10.0.0. Those are the versions that we use in GH Actions for building and testing hapistrano.
Third, follow the steps in the readme which you can also find in the CI settings to build and test the project.

I hope that helps to get you started.

@m-eraf
Copy link

m-eraf commented Oct 25, 2023

Thanks...
I will get started with Haskell and the project right away.

@CristhianMotoche CristhianMotoche assigned angelh32 and unassigned m-eraf May 2, 2024
blackheaven added a commit to blackheaven/hapistrano that referenced this issue Oct 1, 2024
blackheaven added a commit to blackheaven/hapistrano that referenced this issue Oct 1, 2024
blackheaven added a commit to blackheaven/hapistrano that referenced this issue Oct 15, 2024
CristhianMotoche added a commit that referenced this issue Oct 18, 2024
Co-authored-by: Cristhian Motoche <[email protected]>
@CristhianMotoche
Copy link
Collaborator Author

Solved in #246

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

No branches or pull requests

3 participants