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

[FEAT] CI/CD: create OS-specific .zip files during build for release .zip files, separate cruiser.zip Asset and delete unused files #90

Merged
merged 5 commits into from
Feb 23, 2022

Conversation

treee111
Copy link
Owner

@treee111 treee111 commented Jan 23, 2022

This PR…

  • creates OS-specific (macOS/Linux and Windows) .zip files during build
  • creates not everyday-used files --> /tooling/cruiser dir as separate .zip Asset
  • moves tooling/sea.osm and tooling/shape2osm.py to dir common_resources

--> closes #87

  • deletes not needed/dublicated stuff
    • dirs common_resources/mappack-splitted/, tooling/shape2osm/
    • files common_resources/mappack-gzip.json, environment-mac.yml

--> closes #86

Considerations and implementations

  • the macOS filesize went down, the Windows is the same because of the Osmosis files are still present
OS / zip size Release v1.0.0 (MB) this PR (MB)
macOS 49,5 0,7
Windows 49,5 27,7
cruiser - 21,8

How to test

  1. run in root folder of wahooMapsCreator sh copyFilesToDist.sh or get files from Latest-Release (branch release-v1.1.0)
  2. test created .zip files in each OS

Pull Request Checklist

@treee111 treee111 added the infrastructure Infrastructure label Jan 23, 2022
@treee111 treee111 changed the title create OS-specific .zip files during build for release .zip files [FEAT] create OS-specific .zip files during build for release .zip files Jan 23, 2022
@treee111 treee111 force-pushed the make-build-zip-os-specific branch from db4d35c to cb9dd8b Compare January 23, 2022 01:48
- move files from /tooling to /common_resources
- delete unused shape2osm folder and mappack because these are not used
@treee111 treee111 force-pushed the make-build-zip-os-specific branch from cb9dd8b to 8d7a70c Compare January 23, 2022 02:00
@treee111 treee111 changed the title [FEAT] create OS-specific .zip files during build for release .zip files [FEAT] create OS-specific .zip files during build for release .zip files and delete unused files Jan 23, 2022
@treee111 treee111 changed the title [FEAT] create OS-specific .zip files during build for release .zip files and delete unused files [FEAT] CI/CD: create OS-specific .zip files during build for release .zip files and delete unused files Jan 23, 2022
- by cd'ing into each OS's folder
- incl. deletion of line which does nothing
@treee111 treee111 changed the title [FEAT] CI/CD: create OS-specific .zip files during build for release .zip files and delete unused files [FEAT] CI/CD: create OS-specific .zip files during build for release .zip files, separate cruiser.zip Asset and delete unused files Feb 23, 2022
@treee111 treee111 merged commit 23fc4b1 into develop Feb 23, 2022
@treee111 treee111 deleted the make-build-zip-os-specific branch February 23, 2022 21:42
treee111 added a commit that referenced this pull request Feb 23, 2022
….zip files, separate cruiser.zip Asset and delete unused files (#90)

* move files and delete unused

- move files from /tooling to /common_resources
- delete unused shape2osm folder and mappack because these are not used

* create (build) OS-specific .zip files

* delete older conda ...-mac.yml

* Do not include top-level folder in .zip files

- by cd'ing into each OS's folder

* make cruiser files a separate .zip

- incl. deletion of line which does nothing
treee111 added a commit that referenced this pull request Feb 23, 2022
…se .zip files, separate cruiser.zip Asset and delete unused files (#90)

* move files and delete unused

- move files from /tooling to /common_resources
- delete unused shape2osm folder and mappack because these are not used

* create (build) OS-specific .zip files

* delete older conda ...-mac.yml

* Do not include top-level folder in .zip files

- by cd'ing into each OS's folder

* make cruiser files a separate .zip

- incl. deletion of line which does nothing
treee111 added a commit that referenced this pull request Feb 23, 2022
treee111 added a commit that referenced this pull request Feb 23, 2022
treee111 added a commit that referenced this pull request Feb 23, 2022
…ude moved files (corrects #90) (#97)

* include moved files in .zip files

* release all dist/*.zip files as Assets (also cruiser!)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infrastructure Infrastructure
Projects
None yet
1 participant