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

[Cloud Service] Implement an alternative to Heroku #915

Closed
FJBDev opened this issue Aug 25, 2022 · 8 comments
Closed

[Cloud Service] Implement an alternative to Heroku #915

FJBDev opened this issue Aug 25, 2022 · 8 comments
Assignees
Labels
Dev Info Information for developer
Milestone

Comments

@FJBDev
Copy link
Collaborator

FJBDev commented Aug 25, 2022

Per the Heroku announcement here to discontinue the free dyno apps that MT is using for multiple cloud services integration, I will be looking at migrating the MT integration node.js app to another free node.js service.

Thank you for being a Heroku user. Starting November 28, 2022, free Heroku Dynos, free Heroku Postgres, and free Heroku Data for Redis® will no longer be available.

Here are some possible free alternatives

@FJBDev FJBDev self-assigned this Aug 25, 2022
@FJBDev FJBDev added the Dev Info Information for developer label Aug 25, 2022
@FJBDev FJBDev added this to the 22.next milestone Aug 25, 2022
FJBDev added a commit to FJBDev/mytourbook that referenced this issue Aug 25, 2022
@FJBDev
Copy link
Collaborator Author

FJBDev commented Aug 25, 2022

I have chosen Cyclic and the migration was successful

@wolfgang-ch wolfgang-ch changed the title Implement an alternative to Heroku [Cloud Service] Implement an alternative to Heroku Sep 6, 2022
@FJBDev
Copy link
Collaborator Author

FJBDev commented Sep 20, 2022

Implemented in this commit

@FJBDev FJBDev closed this as completed Sep 20, 2022
@FJBDev
Copy link
Collaborator Author

FJBDev commented Oct 23, 2022

The free Heroku apps will start being deprecated Starting November 28, 2022,

@FJBDev
Copy link
Collaborator Author

FJBDev commented Nov 9, 2022

@wolfgang-ch
Considering that Heroku will stop working on November 28, 2022, it would be great to publish a new version of MT before that date so that users can still use all the cloud services like weather retrieval, Strava, Suunto....

If 22.next is not ready to publish, maybe we could publish a 22.8.1 that only contains the new app url ?

Let me know

@wolfgang-ch
Copy link
Collaborator

Tomorrow I'll prepare 22.11

@wolfgang-ch
Copy link
Collaborator

This error occures when building 22.11

image

FYI: Yesterday I deleted all my gradle and maven caches, so all dependencies will be downloaded when needed

This is the whole log


C:\DAT\MT\mytourbook\build\build.net.tourbook>gradlew

> Task :create-build-files
---------------------------------------------------------------------------------------

[ant:echo] Delete old build files: ../../../../mytourbook-BUILD-autocreated
[ant:echo] Copy core files into ../../../../mytourbook-BUILD-autocreated/core
[ant:echo] Copy language fragments into ../../../../mytourbook-BUILD-autocreated/translation
[ant:echo] Copy language property files into ../../../../mytourbook-BUILD-autocreated/translation



> Task :mt_10_CreateBuildFiles
---------------------------------------------------------------------------------------




> Task :mt_20_BuildProduct
---------------------------------------------------------------------------------------

