Skip to content

Commit 245ca73

Browse files
testing
rm arg list revert testing testing done testing reset space removed extra files removing all .txt extra files testing fixed text file deletion
1 parent 875d587 commit 245ca73

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

DMOps/file_invalidation_server/controllers/job.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ spec:
5555
- name: invalidation-tool
5656
image: registry.cern.ch/cmsrucio/file_invalidation_tool:latest
5757
imagePullPolicy: Always
58-
args: ["global","--reason", "$(REASON)", "--rucio-mode", "--dry-run"]
59-
#command: ["sleep","infinity"]
58+
#args: ["global","--reason", "$(REASON)", "--rucio-mode", "--dry-run"]
59+
command: ["sleep","infinity"]
6060
volumeMounts:
6161
- name: input-file
6262
mountPath: "/input/"

DMOps/file_invalidation_server/fi_manager/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def create_job_from_yaml(filename,reason,filepath,job_id,dry_run,mode,rse,global
7474

7575

7676
job_definition['metadata']['name'] = f"file-invalidation-job-{job_id}"
77-
77+
7878
if mode == 'global':
7979
arg_list = ["global","--reason", "$(REASON)", "--rucio-mode"]
8080
elif mode == 'local':
@@ -86,7 +86,7 @@ def create_job_from_yaml(filename,reason,filepath,job_id,dry_run,mode,rse,global
8686
if global_invalidate_last_replicas:
8787
arg_list.append("--global-invalidate-last-replicas")
8888

89-
job_definition['spec']['template']['spec']['containers'][0]['args'] = arg_list
89+
#job_definition['spec']['template']['spec']['containers'][0]['args'] = arg_list
9090

9191
for container in job_definition['spec']['template']['spec']['containers']:
9292
for env in container['env']:

0 commit comments

Comments
 (0)