Skip to content

Commit 3751761

Browse files
authored
Merge pull request #392 from co-cddo/chore/ci-lease-lambda-timeout
fix(ci-lease): use dedicated ci-bot ISB user
2 parents fffec9c + 6681b93 commit 3751761

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

.github/workflows/isb-lease-janitor.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,11 @@ permissions:
2727
issues: write
2828

2929
env:
30-
# Must match the ci_lease_email default in scenario-ci.yml — janitor looks
31-
# up leases owned by this email. Future: replace with a dedicated CI user
32-
# created via `isb create-user --firstname=CI --lastname=Bot --email=...`.
33-
CI_LEASE_EMAIL: chris@cns.me.uk
30+
# Must match the ci_lease_email default in scenario-ci.yml — janitor
31+
# looks up leases owned by this email. Dedicated CI user, created via
32+
# `isb create-user --firstname=NDX --lastname=CI-Bot
33+
# --email=ci-bot@ndx-try.local --preapproved`.
34+
CI_LEASE_EMAIL: ci-bot@ndx-try.local
3435
# 3h: scenario-ci.yml's job timeout is 90m. 3h buffer keeps the janitor
3536
# from racing an in-flight workflow's own release.
3637
DEFAULT_OLDER_THAN: '180'

.github/workflows/scenario-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ on:
2727
type: string
2828
default: empty-sandbox
2929
ci_lease_email:
30-
description: Email associated with the lease. Must be an existing ISB user (ISB API returns 500 if user not found). Default uses an existing operator; for long-term, create a dedicated CI user via `isb create-user`.
30+
description: Email associated with the lease. Must be an existing ISB user (ISB API returns 500 if user not found). Created via `isb create-user --firstname=NDX --lastname=CI-Bot --email=ci-bot@ndx-try.local --preapproved`.
3131
required: false
3232
type: string
33-
default: chris@cns.me.uk
33+
default: ci-bot@ndx-try.local
3434

3535
permissions:
3636
id-token: write

0 commit comments

Comments
 (0)