This repository has been archived by the owner on Oct 18, 2022. It is now read-only.
forked from MobilityData/gtfs-validator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Continuous Integration & Delivery + version name from git tag (Mobili…
…tyData#455) Self reviewed: no code changes * CI optimizations - gradle caching - collect test reports on test failure * Computed gradle version tagging - copy what was done in the workflow tagging the Docker image - adapt it to generate a coherent version name for artifacts - compute version tagging in CI from Git branch/tagging/pr event - pass down computed tag to gradle vi an environment variable - use Gradle Command GitHub Action - use computed name for all artifacts - update gradle build scripts - update Dockerfile - update release documentation https://github.com/marketplace/actions/gradle-command https://docs.github.com/en/free-pro-team@latest/actions/guides/building-and-testing-java-with-gradle#caching-dependencies https://stackoverflow.com/questions/41428013/why-does-wildcard-for-jar-execution-not-work-in-docker-cmd - TODO: share name computation result between jobs https://docs.github.com/en/free-pro-team@latest/actions/guides/storing-workflow-data-as-artifacts#passing-data-between-jobs-in-a-workflow
- Loading branch information
fabrice-v
authored
Oct 26, 2020
1 parent
dfb7408
commit 985448c
Showing
21 changed files
with
227 additions
and
127 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
FROM openjdk:11 | ||
COPY application/cli-app/build/libs/*.jar /usr/gtfs-validator/cli-app/gtfs-validator-v1.3.0-SNAPSHOT_cli.jar | ||
COPY application/cli-app/build/libs/*.jar /usr/gtfs-validator/cli-app/ | ||
COPY application/cli-app/scripts/end_to_end.sh /usr/gtfs-validator/cli-app/end_to_end.sh | ||
RUN chmod +x /usr/gtfs-validator/cli-app/end_to_end.sh | ||
COPY application/web-app/spring-server/build/libs/*.war /usr/gtfs-validator/web-app/gtfs-validator-v1.3.0-SNAPSHOT_web.war | ||
WORKDIR /usr/gtfs-validator/web-app | ||
COPY application/web-app/spring-server/build/libs/*.war /usr/gtfs-validator/web-app/ | ||
EXPOSE 8090 | ||
ENTRYPOINT ["java", "-jar", "gtfs-validator-v1.3.0-SNAPSHOT_web.war"] | ||
CMD ["/bin/sh", "-c", "java -jar /usr/gtfs-validator/web-app/*.war"] |
Oops, something went wrong.