mirror of
				https://github.com/linuxserver/docker-transmission.git
				synced 2025-11-03 18:25:46 +01: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.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'
 | 
			
		||||
          if ( env.SYFT_IMAGE_TAG == null ) {
 | 
			
		||||
            env.SYFT_IMAGE_TAG = 'latest'
 | 
			
		||||
          }
 | 
			
		||||
        }
 | 
			
		||||
        echo "Using syft image tag ${SYFT_IMAGE_TAG}"
 | 
			
		||||
        sh '''#! /bin/bash
 | 
			
		||||
              echo "The default github branch detected as ${GH_DEFAULT_BRANCH}" '''
 | 
			
		||||
        script{
 | 
			
		||||
@@ -784,7 +788,7 @@ pipeline {
 | 
			
		||||
              docker run --rm \
 | 
			
		||||
                -v /var/run/docker.sock:/var/run/docker.sock:ro \
 | 
			
		||||
                -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
 | 
			
		||||
              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"
 | 
			
		||||
@@ -894,6 +898,7 @@ pipeline {
 | 
			
		||||
                -e WEB_AUTH=\"${CI_AUTH}\" \
 | 
			
		||||
                -e WEB_PATH=\"${CI_WEBPATH}\" \
 | 
			
		||||
                -e NODE_NAME=\"${NODE_NAME}\" \
 | 
			
		||||
                -e SYFT_IMAGE_TAG=\"${CI_SYFT_IMAGE_TAG:-${SYFT_IMAGE_TAG}}\" \
 | 
			
		||||
                -t ghcr.io/linuxserver/ci:latest \
 | 
			
		||||
                python3 test_build.py'''
 | 
			
		||||
        }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user