-
Notifications
You must be signed in to change notification settings - Fork 62
refactor(npm-scripts) #2399
refactor(npm-scripts) #2399
Conversation
d64a4e0
to
49672d4
Compare
As part of this PR, I've updated semantic-release module and how it works now. More details: semantic-release/semantic-release#480 |
120b279
to
ebb39f9
Compare
@debloper |
@jarifibrahim: assuming you've done This is why I'm consistently saying, the steps after functional tests on CI are more important for me. Considering putting the functional tests after the build step in CI - any objections? |
@debloper No, I haven't done
The functional tests are already the last step in the CI build https://github.com/fabric8-ui/fabric8-planner/blob/master/deploy/release.groovy#L17 |
Which directory did you link npm to from runtime then?
No, they come before fabric8-ui build. And so that you're not misunderstanding my point, I want to use the build fail logs as the tool to identify and rectify the places where I need to change the code (you're suggesting how do I make it pass, or what needs change - which is what I'm aware of). A complete scripting overhaul patch with first push CI PASS isn't something I'm looking for, neither is that practical as well. Problem here is, I can't get to fabric8-ui build step without func-test terminating the CI. |
f20ccdd
to
fcd6007
Compare
Does this still break run_planner.sh? |
@michaelkleinhenz yes it kinda does. First, here's the change: From # runs the planner in watch mode
function runPlanner {
echo "Running Planner in $PLANNER_HOME"
# as the watch task has to be started in the backgound, we need to create a minimal
# dist-watch directory befor launching it otherwise the following linking gets confused.
cd $PLANNER_HOME && mkdir -p dist-watch && cp package.json dist-watch/ && npm run watch:library &
} to # runs the planner in watch mode
function runPlanner {
echo "Running Planner in $PLANNER_HOME"
cd $PLANNER_HOME && npm run build -- --watch &
} So, as mentioning in the inline comments, without a separate directory for watch mode, Now, looking forward to standalone planner, we won't be doing So, for the time being, watch mode is: broken, unless tested and confirmed that it's not. Looking into this today, if the |
5c00afd
to
7cfd86d
Compare
Sure it does: https://jenkins.cd.test.fabric8.io/blue/organizations/jenkins/fabric8-ui%2Ffabric8-planner/detail/PR-2399/13/pipeline/ |
32e9cb4
to
9a5bf5a
Compare
2953185
to
e8d8e77
Compare
779133b
to
fcf1ada
Compare
…elease - Update semantic release to newer BREAKING version - Remove setup script for now - Add semantic release as part of build scripts (--release flag) - Update readme to document all the BREAKING script changes
fcf1ada
to
4f1aee2
Compare
… serial execution of necessary tasks
4f1aee2
to
5bca4ea
Compare
@debloper fabric8/fabric8-ui:SNAPSHOT-PR-2399-30 is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-2399-fabric8-planner.badger.fabric8.io |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @debloper looks a good path/restructure
I could talk about Jenkinsfile or release.groovy tough, would like to have review from others as it has JS and gulp changes @sanbornsen @nimishamukherjee
otherwise LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@debloper fabric8/fabric8-ui:SNAPSHOT-PR-2399-32 is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-2399-fabric8-planner.badger.fabric8.io |
Could be that this conflicts with #2419 as I also modified some of the stuff there. |
@michaelkleinhenz I don't think there's any functional conflict to happen for
|
@debloper fabric8/fabric8-ui:SNAPSHOT-PR-2399-36 is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-2399-fabric8-planner.badger.fabric8.io |
@@ -185,7 +180,7 @@ | |||
"rimraf": "2.6.2", | |||
"run-sequence": "2.2.0", | |||
"script-ext-html-webpack-plugin": "1.8.7", | |||
"semantic-release": "8.2.0", | |||
"semantic-release": "12.2.2", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I had a issue with the newer version of semantic-release. But that was a while ago, don't remember what was the cause.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Must have been the pre/post steps, I'd guess, which aren't required anymore.
I had to refactor the release step a little bit to make it work with our build > release
routines.
Addresses #2376
Also updates CI/CD pipeline to reflect the change.
Breaks docker-compose & minishift orchestration.Fixed.BreaksFixedrun-planner.sh
script's watch mode.