mirror of
				https://github.com/linuxserver/docker-heimdall.git
				synced 2025-10-31 13:07:39 +09:00 
			
		
		
		
	Bot Updating Templated Files
This commit is contained in:
		
							
								
								
									
										7
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										7
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							| @@ -97,7 +97,11 @@ pipeline { | |||||||
|           env.DOCKERHUB_LINK = 'https://hub.docker.com/r/' + env.DOCKERHUB_IMAGE + '/tags/' |           env.DOCKERHUB_LINK = 'https://hub.docker.com/r/' + env.DOCKERHUB_IMAGE + '/tags/' | ||||||
|           env.PULL_REQUEST = env.CHANGE_ID |           env.PULL_REQUEST = env.CHANGE_ID | ||||||
|           env.TEMPLATED_FILES = 'Jenkinsfile README.md LICENSE .editorconfig ./.github/CONTRIBUTING.md ./.github/FUNDING.yml ./.github/ISSUE_TEMPLATE/config.yml ./.github/ISSUE_TEMPLATE/issue.bug.yml ./.github/ISSUE_TEMPLATE/issue.feature.yml ./.github/PULL_REQUEST_TEMPLATE.md ./.github/workflows/external_trigger_scheduler.yml ./.github/workflows/greetings.yml ./.github/workflows/package_trigger_scheduler.yml ./.github/workflows/call_issue_pr_tracker.yml ./.github/workflows/call_issues_cron.yml ./.github/workflows/permissions.yml ./.github/workflows/external_trigger.yml' |           env.TEMPLATED_FILES = 'Jenkinsfile README.md LICENSE .editorconfig ./.github/CONTRIBUTING.md ./.github/FUNDING.yml ./.github/ISSUE_TEMPLATE/config.yml ./.github/ISSUE_TEMPLATE/issue.bug.yml ./.github/ISSUE_TEMPLATE/issue.feature.yml ./.github/PULL_REQUEST_TEMPLATE.md ./.github/workflows/external_trigger_scheduler.yml ./.github/workflows/greetings.yml ./.github/workflows/package_trigger_scheduler.yml ./.github/workflows/call_issue_pr_tracker.yml ./.github/workflows/call_issues_cron.yml ./.github/workflows/permissions.yml ./.github/workflows/external_trigger.yml' | ||||||
|  |           if ( env.SYFT_IMAGE_TAG == null ) { | ||||||
|  |             env.SYFT_IMAGE_TAG = 'latest' | ||||||
|  |           } | ||||||
|         } |         } | ||||||
|  |         echo "Using syft image tag ${SYFT_IMAGE_TAG}" | ||||||
|         sh '''#! /bin/bash |         sh '''#! /bin/bash | ||||||
|               echo "The default github branch detected as ${GH_DEFAULT_BRANCH}" ''' |               echo "The default github branch detected as ${GH_DEFAULT_BRANCH}" ''' | ||||||
|         script{ |         script{ | ||||||
| @@ -790,7 +794,7 @@ pipeline { | |||||||
|               docker run --rm \ |               docker run --rm \ | ||||||
|                 -v /var/run/docker.sock:/var/run/docker.sock:ro \ |                 -v /var/run/docker.sock:/var/run/docker.sock:ro \ | ||||||
|                 -v ${TEMPDIR}:/tmp \ |                 -v ${TEMPDIR}:/tmp \ | ||||||
|                 ghcr.io/anchore/syft:v1.26.1 \ |                 ghcr.io/anchore/syft:${SYFT_IMAGE_TAG} \ | ||||||
|                 ${LOCAL_CONTAINER} -o table=/tmp/package_versions.txt |                 ${LOCAL_CONTAINER} -o table=/tmp/package_versions.txt | ||||||
|               NEW_PACKAGE_TAG=$(md5sum ${TEMPDIR}/package_versions.txt | cut -c1-8 ) |               NEW_PACKAGE_TAG=$(md5sum ${TEMPDIR}/package_versions.txt | cut -c1-8 ) | ||||||
|               echo "Package tag sha from current packages in buit container is ${NEW_PACKAGE_TAG} comparing to old ${PACKAGE_TAG} from github" |               echo "Package tag sha from current packages in buit container is ${NEW_PACKAGE_TAG} comparing to old ${PACKAGE_TAG} from github" | ||||||
| @@ -900,6 +904,7 @@ pipeline { | |||||||
|                 -e WEB_AUTH=\"${CI_AUTH}\" \ |                 -e WEB_AUTH=\"${CI_AUTH}\" \ | ||||||
|                 -e WEB_PATH=\"${CI_WEBPATH}\" \ |                 -e WEB_PATH=\"${CI_WEBPATH}\" \ | ||||||
|                 -e NODE_NAME=\"${NODE_NAME}\" \ |                 -e NODE_NAME=\"${NODE_NAME}\" \ | ||||||
|  |                 -e SYFT_IMAGE_TAG=\"${CI_SYFT_IMAGE_TAG:-${SYFT_IMAGE_TAG}}\" \ | ||||||
|                 -t ghcr.io/linuxserver/ci:latest \ |                 -t ghcr.io/linuxserver/ci:latest \ | ||||||
|                 python3 test_build.py''' |                 python3 test_build.py''' | ||||||
|         } |         } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user