mirror of
				https://github.com/ClusterCockpit/cc-metric-collector.git
				synced 2025-11-04 02:35:07 +01:00 
			
		
		
		
	Update GitHub actions
This commit is contained in:
		
							
								
								
									
										23
									
								
								.github/ci-config.json
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										23
									
								
								.github/ci-config.json
									
									
									
									
										vendored
									
									
								
							@@ -21,7 +21,10 @@
 | 
			
		||||
    "topprocs",
 | 
			
		||||
    "nvidia",
 | 
			
		||||
    "diskstat",
 | 
			
		||||
    "ipmistat"
 | 
			
		||||
    "ipmistat",
 | 
			
		||||
    "gpfs",
 | 
			
		||||
    "cpufreq",
 | 
			
		||||
    "cpufreq_cpuinfo"
 | 
			
		||||
  ],
 | 
			
		||||
  "default_tags": {
 | 
			
		||||
    "cluster": "testcluster"
 | 
			
		||||
@@ -30,20 +33,20 @@
 | 
			
		||||
    "type": "none"
 | 
			
		||||
  },
 | 
			
		||||
  "collect_config": {
 | 
			
		||||
    "topprocs" : {
 | 
			
		||||
    "topprocs": {
 | 
			
		||||
      "num_procs": 2
 | 
			
		||||
    },  
 | 
			
		||||
    },
 | 
			
		||||
    "tempstat": {
 | 
			
		||||
      "tag_override": {
 | 
			
		||||
        "hwmon0" : {
 | 
			
		||||
            "type" : "socket",
 | 
			
		||||
            "type-id" : "0"
 | 
			
		||||
        "hwmon0": {
 | 
			
		||||
          "type": "socket",
 | 
			
		||||
          "type-id": "0"
 | 
			
		||||
        },
 | 
			
		||||
        "hwmon1" : {
 | 
			
		||||
            "type" : "socket",
 | 
			
		||||
            "type-id" : "1"
 | 
			
		||||
        "hwmon1": {
 | 
			
		||||
          "type": "socket",
 | 
			
		||||
          "type-id": "1"
 | 
			
		||||
        }
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										5
									
								
								.github/workflows/runonce.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								.github/workflows/runonce.yml
									
									
									
									
										vendored
									
									
								
							@@ -7,8 +7,11 @@ jobs:
 | 
			
		||||
    steps:
 | 
			
		||||
    - uses: actions/checkout@v2
 | 
			
		||||
 | 
			
		||||
    # See: https://github.com/marketplace/actions/setup-go-environment
 | 
			
		||||
    - name: Setup Golang
 | 
			
		||||
      uses: actions/setup-go@v2.1.4
 | 
			
		||||
      uses: actions/setup-go@v2.1.5
 | 
			
		||||
      with:
 | 
			
		||||
        go-version: '^1.17.6'
 | 
			
		||||
 | 
			
		||||
    - name: Build MetricCollector
 | 
			
		||||
      run: make
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user