Skip to content

Commit

Permalink
removes unused service agreement label in argo template
Browse files Browse the repository at this point in the history
  • Loading branch information
josepablofm78 committed Jan 18, 2023
1 parent e2125a4 commit 731f52c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ spec:
entrypoint:
workflowMetadata:
labels:
# to be set by the compute api
serviceAgreementId:
arguments:
parameters:
- name: volume
Expand Down
2 changes: 0 additions & 2 deletions argo-workflows-templates/nvm-compute-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ spec:
entrypoint:
workflowMetadata:
labels:
# to be set by the compute api
serviceAgreementId:
arguments:
parameters:
- name: volume
Expand Down
3 changes: 0 additions & 3 deletions src/compute/compute.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ export class ComputeService {

async createArgoWorkflow(initData: ExecuteWorkflowDto, agreementId: string): Promise<any> {
const gethLocal = (await this.getNetworkName()) === 'geth-localnet'

const workflow = this.readWorkflowTemplate(gethLocal)

Logger.debug(`Resolving workflow DDO ${initData.workflowDid}`)
Expand All @@ -120,8 +119,6 @@ export class ComputeService {

workflow.metadata.namespace = this.configService.computeConfig().argo_namespace
workflow.spec.arguments.parameters = await this.createArguments(ddo, initData.consumer)
workflow.spec.workflowMetadata.labels.serviceAgreement = agreementId

workflow.spec.entrypoint = 'compute-workflow'

Logger.debug(
Expand Down

0 comments on commit 731f52c

Please sign in to comment.