mirror of
				https://github.com/Telecominfraproject/wlan-cloud-workspace.git
				synced 2025-10-31 10:47:54 +00:00 
			
		
		
		
	Compare commits
	
		
			8 Commits
		
	
	
		
			build-fix
			...
			release/v1
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|   | efb34de3f1 | ||
|   | 8282c9cf27 | ||
|   | 0b9a65e810 | ||
|   | 73727dca09 | ||
|   | ad67765358 | ||
|   | f029a2f9df | ||
|   | 720ce832ec | ||
|   | df9e7102f6 | 
							
								
								
									
										26
									
								
								.github/workflows/maven-build.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										26
									
								
								.github/workflows/maven-build.yml
									
									
									
									
										vendored
									
									
								
							| @@ -2,7 +2,11 @@ name: Java Maven CI - TIP WLAN Cloud Master | |||||||
|  |  | ||||||
| on:  | on:  | ||||||
|   push: |   push: | ||||||
|     branches: [ master ] |     branches: | ||||||
|  |       - master | ||||||
|  |       - 'release/**' | ||||||
|  |     tags: | ||||||
|  |       - '*' | ||||||
|  |  | ||||||
|   schedule: |   schedule: | ||||||
|     # runs nightly build at 5AM |     # runs nightly build at 5AM | ||||||
| @@ -37,6 +41,26 @@ jobs: | |||||||
|           password: ${{ secrets.MAVEN_REPO_PASSWORD }} |           password: ${{ secrets.MAVEN_REPO_PASSWORD }} | ||||||
|       - name: Configure maven settings.xml |       - name: Configure maven settings.xml | ||||||
|         run: cp .github/workflows/maven_settings_template.xml /home/runner/.m2/settings.xml |         run: cp .github/workflows/maven_settings_template.xml /home/runner/.m2/settings.xml | ||||||
|  |       - name: Update version in pom.xml | ||||||
|  |         if: startsWith(github.ref, 'refs/tags/') | ||||||
|  |         run: | | ||||||
|  |           VERSION=$(echo "${{ github.ref }}" | sed -e 's/refs\/tags\/[v]//') | ||||||
|  |           mvn -B --file wlan-cloud-root/pom.xml versions:set -DnewVersion=$VERSION | ||||||
|  |           mvn -B --file wlan-cloud-root/pom.xml install # put new parent version into Maven cache | ||||||
|  |           mvn -B --file wlan-cloud-root/pom.xml versions:revert # need to revert so that child modules are able to find its parent | ||||||
|  |           mvn -B --file all-modules-build/pom.xml versions:update-parent -DparentVersion=[$VERSION] | ||||||
|  |           mvn -B --file wlan-cloud-opensync-controller/opensync-gateway-static-docker/pom.xml versions:update-parent -DparentVersion=[$VERSION] | ||||||
|  |           mvn -B --file wlan-cloud-opensync-controller/opensync-gateway-cloud-docker/pom.xml versions:update-parent -DparentVersion=[$VERSION] | ||||||
|  |           mvn -B --file wlan-cloud-services/all-cloud-and-opensync-gw-in-one-docker/pom.xml versions:update-parent -DparentVersion=[$VERSION] | ||||||
|  |           mvn -B --file wlan-cloud-services/all-cloud-in-one-docker/pom.xml versions:update-parent -DparentVersion=[$VERSION] | ||||||
|  |           mvn -B --file wlan-cloud-services/portal-docker/pom.xml versions:update-parent -DparentVersion=[$VERSION] | ||||||
|  |           mvn -B --file wlan-cloud-services/prov-docker/pom.xml versions:update-parent -DparentVersion=[$VERSION] | ||||||
|  |           mvn -B --file wlan-cloud-services/ssc-docker/pom.xml versions:update-parent -DparentVersion=[$VERSION] | ||||||
|  |           mvn -B --file wlan-cloud-services/spc-docker/pom.xml versions:update-parent -DparentVersion=[$VERSION] | ||||||
|  |           mvn -B --file wlan-cloud-services/port-forwarding-gateway-docker/pom.xml versions:update-parent -DparentVersion=[$VERSION] | ||||||
|  |           mvn -B --file wlan-cloud-services/schema-generator/pom.xml versions:update-parent -DparentVersion=[$VERSION] | ||||||
|  |           mvn -B --file wlan-cloud-root/pom.xml versions:set -DnewVersion=$VERSION | ||||||
|  |  | ||||||
|       - name: Updating commit file |       - name: Updating commit file | ||||||
|         run: |           |         run: |           | ||||||
|           TIMESTAMP=$(date +'%Y-%m-%d') |           TIMESTAMP=$(date +'%Y-%m-%d') | ||||||
|   | |||||||
| @@ -21,7 +21,6 @@ | |||||||
|                                 <activeByDefault>true</activeByDefault> |                                 <activeByDefault>true</activeByDefault> | ||||||
|                         </activation> |                         </activation> | ||||||
|                         <modules> |                         <modules> | ||||||
|                                 <module>../wlan-cloud-root</module> |  | ||||||
|                                 <module>../wlan-cloud-base/base-build</module> |                                 <module>../wlan-cloud-base/base-build</module> | ||||||
|                                 <module>../wlan-cloud-services/cloud-services-build</module> |                                 <module>../wlan-cloud-services/cloud-services-build</module> | ||||||
|                                 <module>../wlan-cloud-opensync-controller/opensync-gateway-build</module> |                                 <module>../wlan-cloud-opensync-controller/opensync-gateway-build</module> | ||||||
|   | |||||||
| @@ -11,7 +11,7 @@ new_version=$1 | |||||||
| PREVIOUS_VERSION=$(grep "<version>" ../wlan-cloud-root/pom.xml |head -2|tail -1|cut -d '>' -f2|cut -d '<' -f 1) | PREVIOUS_VERSION=$(grep "<version>" ../wlan-cloud-root/pom.xml |head -2|tail -1|cut -d '>' -f2|cut -d '<' -f 1) | ||||||
| echo "Updating TIP pom.xml files from $PREVIOUS_VERSION to version $new_version " | echo "Updating TIP pom.xml files from $PREVIOUS_VERSION to version $new_version " | ||||||
|  |  | ||||||
| # update versions on TIP modules using special all-modules-release | # update versions on TIP modules using special all-modules-release   | ||||||
| mvn  --batch-mode release:update-versions -DdevelopmentVersion="$new_version" -DautoVersionSubmodules=true | mvn  --batch-mode release:update-versions -DdevelopmentVersion="$new_version" -DautoVersionSubmodules=true | ||||||
|  |  | ||||||
|  |  | ||||||
|   | |||||||
 Submodule wlan-cloud-opensync-controller updated: e173e02eae...af604289cc
									
								
							 Submodule wlan-cloud-services updated: 535df0041e...d35a7af319
									
								
							
		Reference in New Issue
	
	Block a user