File tree Expand file tree Collapse file tree 3 files changed +22
-7
lines changed
Expand file tree Collapse file tree 3 files changed +22
-7
lines changed Original file line number Diff line number Diff line change 55 # Push excluding tags and workflow changes
66 push :
77 branches :
8- - ' ** '
8+ - ' main '
99 tags-ignore :
1010 - ' *.*'
1111 paths-ignore :
1212 - ' .github/**'
1313 - ' .ci_cd/**'
1414 - ' **/*.md'
1515
16+ # PR
17+ pull_request :
18+
1619 # When a release is published
1720 release :
1821 types : [published]
2225 inputs :
2326 ENVIRONMENT :
2427 description : ' Environment to use (if any)'
25- MANAGER_TAG :
26- description : ' Manager docker tag to pull'
2728 CLEAN_INSTALL :
2829 description : ' Delete data before starting'
2930 type : boolean
3031 COMMIT :
3132 description : ' Repo branch or commit SHA to checkout'
33+ OR_HOSTNAME :
34+ description : ' Host to deploy to (e.g. demo.openremote.app)'
35+ OR_ADMIN_PASSWORD :
36+ description : ' Admin password override'
3237
3338# Un-comment to monitor manager docker image tags for changes and trigger a redeploy when they change (see .ci_cd/README.md)
3439# schedule:
Original file line number Diff line number Diff line change 1+ // Configure version based on Git tags
2+ apply plugin : ' pl.allegro.tech.build.axion-release'
3+ scmVersion {
4+ releaseOnlyOnReleaseBranches = true
5+ releaseBranchNames = [' main' ]
6+ unshallowRepoOnCI. set(true )
7+ versionCreator(' simple' )
8+ repository {
9+ remote. set(' origin' )
10+ }
11+ tag {
12+ prefix. set(' ' )
13+ }
14+ }
115
216allprojects {
317 // Apply common project setup
Original file line number Diff line number Diff line change @@ -337,10 +337,6 @@ tasks.register('npmBuild', Exec) {
337337 dependsOn getYarnInstallTask()
338338 commandLine npmCommand(" yarn" ), " run" , " build"
339339}
340- tasks. register(' npmTest' , Exec ) {
341- dependsOn getYarnInstallTask()
342- commandLine npmCommand(" yarn" ), " run" , " test"
343- }
344340tasks. register(' npmServe' , Exec ) {
345341 dependsOn getYarnInstallTask()
346342 commandLine npmCommand(" yarn" ), " run" , " serve"
You can’t perform that action at this time.
0 commit comments