Skip to content

Commit 9c7b6f3

Browse files
author
sonic
committed
update version to v1.1.2
1 parent 9d09690 commit 9c7b6f3

File tree

4 files changed

+12
-8
lines changed

4 files changed

+12
-8
lines changed

build/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ var CurrentCommit string
1010

1111
var NetWorkTag string
1212

13-
const BuildVersion = "1.1.1"
13+
const BuildVersion = "1.1.2"
1414

1515
const UBITaskImageIntelCpu = "filswan/ubi-worker-cpu-intel:latest"
1616
const UBITaskImageIntelGpu = "filswan/ubi-worker-gpu-intel:latest"

internal/computing/space_service.go

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1162,12 +1162,14 @@ func doMiningTaskForK8s(c *gin.Context, zkTask models.ZkTaskReq, taskEntity *mod
11621162

11631163
job := &batchv1.Job{
11641164
ObjectMeta: metaV1.ObjectMeta{
1165-
Name: JobName,
1166-
Namespace: namespace,
1167-
Annotations: generateGpuAnnotation(prepareGpu),
1165+
Name: JobName,
1166+
Namespace: namespace,
11681167
},
11691168
Spec: batchv1.JobSpec{
11701169
Template: v1.PodTemplateSpec{
1170+
ObjectMeta: metaV1.ObjectMeta{
1171+
Annotations: generateGpuAnnotation(prepareGpu),
1172+
},
11711173
Spec: v1.PodSpec{
11721174
NodeName: nodeName,
11731175
NodeSelector: map[string]string{

internal/computing/ubi_service.go

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -426,12 +426,14 @@ func doFilC2TaskForK8s(c *gin.Context, zkTask models.ZkTaskReq, taskEntity *mode
426426

427427
job := &batchv1.Job{
428428
ObjectMeta: metaV1.ObjectMeta{
429-
Name: JobName,
430-
Namespace: namespace,
431-
Annotations: generateGpuAnnotation(prepareGpu),
429+
Name: JobName,
430+
Namespace: namespace,
432431
},
433432
Spec: batchv1.JobSpec{
434433
Template: v1.PodTemplateSpec{
434+
ObjectMeta: metaV1.ObjectMeta{
435+
Annotations: generateGpuAnnotation(prepareGpu),
436+
},
435437
Spec: v1.PodSpec{
436438
NodeName: nodeName,
437439
NodeSelector: nodeSelector,

ubi/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ curl -fsSL https://raw.githubusercontent.com/swanchain/go-computing-provider/rel
2929
## Install ECP and Init CP Account
3030
- Download `computing-provider`
3131
```bash
32-
wget https://github.com/swanchain/go-computing-provider/releases/download/v1.1.1/computing-provider
32+
wget https://github.com/swanchain/go-computing-provider/releases/download/v1.1.2/computing-provider
3333
```
3434

3535
- Initialize ECP repo

0 commit comments

Comments
 (0)