Skip to content

Commit

Permalink
Skipping setting RUCIO_ACCOUNT for payload
Browse files Browse the repository at this point in the history
  • Loading branch information
PalNilsson committed Aug 27, 2024
1 parent 4901f16 commit fb3e28d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion PILOTVERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.8.1.56
3.8.1.57
7 changes: 1 addition & 6 deletions pilot/user/atlas/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -486,12 +486,7 @@ def get_payload_environment_variables(cmd: str, job_id: str, task_id: str, attem
logger.warning("RUCIO_APPID needs job.processingType but it is not set!")
else:
variables.append(f'export RUCIO_APPID=\'{processing_type}\';')
variables.append(f"export RUCIO_ACCOUNT='{os.environ.get('RUCIO_ACCOUNT', 'pilot')}';")
#if analysis_job:
# variables.append(f"export RUCIO_ACCOUNT=atlpilo2;")
# logger.warning(f"enforcing RUCIO_ACCOUNT=atlpilo2 in payload")
#else:
# variables.append(f"export RUCIO_ACCOUNT='{os.environ.get('RUCIO_ACCOUNT', 'pilot')}';")
# variables.append(f"export RUCIO_ACCOUNT='{os.environ.get('RUCIO_ACCOUNT', 'pilot')}';")

return variables

Expand Down
2 changes: 1 addition & 1 deletion pilot/util/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
RELEASE = '3' # released number should be fixed at 3 for Pilot 3
VERSION = '8' # version number is '1' for first release, '0' until then, increased for bigger updates
REVISION = '1' # revision number should be reset to '0' for every new version release, increased for small updates
BUILD = '56' # build number should be reset to '1' for every new development cycle
BUILD = '57' # build number should be reset to '1' for every new development cycle

SUCCESS = 0
FAILURE = 1
Expand Down

0 comments on commit fb3e28d

Please sign in to comment.