Sebastián Estrella
51c2f9b550
[ #181 ] Separate build-and-test from the release process ( #183 )
...
Co-authored-by: Franz Guzmán <fguzman@stackbuilders.com>
2022-04-01 13:45:11 -05:00
David Mazarro
f3fbe9a34c
Merge pull request #179 from stackbuilders/ci-haddock-name
...
Added name to Haddock step
2022-02-09 16:19:19 +01:00
David Mazarro
8a51f2f288
name
and run
in Haddock step are now in the same object
...
Co-authored-by: Cristhian Motoche <CristhianMotoche@users.noreply.github.com>
2022-02-09 16:07:58 +01:00
David Mazarro
52c4bbcd49
Added name to Haddock step
2022-02-09 16:00:59 +01:00
David Mazarro
a8bba052f8
Merge pull request #178 from stackbuilders/haddock-errmsg
...
CI now has an error message for the Haddock step when there are less than 4 modules with 100% documentation
2022-02-09 15:30:58 +01:00
David Mazarro
739d54bddc
CI now has an error message for when Haddock step fails
2022-02-09 13:13:56 +01:00
David Mazarro
2bfde28d69
Merge pull request #174 from stackbuilders/keep-failed-releases
...
Added `keep_one_failed` option that deletes failed releases except for the latest one
2022-02-08 16:48:45 +01:00
DavidMazarro
4c6c44bd1b
Changed package maintainer from Juan Paucar to Cristhian Motoche
2022-02-08 16:36:14 +01:00
DavidMazarro
c309495ac1
Added test for dropOldReleases
when --keep-one-failed
is active
2022-02-07 16:57:42 +01:00
DavidMazarro
48bae772eb
Readded call to dropOldReleases
when a deployment is successful
2022-02-07 13:38:50 +01:00
DavidMazarro
e2286dbdca
Removed short version of --keep-one-failed
flag
2022-02-07 13:21:59 +01:00
DavidMazarro
6f02bbfce0
Merge branch 'keep-failed-releases' of github.com:stackbuilders/hapistrano into keep-failed-releases
2022-02-04 17:15:42 +01:00
DavidMazarro
681ae894a3
Added documentation
2022-02-04 17:14:33 +01:00
DavidMazarro
83ee3a27e0
Added missing import which made the test spec suite fail
2022-02-04 17:14:33 +01:00
DavidMazarro
eb5d1071b8
Added new Unknown
value to DeployState
enum
2022-02-04 17:14:33 +01:00
David Mazarro
4676c3217c
Minor refactor in function stateToBool
...
Co-authored-by: Cristhian Motoche <CristhianMotoche@users.noreply.github.com>
2022-02-04 17:14:33 +01:00
DavidMazarro
fd4fdc68d3
Decoupled functions from using .hapistrano_deploy_state
filename directly
2022-02-04 17:14:33 +01:00
DavidMazarro
b55d5bb9fc
Changed --keep-one-failed
CLI short option from -f
to -o
...
This is motivated by the fact that typically, `-f` is associated with some sort of "forcing" action, which is not what this does.
2022-02-04 17:14:33 +01:00
DavidMazarro
4da23e4f24
Deleted commented line
2022-02-04 17:14:33 +01:00
DavidMazarro
c219856969
--keep-one-failed
flag now works and failed releases are deleted
...
Also: fully replaced `ctokens` with the new `.hapistrano_deploy_state`, updated the tests accordingly, and a couple more of necessary refactors.
2022-02-04 17:14:33 +01:00
DavidMazarro
7ea1b1b9ab
Moved exception handler from runHapistrano
to main
2022-02-04 17:14:33 +01:00
DavidMazarro
d5a180dca3
When deploying a release, now it gets tagged with fail or success
2022-02-04 17:14:33 +01:00
DavidMazarro
d85a2598ee
Refactor and WIP createHapistranoDeployState
...
Refactor is mainly moving runHapistrano from System.Hapistrano.Core to System.Hapistrano, and moving Opts and Command datatypes from Main to System.Hapistrano.Types
2022-02-04 17:14:33 +01:00
DavidMazarro
f57cc0c739
Fixed accidental import removal in previous commit
2022-02-04 17:14:33 +01:00
DavidMazarro
7bb0405bfb
Added CLI flag and hap.yaml setting for keeping failed releases
2022-02-04 17:14:33 +01:00
David Mazarro
205c887d2f
Merge pull request #175 from stackbuilders/haddock-ci-pipeline
...
Changed command at the Haddock step
2022-02-04 16:46:58 +01:00
David Mazarro
f8ac35dfb6
Added extended regex to grep
at Haddock step
...
Also changed the regex to match numbers greater or equal than 4 since the previous commit was wrong.
2022-02-04 11:05:53 +01:00
David Mazarro
16575b5890
Changed Haddock step (again)
...
Now it's not verbose but supports a number of 100% coverage for more than 4 or 5 modules
2022-02-03 18:02:49 +01:00
David Mazarro
c5dd13c638
Changed command at the Haddock step
2022-02-03 16:48:12 +01:00
DavidMazarro
c2fb0d876e
Added documentation
2022-02-03 16:18:59 +01:00
DavidMazarro
e71c9e7368
Added missing import which made the test spec suite fail
2022-02-03 15:36:45 +01:00
DavidMazarro
727c207f00
Added new Unknown
value to DeployState
enum
2022-02-03 11:51:08 +01:00
David Mazarro
94490807ba
Minor refactor in function stateToBool
...
Co-authored-by: Cristhian Motoche <CristhianMotoche@users.noreply.github.com>
2022-02-03 10:58:15 +01:00
DavidMazarro
ebff838e2c
Decoupled functions from using .hapistrano_deploy_state
filename directly
2022-02-02 15:16:16 +01:00
DavidMazarro
41951df8c9
Changed --keep-one-failed
CLI short option from -f
to -o
...
This is motivated by the fact that typically, `-f` is associated with some sort of "forcing" action, which is not what this does.
2022-02-02 11:17:11 +01:00
DavidMazarro
d0c5e87154
Deleted commented line
2022-02-02 11:01:36 +01:00
DavidMazarro
28ff5b3c85
--keep-one-failed
flag now works and failed releases are deleted
...
Also: fully replaced `ctokens` with the new `.hapistrano_deploy_state`, updated the tests accordingly, and a couple more of necessary refactors.
2022-01-31 19:04:35 +01:00
DavidMazarro
d9f63a6906
Moved exception handler from runHapistrano
to main
2022-01-27 15:19:02 +01:00
DavidMazarro
c1a918af4b
When deploying a release, now it gets tagged with fail or success
2022-01-24 20:25:58 +01:00
DavidMazarro
2a2766e4a4
Refactor and WIP createHapistranoDeployState
...
Refactor is mainly moving runHapistrano from System.Hapistrano.Core to System.Hapistrano, and moving Opts and Command datatypes from Main to System.Hapistrano.Types
2022-01-21 14:06:18 +01:00
DavidMazarro
0bf5e575ca
Fixed accidental import removal in previous commit
2022-01-19 19:14:34 +01:00
DavidMazarro
90b2b48160
Added CLI flag and hap.yaml setting for keeping failed releases
2022-01-19 14:16:15 +01:00
David Mazarro
db27a71f3d
Merge pull request #171 from stackbuilders/nix-license-fix
...
Fix for Nix's "error: attribute 'lib' missing"
2022-01-17 16:58:14 +01:00
DavidMazarro
1cd74b0032
Fix for Nix's "error: attribute 'lib' missing"
2022-01-17 16:14:58 +01:00
Juan Paucar
e882dc039f
Allow aeson 2 ( #166 )
...
* New bounds for aeson and yaml packages
* Update version
Co-authored-by: CristhianMotoche <cristhian.motoche@gmail.com>
2021-11-16 21:42:17 -05:00
wanderer163
d00d2843cc
Fix grammar issues and typos ( #168 )
2021-10-31 20:14:05 -05:00
Juan Paucar
ef9df6183d
Merge pull request #167 from stackbuilders/support-ghc-9
...
Add support for GHC 9 and drop support for older than GHC 8.6
2021-10-19 08:54:40 -05:00
Juan Paucar
13e2f3a478
Rephrase the change
2021-10-18 10:08:11 -05:00
Juan Paucar
2ea067a32d
fix ghc 9 warnings
2021-10-18 09:54:14 -05:00
Juan Paucar
4863bc9421
fix older than ghc 9 warnings
2021-10-18 09:25:58 -05:00