mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 05:01:07 +00:00
Updated config.yml
This commit is contained in:
@ -11,25 +11,24 @@ orbs:
|
|||||||
workflows:
|
workflows:
|
||||||
main:
|
main:
|
||||||
jobs:
|
jobs:
|
||||||
##################################################################################
|
##############################################################################
|
||||||
## Job (based on maven orb) to test the codebase. Should run for all branches. ##
|
## Job (from maven orb) to test the codebase. Should run for all branches. ##
|
||||||
##################################################################################
|
##############################################################################
|
||||||
- maven/test:
|
- maven/test:
|
||||||
name: run_tests
|
name: run_tests
|
||||||
executor: java17
|
executor: java17
|
||||||
|
|
||||||
##############################################################################################
|
#############################################################################################
|
||||||
## Job (based on maven orb) to do a mvn deploy to publish jar to github qqq-maven-registry. ##
|
## Job (from maven orb) to do a mvn deploy to publish jar to github qqq-maven-registry. ##
|
||||||
##############################################################################################
|
## Note: despite "/test" in the name, we specify the mvn sub-command w/ the command param. ##
|
||||||
|
#############################################################################################
|
||||||
- maven/test:
|
- maven/test:
|
||||||
name: deploy_to_github
|
name: deploy_to_github
|
||||||
executor: java17
|
executor: java17
|
||||||
command: 'deploy -DskipTests' ## tests were previously ran, so okay to skip them here,
|
command: 'deploy -DskipTests' ## tests were previously ran, so okay to skip them here,
|
||||||
settings_file: .circleci/mvn-settings.xml
|
settings_file: .circleci/mvn-settings.xml
|
||||||
context:
|
context: qqq-maven-registry-credentials
|
||||||
- Production
|
requires: [ run_tests ]
|
||||||
requires:
|
|
||||||
- run_tests
|
|
||||||
filters:
|
filters:
|
||||||
branches:
|
branches:
|
||||||
only: circleci-project-setup ## todo - change to main
|
only: circleci-project-setup ## todo - change to main
|
||||||
|
Reference in New Issue
Block a user