Commit graph

71 commits

Author SHA1 Message Date
Sipke Schoorstra be61cf1a51 Apply prerelease tag to version 2021-05-28 19:18:21 +02:00
Sipke Schoorstra 2924f49618 Increase minor version for 2.1 release 2021-05-28 16:27:18 +02:00
Sipke Schoorstra ae848a90f8 Re-enable sonar cloud 2021-05-26 12:31:04 +02:00
Sipke Schoorstra 436e6aa0b7 Remove RC version suffix 2021-05-26 12:29:52 +02:00
Sipke Schoorstra bdf544bd8e Bump RC to 3 2021-05-24 15:28:34 +02:00
Sipke Schoorstra 5d274e4204 Update version to RC2 2021-05-13 12:40:59 +02:00
Sipke Schoorstra 4848ebf41f Update appveyor 2021-05-06 22:17:41 +02:00
Sipke Schoorstra cab4a24713 Update appveyor 2021-05-06 20:17:11 +02:00
Sipke Schoorstra 58e187472c Update docker-compose and appveyor 2021-05-06 19:55:38 +02:00
Sipke Schoorstra e64d73677d Update appveyor 2021-05-06 19:46:54 +02:00
Sipke Schoorstra 231845866f Update appveyor 2021-05-06 19:43:57 +02:00
Sipke Schoorstra aa54ad22db Update appveyor 2021-05-06 19:40:06 +02:00
Sipke Schoorstra cf91b47b64 Update appveyor 2021-05-06 19:32:28 +02:00
Sipke Schoorstra e84e4d0c14 Update docker-compose and appveyor with Postgres 2021-05-06 19:26:32 +02:00
Sipke Schoorstra 8bda6deffa Update appveyor 2021-05-04 11:06:16 +02:00
Sipke Schoorstra 51006dbd5b Update appveyor.yml 2021-04-26 10:37:33 +02:00
Craig Fowler 3e010fe26c WIP #751 - Add env vars for Postgres credentials
This should stop the build from hanging, because postgres
createdb prompts for credentials and never gets any.
2021-04-07 22:08:53 +01:00
Craig Fowler 8d91792b06 WIP #751 - Correct AppVeyor postgres path 2021-04-07 21:50:13 +01:00
Craig Fowler f5660336a3 WIP #751 - AppVeyor needs the postgres path 2021-04-07 21:39:40 +01:00
Craig Fowler 745b818b1d WIP #751 - Another attempt to create the db 2021-04-07 21:27:43 +01:00
Craig Fowler 8afd44aa7d WIP #751 - AppVeyor also needs to create the DB 2021-04-07 21:09:26 +01:00
Craig Fowler e591c7c4e4 WIP #751 - Enable postgres in AppVeyor build
After enabling the postgresql server, connectivity in tests was
significantly improved.
2021-04-07 20:52:00 +01:00
Sipke Schoorstra 8d87bd80b0 Fix various package scripts 2021-04-06 10:52:26 +02:00
Sipke Schoorstra fcd38d0304 Set node version and fix missing line breaks 2021-04-06 10:33:43 +02:00
Sipke Schoorstra 6b07f25b23 Fix spacing 2021-04-06 10:27:53 +02:00
Sipke Schoorstra addaec5f67 Fix spacing 2021-04-06 10:27:14 +02:00
Sipke Schoorstra e1119e79a6 Accommodate for Tailwind 2 breaking changes and fix build script (temporarily disabling sonar cube) 2021-04-06 10:26:23 +02:00
Sipke Schoorstra c6ad488a0b Remove docker code 2021-04-02 13:23:04 +02:00
Jens Willmer 20bbcd4b5a
Update appveyor.yml 2021-04-01 11:05:58 +02:00
Jens Willmer 5f902a4c13
Removed docker build from appveyor 2021-04-01 10:59:16 +02:00
Jens Willmer 0c9bbc7b63 Update appveyor.yml 2021-04-01 09:44:24 +02:00
Sipke Schoorstra 19d52b6bc3 Remove custom node version installation 2021-03-29 13:48:10 +02:00
Craig Fowler 78beea3a7f Temporarily disable docker deployment
It looks like the docker credentials are incorrect, because
builds are failing with an auth problem.  For example build 2.0.0-preview7.1704:
  https://ci.appveyor.com/project/sfmskywalker/elsa/builds/38438996#L6715

