From e29b5260fc09f8ba0ef8eb02fe4dc1c3b9340c3c Mon Sep 17 00:00:00 2001 From: Simon Fayer Date: Mon, 15 Jun 2026 12:30:44 +0100 Subject: [PATCH 1/3] fix: Increase artifact retention time a little --- .github/workflows/nightly.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 17b4b7ce..1605901f 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -47,4 +47,4 @@ jobs: with: name: Pilot_${{ matrix.branch }} path: tmp_dir - retention-days: 1 + retention-days: 3 From f6a86a9ed8a152d3592ff63f1a49b580076a2adf Mon Sep 17 00:00:00 2001 From: GEBELINE Paul Stanley Date: Fri, 11 Sep 2026 02:16:12 +0900 Subject: [PATCH 2/3] purge the site installEnv variables --- Pilot/pilotCommands.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Pilot/pilotCommands.py b/Pilot/pilotCommands.py index b6d9cef3..58ed659d 100644 --- a/Pilot/pilotCommands.py +++ b/Pilot/pilotCommands.py @@ -200,6 +200,7 @@ def _sourceEnvironmentFile(self): """Source the $DIRAC_RC_FILE and save the created environment in self.pp.installEnv""" retCode, output = self.executeAndGetOutput("bash -c 'source $DIRAC_RC_PATH && env'", self.pp.installEnv) + self.pp.installEnv = {} if retCode: self.log.error("Could not parse the %s file [ERROR %d]" % (self.pp.installEnv["DIRAC_RC_PATH"], retCode)) self.exitWithError(retCode) From 3bd965f869e35596f6a35d30f8f48e2ec9f90534 Mon Sep 17 00:00:00 2001 From: GEBELINE Paul Stanley Date: Wed, 16 Sep 2026 21:19:56 +0900 Subject: [PATCH 3/3] move installEnv cmd. derp --- Pilot/pilotCommands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Pilot/pilotCommands.py b/Pilot/pilotCommands.py index 58ed659d..e0ef9db4 100644 --- a/Pilot/pilotCommands.py +++ b/Pilot/pilotCommands.py @@ -200,10 +200,10 @@ def _sourceEnvironmentFile(self): """Source the $DIRAC_RC_FILE and save the created environment in self.pp.installEnv""" retCode, output = self.executeAndGetOutput("bash -c 'source $DIRAC_RC_PATH && env'", self.pp.installEnv) - self.pp.installEnv = {} if retCode: self.log.error("Could not parse the %s file [ERROR %d]" % (self.pp.installEnv["DIRAC_RC_PATH"], retCode)) self.exitWithError(retCode) + self.pp.installEnv = {} for line in output.split("\n"): try: var, value = [vx.strip() for vx in line.split("=", 1)]