mirror of
				https://github.com/ClusterCockpit/cc-metric-collector.git
				synced 2025-11-04 10:45:06 +01:00 
			
		
		
		
	Install go-toolkit to fulfill build requirements for RPM
This commit is contained in:
		
				
					committed by
					
						
						Thomas Gruber
					
				
			
			
				
	
			
			
			
						parent
						
							d00b14f3e8
						
					
				
				
					commit
					482ae046cb
				
			
							
								
								
									
										28
									
								
								.github/workflows/runonce.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										28
									
								
								.github/workflows/runonce.yml
									
									
									
									
										vendored
									
									
								
							@@ -120,7 +120,12 @@ jobs:
 | 
			
		||||
    #   with:
 | 
			
		||||
    #     go-version: 'stable'
 | 
			
		||||
    - name: Setup Golang
 | 
			
		||||
      run: dnf --assumeyes --disableplugin=subscription-manager install go-toolkit
 | 
			
		||||
      run: |
 | 
			
		||||
          dnf --assumeyes --disableplugin=subscription-manager install \
 | 
			
		||||
              https://repo.almalinux.org/almalinux/8/AppStream/x86_64/os/Packages/go-toolset-1.22.9-1.module_el8.10.0+3938+8c723e16.x86_64.rpm \
 | 
			
		||||
              https://repo.almalinux.org/almalinux/8/AppStream/x86_64/os/Packages/golang-1.22.9-1.module_el8.10.0+3938+8c723e16.x86_64.rpm \
 | 
			
		||||
              https://repo.almalinux.org/almalinux/8/AppStream/x86_64/os/Packages/golang-bin-1.22.9-1.module_el8.10.0+3938+8c723e16.x86_64.rpm \
 | 
			
		||||
              https://repo.almalinux.org/almalinux/8/AppStream/x86_64/os/Packages/golang-src-1.22.9-1.module_el8.10.0+3938+8c723e16.noarch.rpm
 | 
			
		||||
 | 
			
		||||
    - name: RPM build MetricCollector
 | 
			
		||||
      id: rpmbuild
 | 
			
		||||
@@ -160,7 +165,12 @@ jobs:
 | 
			
		||||
    #   with:
 | 
			
		||||
    #     go-version: 'stable'
 | 
			
		||||
    - name: Setup Golang
 | 
			
		||||
      run: dnf --assumeyes --disableplugin=subscription-manager install go-toolkit
 | 
			
		||||
      run: |
 | 
			
		||||
          dnf --assumeyes --disableplugin=subscription-manager install \
 | 
			
		||||
              https://repo.almalinux.org/almalinux/9/AppStream/x86_64/os/Packages/go-toolset-1.22.7-2.el9_5.x86_64.rpm \
 | 
			
		||||
              https://repo.almalinux.org/almalinux/9/AppStream/x86_64/os/Packages/golang-1.22.7-2.el9_5.x86_64.rpm \
 | 
			
		||||
              https://repo.almalinux.org/almalinux/9/AppStream/x86_64/os/Packages/golang-bin-1.22.7-2.el9_5.x86_64.rpm \
 | 
			
		||||
              https://repo.almalinux.org/almalinux/9/AppStream/x86_64/os/Packages/golang-src-1.22.7-2.el9_5.noarch.rpm
 | 
			
		||||
 | 
			
		||||
    - name: RPM build MetricCollector
 | 
			
		||||
      id: rpmbuild
 | 
			
		||||
@@ -198,7 +208,12 @@ jobs:
 | 
			
		||||
    #   with:
 | 
			
		||||
    #     go-version: 'stable'
 | 
			
		||||
    - name: Setup Golang
 | 
			
		||||
      run: dnf --assumeyes --disableplugin=subscription-manager install go-toolkit
 | 
			
		||||
      run: |
 | 
			
		||||
          dnf --assumeyes --disableplugin=subscription-manager install \
 | 
			
		||||
              https://repo.almalinux.org/almalinux/8/AppStream/x86_64/os/Packages/go-toolset-1.22.9-1.module_el8.10.0+3938+8c723e16.x86_64.rpm \
 | 
			
		||||
              https://repo.almalinux.org/almalinux/8/AppStream/x86_64/os/Packages/golang-1.22.9-1.module_el8.10.0+3938+8c723e16.x86_64.rpm \
 | 
			
		||||
              https://repo.almalinux.org/almalinux/8/AppStream/x86_64/os/Packages/golang-bin-1.22.9-1.module_el8.10.0+3938+8c723e16.x86_64.rpm \
 | 
			
		||||
              https://repo.almalinux.org/almalinux/8/AppStream/x86_64/os/Packages/golang-src-1.22.9-1.module_el8.10.0+3938+8c723e16.noarch.rpm
 | 
			
		||||
 | 
			
		||||
    - name: RPM build MetricCollector
 | 
			
		||||
      id: rpmbuild
 | 
			
		||||
@@ -235,7 +250,12 @@ jobs:
 | 
			
		||||
    #   with:
 | 
			
		||||
    #     go-version: 'stable'
 | 
			
		||||
    - name: Setup Golang
 | 
			
		||||
      run: dnf --assumeyes --disableplugin=subscription-manager install go-toolkit
 | 
			
		||||
      run: |
 | 
			
		||||
          dnf --assumeyes --disableplugin=subscription-manager install \
 | 
			
		||||
              https://repo.almalinux.org/almalinux/9/AppStream/x86_64/os/Packages/go-toolset-1.22.7-2.el9_5.x86_64.rpm \
 | 
			
		||||
              https://repo.almalinux.org/almalinux/9/AppStream/x86_64/os/Packages/golang-1.22.7-2.el9_5.x86_64.rpm \
 | 
			
		||||
              https://repo.almalinux.org/almalinux/9/AppStream/x86_64/os/Packages/golang-bin-1.22.7-2.el9_5.x86_64.rpm \
 | 
			
		||||
              https://repo.almalinux.org/almalinux/9/AppStream/x86_64/os/Packages/golang-src-1.22.7-2.el9_5.noarch.rpm
 | 
			
		||||
 | 
			
		||||
    - name: RPM build MetricCollector
 | 
			
		||||
      id: rpmbuild
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user