This can be re-enabled once the auth issue is fixed.  There should be
no real harm in disabling it, since it's not working at the moment anyway.
2021-03-28 13:43:29 +01:00
Sipke Schoorstra 832afc1110 Update appveyor.yml to use default Node installation (which appears to be v14) 2021-03-18 11:25:38 +01:00
Sipke Schoorstra 74432de409 Update relative path 2021-03-17 23:05:38 +01:00
Sipke Schoorstra 71e4bbecbb Update relative paths 2021-03-17 23:02:38 +01:00
Sipke Schoorstra 016eaf6abb Add docker credentials 2021-03-17 22:56:37 +01:00
Sipke Schoorstra b663935248 Docker build test 1 2021-03-17 22:33:27 +01:00
Craig Fowler 672e32a7ca WIP #552 - Add unit test to repro
Actually, this unit test does not repro the issue.
Frustratingly I can't get it to save the executed workflow
into MongoDB at all.  I see workflow execution logs
being saved, but the instance doesn't go in.

I'm not sure if this is a mistake I'm making or whether
I have found a different bug of some sort.
2021-03-06 17:22:37 +00:00
Craig Fowler b2b69cb85e Attempt to fix build; after_test "executed with exception"
I'm a little confused as to how this happened.  It could
relate to an exit code sent by SonarScanner.

I'm going to combine these two commands into a single step
so that if SonarScanner drops a non-zero exit code, it should
still continue on past it.
2021-02-27 19:32:46 +00:00
Craig Fowler 850b01b2d2 Fix build after #486 - Prevent SonarScanner on PR
Because AppVeyor won't decrypt secure variables on pull requests,
that causes a SonarScanner error when the secure variable value
isn't available, failing the build.

This solution is documented at:
  https://medium.com/@stef.heyenrath/how-to-fix-sonarcloud-issue-in-a-github-pr-when-using-appveyor-integration-8909b49406b4
All it really does is disable SonarScanner for PRs.
2021-02-27 20:00:54 +01:00
Craig Fowler 2620905828 Bump version for NuGet preview7
This is not so much about formally launching a
package, it will complete the testing of #664.

Part of that ticket can only be tested by pushing
a tagged commit to the 2.0 branch.
2021-02-27 16:02:53 +00:00
Craig Fowler 76588089a2 Follow-up #665 - Fix version number
This means that SonarCloud will display the correct version
number for each analysis now.
2021-02-27 15:32:55 +00:00
Craig Fowler e9d00e6b21 Follow-up to #665 - Put 'pack' step into after_test
The before_package step doesn't seem to be run, despite being
documented at https://www.appveyor.com/docs/appveyor-yml/

I've moved this step to after_test, which will work just fine.
It's just frustrating that really it's got nothing to do with testing.
2021-02-27 15:00:40 +00:00
Craig Fowler 917444c8c9 Resolve #665 - Fix project name 2021-02-27 14:38:42 +00:00
Craig Fowler 622ff1ad5f WIP #665 - Add changes to YML in order to trigger SonarScanner
The main things going on here in the YML are:
* Adding some env vars for SonarScanner
* Adding the SonarScanner package as a build tool
* Adding before-build/after-test steps to setup/teardown SonarScanner
* Separating the "pack" step from the "build" step
  * Pack moved to before-package which occurs after tests pass
  * See https://www.appveyor.com/docs/build-configuration/#build-pipeline
* Tests run with logging & code-coverage detection
* Test results are added as AppVeyor artifacts
2021-02-27 14:33:58 +00:00
Craig Fowler 8d4339f4b0 Revert "Merge branch 'feature/665-SonarCloud-integration' into feature/elsa-2.0"
This reverts commit 3dc1b79b3b, reversing
changes made to 1dbafd8ba2.

The previous merge of work on #665 broke the build so this commit
reverts it back out.
2021-02-27 13:58:06 +00:00
Craig Fowler a1a812a159 WIP #665 - Add changes to YML in order to trigger SonarScanner
The main things going on here in the YML are:
* Adding some env vars for SonarScanner
* Adding the SonarScanner package as a build tool
* Adding before-build/after-test steps to setup/teardown SonarScanner
* Separating the "pack" step from the "build" step
  * Pack moved to before-package which occurs after tests pass
  * See https://www.appveyor.com/docs/build-configuration/#build-pipeline
* Tests run with logging & code-coverage detection
* Test results are added as AppVeyor artifacts
2021-02-27 12:44:22 +00:00
Craig Fowler ddcb3878f8 WIP #664 - De-duplicate in-use parts of YML
This is a bit of naughty scope-creep on that issue.
I noticed that there's some further parts of the YML which
are duplicated between the two v2 sections of the YML.

It seems that the intent is mainly about deploying to MyGet on
every build (in the appropriate branch) but only deploying to NuGet
if building from a tag.  Also, the actual build steps between these two
seem to be out of sync.

I've switched to a more concise way of achieving this same result,
which allows me to de-duplicate the two build configs so they're using
the same build process.

The only other real thing I did there was sneak in the autocrlf git
setting.  It's just a good idea on Windows to avoid being caught out.
2021-02-25 20:20:59 +01:00
Craig Fowler c2c831b625 WIP #664 - Remove redundant build config
Also clarify the comments for the two remaining ones.
2021-02-25 20:20:59 +01:00