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

Science Platform CI/CD Updates #729

Merged
merged 25 commits into from
Nov 20, 2024
Merged

Science Platform CI/CD Updates #729

merged 25 commits into from
Nov 20, 2024

Conversation

shinybrar
Copy link
Collaborator

This pull request includes several changes to automate the build and release processes for the opencadc/science-platform repository. These are,

  • addition of continuous deployment workflows for edge and release builds
  • a new workflow for managing releases
  • updates to the Dockerfile and Gradle build configuration.

Continuous Deployment Workflows:

Release Management:

  • .github/workflows/cd.release.yml: workflow to automate the release process using the release-please action, which dispatches edge and release builds upon successful release creation.
  • .release-please-manifest.json: Added a manifest file for release-please to track the version of the skaha package.
  • release-please-config.json: Added configuration for release-please to manage the release process, including paths to relevant files and release type settings.

Docker and Build Configuration:

  • skaha/Dockerfile: Updated the Dockerfile to use a multi-stage build, separating the build and production stages, and optimized the installation of dependencies to reduce image size.
  • skaha/build.gradle: Added new plugins and tasks for code formatting, code coverage, and documentation generation using Dokka.
  • skaha/gradle.properties: Added Gradle properties to enable parallel builds, caching, and other performance optimizations.
  • skaha/version.yaml: Added a version file to track the current version of the skaha package.

This PR completes, https://cadc-ccda.atlassian.net/browse/CADC-13811, https://cadc-ccda.atlassian.net/browse/CADC-13813,

shinybrar and others added 24 commits November 12, 2024 17:26
…n@jdk11 and cadc-tomcat:1.3

additionally locked all packages and containers to a specific version
…ile to manage project settings

added dokka support, which uses kotlin tools to generate github markdown compatible documentation output in addition HTML
chore: bootstrap releases for path: skaha
…build requies release please action to succeed
@shinybrar shinybrar requested a review from at88mph November 18, 2024 20:58
@shinybrar shinybrar added the enhancement New feature or request label Nov 18, 2024
Copy link

codecov bot commented Nov 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 18.61%. Comparing base (a832399) to head (a2db905).
Report is 26 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #729   +/-   ##
=========================================
  Coverage     18.61%   18.61%           
  Complexity      102      102           
=========================================
  Files            22       22           
  Lines          1961     1961           
  Branches        270      270           
=========================================
  Hits            365      365           
  Misses         1544     1544           
  Partials         52       52           
Flag Coverage Δ
skaha-unittests-coverage 18.61% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

skaha/version.yaml Outdated Show resolved Hide resolved
@at88mph at88mph merged commit 14a9d29 into opencadc:main Nov 20, 2024
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants