Skip to content

department-of-veterans-affairs/lighthouse-actions-maven-build

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lighthouse-actions-maven-build

Contributing to this repo

GitHub action to build Java projects for the Lighthouse program and tooling to help simplify configuring your repository.

    - name: Lighthouse maven build
      uses: department-of-veterans-affairs/lighthouse-actions-maven-build@v0
      with:
        nexus-username: ${{ secrets.HEALTH_APIS_RELEASES_NEXUS_USERNAME }}
        nexus-password: ${{ secrets.HEALTH_APIS_RELEASES_NEXUS_PASSWORD }}
        command: non-release

Commands:

  • non-release
    Perform a basic build, skipping release related steps, suchs as building docker images or publishing to Nexus.

See build.sh --help for more details.

Handling special cases with initialize-build.sh

If your project has a special need that cannot be solved through the standard Maven build, this action supports executing an initialization script prior to executing Maven.

initialize-build.sh must be placed at the root of your repository.

Using with CodeQL

A GitHub workflow template is provided. See templates/codeql.yml. The configure-repo.sh tool can be used to simplify configuring your repository.

  1. Clone this repository
  2. Update CodeQL workflow
  3. Update GitHub secrets
  4. Push your changes
git clone https://github.com/department-of-veterans-affairs/lighthouse-actions-maven-build.git
lmb=$(pwd)/lighthouse-actions-maven-build
cd ../whereever/your-awesome-repo
git checkout code-scanning
$lmb/configure-repo.sh update-codeql
$lmb/configure-repo.sh update-secrets --nexus-username some-ci-user --nexus-password some-secret
git add .github/workflows/codeql.yml
git checkin -m "Updated to the current CodeQL workflow for Lighthouse projects"
git push -u origin code-scanning

See configure-repo.sh --help for more details.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages