ci: preserve prior builds during promotion
Foundation / checks (client) (push) Successful in 13s
Foundation / checks (deploy) (push) Successful in 10s
Foundation / checks (checks) (push) Successful in 18s
Foundation / checks (ecs) (push) Successful in 11s
Foundation / checks (network) (push) Successful in 12s
Foundation / checks (postgres) (push) Successful in 1m14s
Foundation / checks (tsan) (push) Successful in 5m44s
Foundation / postgres-tools (push) Successful in 18s
Foundation / server-image (push) Successful in 19s
Foundation / image (push) Successful in 10s
Foundation / checks (client) (push) Successful in 13s
Foundation / checks (deploy) (push) Successful in 10s
Foundation / checks (checks) (push) Successful in 18s
Foundation / checks (ecs) (push) Successful in 11s
Foundation / checks (network) (push) Successful in 12s
Foundation / checks (postgres) (push) Successful in 1m14s
Foundation / checks (tsan) (push) Successful in 5m44s
Foundation / postgres-tools (push) Successful in 18s
Foundation / server-image (push) Successful in 19s
Foundation / image (push) Successful in 10s
This commit is contained in:
@@ -62,13 +62,6 @@ jobs:
|
||||
text, count = re.subn(r'(?m)(name: REGION_BUILD, value: )[0-9a-f]{64}', rf'\g<1>{build}', text)
|
||||
if count != 2:
|
||||
raise SystemExit(f'{name}: expected two REGION_BUILD values, found {count}')
|
||||
text, count = re.subn(
|
||||
r'(name: REGION_RETAINED, value: ")([0-9a-f ]+)(")',
|
||||
lambda m: m.group(1) + ' '.join([build] + [v for v in m.group(2).split() if v != build]) + m.group(3),
|
||||
text,
|
||||
)
|
||||
if count != 1:
|
||||
raise SystemExit(f'{name}: expected one REGION_RETAINED value, found {count}')
|
||||
open(name, 'w', encoding='utf-8').write(text)
|
||||
print(f'Promoting dev to {digest}')
|
||||
PY
|
||||
|
||||
Reference in New Issue
Block a user