Giter Club home page Giter Club logo

spring-petclinic's Introduction

Project Title

Description

This project showcases a robust CI/CD pipeline using GitHub Actions to manage the build and deployment process of a Java project utilizing Maven. A Docker image is created and published to JFrog Artifactory, with an Xray scan conducted to ensure the integrity and security of the build.

Workflow Files

1. Java CI with Maven:

  • Triggered on push or pull requests to the main branch.
  • Sets up JDK and builds the project using Maven Wrapper.

2. Build and Publish to JFrog Artifactory:

  • Triggered on push to the main branch.
  • Sets up JDK, compiles and tests the code.
  • Builds a Docker image and sets up JFrog CLI.
  • Tags and pushes Docker image to JFrog Artifactory.
  • Publishes build info to JFrog Artifactory.
  • Conducts an Xray scan on the build.

GitHub Actions Usage

  • Code changes in the main branch or pull requests will automatically trigger the corresponding workflow.
  • View the workflow progress and logs under the Actions tab in your GitHub repository.

Setup GitHub Secrets

Setup the following secrets in your GitHub repository to allow interaction with JFrog Artifactory:

  • JF_URL: Your JFrog instance URL.
  • JF_ACCESS_TOKEN: Your JFrog Access Token for authentication.

Local Development

Clone the repository and execute Maven commands for building and testing locally before pushing changes to the repository.

git clone <repository-url>
cd <repository-directory>
./mvnw clean package

spring-petclinic's People

Contributors

arey avatar snicoll avatar dsyer avatar mufassa12 avatar verydapeng avatar cyrille-leclerc avatar gordonad avatar crydust avatar oscr avatar tduchateau avatar trepel avatar trisberg avatar sdeleuze avatar boykoalex avatar win777 avatar bijomutta avatar odrotbohm avatar jdubois avatar freemansoft avatar eskibear avatar xerx593 avatar liouxiao avatar doggy8088 avatar spring-operator avatar rstoyanchev avatar patbaumgartner avatar martinlippert avatar cruftex avatar nroi avatar bdemers avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.