mirror of
				https://github.com/ClusterCockpit/cc-metric-collector.git
				synced 2025-11-04 10:45:06 +01:00 
			
		
		
		
	use go-toolkit for RPM builds
This commit is contained in:
		
				
					committed by
					
						
						Thomas Gruber
					
				
			
			
				
	
			
			
			
						parent
						
							4fd8c87157
						
					
				
				
					commit
					d00b14f3e8
				
			
							
								
								
									
										32
									
								
								.github/workflows/runonce.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										32
									
								
								.github/workflows/runonce.yml
									
									
									
									
										vendored
									
									
								
							@@ -115,10 +115,12 @@ jobs:
 | 
			
		||||
        fetch-depth: 0
 | 
			
		||||
 | 
			
		||||
    # See: https://github.com/marketplace/actions/setup-go-environment
 | 
			
		||||
    # - name: Setup Golang
 | 
			
		||||
    #   uses: actions/setup-go@v5
 | 
			
		||||
    #   with:
 | 
			
		||||
    #     go-version: 'stable'
 | 
			
		||||
    - name: Setup Golang
 | 
			
		||||
      uses: actions/setup-go@v5
 | 
			
		||||
      with:
 | 
			
		||||
        go-version: 'stable'
 | 
			
		||||
      run: dnf --assumeyes --disableplugin=subscription-manager install go-toolkit
 | 
			
		||||
 | 
			
		||||
    - name: RPM build MetricCollector
 | 
			
		||||
      id: rpmbuild
 | 
			
		||||
@@ -153,10 +155,12 @@ jobs:
 | 
			
		||||
        fetch-depth: 0
 | 
			
		||||
 | 
			
		||||
    # See: https://github.com/marketplace/actions/setup-go-environment
 | 
			
		||||
    # - name: Setup Golang
 | 
			
		||||
    #   uses: actions/setup-go@v5
 | 
			
		||||
    #   with:
 | 
			
		||||
    #     go-version: 'stable'
 | 
			
		||||
    - name: Setup Golang
 | 
			
		||||
      uses: actions/setup-go@v5
 | 
			
		||||
      with:
 | 
			
		||||
        go-version: 'stable'
 | 
			
		||||
      run: dnf --assumeyes --disableplugin=subscription-manager install go-toolkit
 | 
			
		||||
 | 
			
		||||
    - name: RPM build MetricCollector
 | 
			
		||||
      id: rpmbuild
 | 
			
		||||
@@ -189,10 +193,12 @@ jobs:
 | 
			
		||||
        fetch-depth: 0
 | 
			
		||||
 | 
			
		||||
    # See: https://github.com/marketplace/actions/setup-go-environment
 | 
			
		||||
    # - name: Setup Golang
 | 
			
		||||
    #   uses: actions/setup-go@v5
 | 
			
		||||
    #   with:
 | 
			
		||||
    #     go-version: 'stable'
 | 
			
		||||
    - name: Setup Golang
 | 
			
		||||
      uses: actions/setup-go@v5
 | 
			
		||||
      with:
 | 
			
		||||
        go-version: 'stable'
 | 
			
		||||
      run: dnf --assumeyes --disableplugin=subscription-manager install go-toolkit
 | 
			
		||||
 | 
			
		||||
    - name: RPM build MetricCollector
 | 
			
		||||
      id: rpmbuild
 | 
			
		||||
@@ -224,10 +230,12 @@ jobs:
 | 
			
		||||
        fetch-depth: 0
 | 
			
		||||
 | 
			
		||||
    # See: https://github.com/marketplace/actions/setup-go-environment
 | 
			
		||||
    # - name: Setup Golang
 | 
			
		||||
    #   uses: actions/setup-go@v5
 | 
			
		||||
    #   with:
 | 
			
		||||
    #     go-version: 'stable'
 | 
			
		||||
    - name: Setup Golang
 | 
			
		||||
      uses: actions/setup-go@v5
 | 
			
		||||
      with:
 | 
			
		||||
        go-version: 'stable'
 | 
			
		||||
      run: dnf --assumeyes --disableplugin=subscription-manager install go-toolkit
 | 
			
		||||
 | 
			
		||||
    - name: RPM build MetricCollector
 | 
			
		||||
      id: rpmbuild
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user