-
Notifications
You must be signed in to change notification settings - Fork 2
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 a build workflow that replaces the build.sh in the pipeline #9
Conversation
Doing an
The dependency version is defined as: "dependencies": {
"leaflet.heightgraph": "github:easbar/Leaflet.Heightgraph#82cff7b3013dd73d7221521c5b404ded6439e050",
}, in the package.json of graphhopper-maps. I have then tried to replace the defined heightgraph version with the official npm registry version of the package and the pipeline gets further. I have also noticed that the |
Thanks for your work here. Regarding the latest problem, see also graphhopper/graphhopper-maps#85 it was related to some npm / node version stuff (I'm not really proficient at this). We had similar issues here: graphhopper/graphhopper-maps#158 + graphhopper/graphhopper-maps#148
Yes. The navi branch is currently still set to the version before the major change from Mapbox GL JS to Openlayers. As openlayers has suboptimal performance for vector tiles and I have not yet tried how raster tiles look&work for the navigation. Also we would need this plugin. |
… in the build pipeline
…ache.cordova:framework:7.0.0 is not on mavenCentral
I was able to resolve the issues by reverting to the original |
Thanks! @boldtrn can we remove build.sh or should we keep it for local development? |
thanks for the improvement @FieteO 👍
Personally I'd like to keep the build.sh for now, as it makes development easier. |
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, thanks!
I think there is a redundant |
Why is that not needed? We need the node_modules of GHMaps to build GHMaps. We need to do this before we build the graphhopper-maps-capacitor. The way I understood it is that with using Did I misunderstand the meaning of this? Because I think we need both installs. |
Currently the
build.sh
is called in the pipeline as part of the generate-release workflow.It looks like as if a failure in the script is not recognized in the pipeline (as can be seen in this pipeline run).
To better use the capabilities of github pipelines and to better distinguish the individual steps that may fail, this introduces a
build
workflow that runs for pull_requests and that is not using thebuild.sh
.Note: This is currently a draft since I can only test the functionality when creating the pull request.