[INFO] Scanning for projects...
C:\DAT\mytourbook-BUILD-autocreated\core\net.tourbook\.polyglot.build.properties
C:\DAT\mytourbook-BUILD-autocreated\core\net.tourbook.branding\.polyglot.build.properties
C:\DAT\mytourbook-BUILD-autocreated\core\net.tourbook.chart\.polyglot.build.properties
C:\DAT\mytourbook-BUILD-autocreated\core\net.tourbook.cloud\.polyglot.build.properties
C:\DAT\mytourbook-BUILD-autocreated\core\net.tourbook.common\.polyglot.build.properties
C:\DAT\mytourbook-BUILD-autocreated\core\net.tourbook.device\.polyglot.build.properties
C:\DAT\mytourbook-BUILD-autocreated\core\net.tourbook.device.garmin\.polyglot.build.properties
C:\DAT\mytourbook-BUILD-autocreated\core\net.tourbook.device.garmin.fit\.polyglot.build.properties
C:\DAT\mytourbook-BUILD-autocreated\core\net.tourbook.device.nmea\.polyglot.build.properties
C:\DAT\mytourbook-BUILD-autocreated\core\net.tourbook.export\.polyglot.build.properties
C:\DAT\mytourbook-BUILD-autocreated\core\net.tourbook.p2\.polyglot.build.properties
C:\DAT\mytourbook-BUILD-autocreated\core\net.tourbook.photo\.polyglot.build.properties
C:\DAT\mytourbook-BUILD-autocreated\core\net.tourbook.printing\.polyglot.build.properties
C:\DAT\mytourbook-BUILD-autocreated\core\net.tourbook.statistics\.polyglot.build.properties
[WARNING] Could not transfer metadata net.tourbook:mytourbook-app:22.8.0-SNAPSHOT/maven-metadata.xml from/to swtbot (https://download.eclipse.org/technology/swtbot/releases/4.0.0/): Cannot access https://download.eclipse.org/technology/swtbot/releases/4.0.0/ with type p2 using the available connector factories: BasicRepositoryConnectorFactory
C:\DAT\mytourbook-BUILD-autocreated\core\net.tourbook.web\.polyglot.build.properties
C:\DAT\mytourbook-BUILD-autocreated\core\net.tourbook.ext.apache\.polyglot.build.properties
C:\DAT\mytourbook-BUILD-autocreated\core\net.tourbook.ext.ejb3_3.4.0\.polyglot.build.properties
C:\DAT\mytourbook-BUILD-autocreated\core\net.tourbook.ext.geoclipse\.polyglot.build.properties
C:\DAT\mytourbook-BUILD-autocreated\core\net.tourbook.ext.jars\.polyglot.build.properties
C:\DAT\mytourbook-BUILD-autocreated\core\net.tourbook.ext.jars.printing\.polyglot.build.properties
C:\DAT\mytourbook-BUILD-autocreated\core\net.tourbook.ext.rxtx.linux64_2.2\.polyglot.build.properties
C:\DAT\mytourbook-BUILD-autocreated\core\net.tourbook.ext.rxtx.macosx_2.2\.polyglot.build.properties
C:\DAT\mytourbook-BUILD-autocreated\core\net.tourbook.ext.rxtx.win64_2.2\.polyglot.build.properties
C:\DAT\mytourbook-BUILD-autocreated\core\net.tourbook.ext.rxtx_2.2\.polyglot.build.properties
C:\DAT\mytourbook-BUILD-autocreated\core\net.tourbook.ext.velocity\.polyglot.build.properties
C:\DAT\mytourbook-BUILD-autocreated\core\net.tourbook.ext.vtm\.polyglot.build.properties
C:\DAT\mytourbook-BUILD-autocreated\core\net.tourbook.ext.vtm.linux\.polyglot.build.properties
C:\DAT\mytourbook-BUILD-autocreated\core\net.tourbook.ext.vtm.macosx\.polyglot.build.properties
C:\DAT\mytourbook-BUILD-autocreated\core\net.tourbook.ext.vtm.windows\.polyglot.build.properties
C:\DAT\mytourbook-BUILD-autocreated\core\net.tourbook.ext.worldwind.linux64\.polyglot.build.properties
C:\DAT\mytourbook-BUILD-autocreated\core\net.tourbook.ext.worldwind.macosx\.polyglot.build.properties
C:\DAT\mytourbook-BUILD-autocreated\core\net.tourbook.ext.worldwind.win64\.polyglot.build.properties
C:\DAT\mytourbook-BUILD-autocreated\core\net.tourbook.ext.worldwind\.polyglot.build.properties
C:\DAT\mytourbook-BUILD-autocreated\translation\net.tourbook.chart.nl\.polyglot.build.properties
C:\DAT\mytourbook-BUILD-autocreated\translation\net.tourbook.cloud.nl\.polyglot.build.properties
C:\DAT\mytourbook-BUILD-autocreated\translation\net.tourbook.common.nl\.polyglot.build.properties
C:\DAT\mytourbook-BUILD-autocreated\translation\net.tourbook.device.garmin.fit.nl\.polyglot.build.properties
C:\DAT\mytourbook-BUILD-autocreated\translation\net.tourbook.device.garmin.nl\.polyglot.build.properties
C:\DAT\mytourbook-BUILD-autocreated\translation\net.tourbook.device.nl\.polyglot.build.properties
C:\DAT\mytourbook-BUILD-autocreated\translation\net.tourbook.device.nmea.nl\.polyglot.build.properties
C:\DAT\mytourbook-BUILD-autocreated\translation\net.tourbook.nl\.polyglot.build.properties
C:\DAT\mytourbook-BUILD-autocreated\translation\net.tourbook.photo.nl\.polyglot.build.properties
C:\DAT\mytourbook-BUILD-autocreated\translation\net.tourbook.printing.nl\.polyglot.build.properties
C:\DAT\mytourbook-BUILD-autocreated\translation\net.tourbook.statistics.nl\.polyglot.build.properties
C:\DAT\mytourbook-BUILD-autocreated\translation\net.tourbook.web.nl\.polyglot.build.properties
C:\DAT\MT\mytourbook\features\feature.net.tourbook.app\.polyglot.build.properties
C:\DAT\MT\mytourbook\features\feature.net.tourbook.app.nl\.polyglot.build.properties
C:\DAT\MT\mytourbook\features\feature.net.tourbook.app.version\.polyglot.build.properties
C:\DAT\MT\mytourbook\features\feature.net.tourbook.ext.derby\.polyglot.build.properties
C:\DAT\MT\mytourbook\features\feature.net.tourbook.ext.eclipse\.polyglot.build.properties
C:\DAT\MT\mytourbook\features\feature.net.tourbook.ext.eclipse.nl\.polyglot.build.properties
C:\DAT\MT\mytourbook\features\feature.net.tourbook.ext.ejb3\.polyglot.build.properties
C:\DAT\MT\mytourbook\features\feature.net.tourbook.ext.jars\.polyglot.build.properties
C:\DAT\MT\mytourbook\features\feature.net.tourbook.ext.rxtx\.polyglot.build.properties
C:\DAT\MT\mytourbook\features\feature.net.tourbook.ext.vtm\.polyglot.build.properties
C:\DAT\MT\mytourbook\features\feature.net.tourbook.ext.worldwind\.polyglot.build.properties
C:\DAT\MT\mytourbook\build\build.net.tourbook.feature\.polyglot.build.properties
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for net.tourbook:net.tourbook.tests:22.8.0-SNAPSHOT: Could not find artifact net.tourbook:mytourbook-app:pom:22.8.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 14, column 12
[FATAL] Non-resolvable parent POM for net.tourbook:net.tourbook.ui.tests:22.8.0-SNAPSHOT: Could not transfer artifact net.tourbook:mytourbook-app:pom:22.8.0-SNAPSHOT from/to swtbot (https://download.eclipse.org/technology/swtbot/releases/4.0.0/): Cannot access https://download.eclipse.org/technology/swtbot/releases/4.0.0/ with type p2 using the available connector factories: BasicRepositoryConnectorFactory and 'parent.relativePath' points at wrong local POM @ line 14, column 12
 @
[ERROR] The build could not read 2 projects -> [Help 1]
[ERROR]
[ERROR]   The project net.tourbook:net.tourbook.tests:22.8.0-SNAPSHOT (C:\DAT\mytourbook-BUILD-autocreated\core\net.tourbook.tests\pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for net.tourbook:net.tourbook.tests:22.8.0-SNAPSHOT: Could not find artifact net.tourbook:mytourbook-app:pom:22.8.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 14, column 12 -> [Help 2]
[ERROR]
[ERROR]   The project net.tourbook:net.tourbook.ui.tests:22.8.0-SNAPSHOT (C:\DAT\mytourbook-BUILD-autocreated\core\net.tourbook.ui.tests\pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for net.tourbook:net.tourbook.ui.tests:22.8.0-SNAPSHOT: Could not transfer artifact net.tourbook:mytourbook-app:pom:22.8.0-SNAPSHOT from/to swtbot (https://download.eclipse.org/technology/swtbot/releases/4.0.0/): Cannot access https://download.eclipse.org/technology/swtbot/releases/4.0.0/ with type p2 using the available connector factories: BasicRepositoryConnectorFactory and 'parent.relativePath' points at wrong local POM @ line 14, column 12: Cannot access https://download.eclipse.org/technology/swtbot/releases/4.0.0/ with type p2 using the available layout factories: Maven2RepositoryLayoutFactory: Unsupported repository layout p2 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException



> Task :mt_20_BuildProduct FAILED

FAILURE: Build failed with an exception.

* Where:
Build file 'C:\DAT\MT\mytourbook\build\build.net.tourbook\build.gradle' line: 86

* What went wrong:
Execution failed for task ':mt_20_BuildProduct'.
> Process 'command 'cmd'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 7s
2 actionable tasks: 2 executed

C:\DAT\MT\mytourbook\build\build.net.tourbook>

@FJBDev
Copy link
Collaborator Author

FJBDev commented Nov 11, 2022

I am not able to reproduce it locally and also, it works on Github, see last build here

You said it fails when building 22.11d but I see this, is it normal ?
Non-resolvable parent POM for net.tourbook:net.tourbook.tests:22.8.0-SNAPSHOT

Did you try to remove the tests and ui.tests module since they are not used when building a new version of MT?

@wolfgang-ch
Copy link
Collaborator

It was my fault 😮

When I did a search and replace of the old version number 22.8.0 with 22.11.0, the test projects were closed, so the version number was not updated

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

No branches or pull requests

2 participants