Skip to content

Commit c5aa6c9

Browse files
Merge pull request #235 from InverterNetwork/dev
Promote dev to main: Atlas Quay-managed repo
2 parents 5c581f0 + b0d4dd8 commit c5aa6c9

2 files changed

Lines changed: 25 additions & 5 deletions

File tree

.github/workflows/installer-smoke.yml

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ jobs:
9292
# * iTry-contracts — quay-managed, base_branch: main
9393
# * quay — quay-managed, base_branch: dev
9494
# * hermes-agent — quay-managed, base_branch: main
95+
# * brix-prototypes — quay-managed, base_branch: main
96+
# * atlas — quay-managed, base_branch: dev
9597
# * code-only-fixture — code-only, base_branch: main; exercises
9698
# the "code mirror only" branch of the
9799
# repos[] loop.
@@ -115,6 +117,7 @@ jobs:
115117
QUAY_FIXTURE=/srv/hermes/repos/quay-fixtures/quay
116118
HERMES_AGENT_FIXTURE=/srv/hermes/repos/quay-fixtures/hermes-agent
117119
BRIX_PROTOTYPES_FIXTURE=/srv/hermes/repos/quay-fixtures/brix-prototypes
120+
ATLAS_FIXTURE=/srv/hermes/repos/quay-fixtures/atlas
118121
CODE_FIXTURE=/srv/hermes/repos/code-fixtures/code-only-fixture
119122
DEV_FIXTURE=/srv/hermes/repos/code-fixtures/non-default-branch-fixture
120123
git_in() { sudo git -C "$1" -c user.email=ci@example.com -c user.name=ci "${@:2}"; }
@@ -138,6 +141,7 @@ jobs:
138141
init_fixture "$QUAY_FIXTURE" "init fixture" dev
139142
init_fixture "$HERMES_AGENT_FIXTURE" "init fixture"
140143
init_fixture "$BRIX_PROTOTYPES_FIXTURE" "init fixture"
144+
init_fixture "$ATLAS_FIXTURE" "init fixture" dev
141145
init_fixture "$CODE_FIXTURE" "init fixture"
142146
# HEAD on main (so origin/HEAD points at main after clone), then
143147
# add a develop branch with a distinct commit, then return HEAD
@@ -158,7 +162,7 @@ jobs:
158162
# scalar intact (a column-0 line would terminate it); `sed`
159163
# strips the indent before Python sees it, so the script reads
160164
# as column-0 module-level code.
161-
sed 's/^ //' <<'PY' | sudo python3 - "$BRIX_LANDING_FIXTURE" "$ITRY_FRONTENDS_FIXTURE" "$ITRY_MONOREPO_FIXTURE" "$BRIX_FIXTURE" "$ERPC_FIXTURE" "$ITRY_CONTRACTS_FIXTURE" "$QUAY_FIXTURE" "$HERMES_AGENT_FIXTURE" "$BRIX_PROTOTYPES_FIXTURE" "$CODE_FIXTURE" "$DEV_FIXTURE"
165+
sed 's/^ //' <<'PY' | sudo python3 - "$BRIX_LANDING_FIXTURE" "$ITRY_FRONTENDS_FIXTURE" "$ITRY_MONOREPO_FIXTURE" "$BRIX_FIXTURE" "$ERPC_FIXTURE" "$ITRY_CONTRACTS_FIXTURE" "$QUAY_FIXTURE" "$HERMES_AGENT_FIXTURE" "$BRIX_PROTOTYPES_FIXTURE" "$ATLAS_FIXTURE" "$CODE_FIXTURE" "$DEV_FIXTURE"
162166
import sys, yaml
163167
(
164168
brix_landing_fixture,
@@ -170,9 +174,10 @@ jobs:
170174
quay_fixture,
171175
hermes_agent_fixture,
172176
brix_prototypes_fixture,
177+
atlas_fixture,
173178
code_fixture,
174179
dev_fixture,
175-
) = sys.argv[1:12]
180+
) = sys.argv[1:13]
176181
path = "/srv/hermes/repos/hermes-agent/deploy.values.yaml"
177182
with open(path) as f:
178183
data = yaml.safe_load(f)
@@ -186,6 +191,7 @@ jobs:
186191
"quay": quay_fixture,
187192
"hermes-agent": hermes_agent_fixture,
188193
"brix-prototypes": brix_prototypes_fixture,
194+
"atlas": atlas_fixture,
189195
}
190196
for entry in data.get("repos", []):
191197
if entry.get("id") in rewrite:
@@ -430,7 +436,8 @@ jobs:
430436
iTry-contracts:/srv/hermes/repos/quay-fixtures/iTry-contracts \
431437
quay:/srv/hermes/repos/quay-fixtures/quay \
432438
hermes-agent:/srv/hermes/repos/quay-fixtures/hermes-agent \
433-
brix-prototypes:/srv/hermes/repos/quay-fixtures/brix-prototypes; do
439+
brix-prototypes:/srv/hermes/repos/quay-fixtures/brix-prototypes \
440+
atlas:/srv/hermes/repos/quay-fixtures/atlas; do
434441
id="${spec%%:*}"
435442
fixture="${spec#*:}"
436443
[[ -d "$T/quay/repos/$id.git" ]] \
@@ -441,7 +448,7 @@ jobs:
441448
done
442449
registered=$(env QUAY_DATA_DIR="$T/quay" /usr/local/bin/quay repo list \
443450
| python3 -c "import json,sys;print(\"\\n\".join(r[\"repo_id\"] for r in json.load(sys.stdin)))")
444-
for id in brix-landing iTRY-frontends iTRY-monorepo brix-indexer erpc iTry-contracts quay hermes-agent; do
451+
for id in brix-landing iTRY-frontends iTRY-monorepo brix-indexer erpc iTry-contracts quay hermes-agent brix-prototypes atlas; do
445452
grep -Fxq "$id" <<< "$registered" \
446453
|| { echo "FAIL: $id not registered (got: $registered)"; exit 1; }
447454
done
@@ -453,7 +460,7 @@ jobs:
453460
'
454461
455462
- name: code mirror probes (every repos[] entry has one)
456-
# All repos[] entries (the eight quay-managed repos from values.yaml
463+
# All repos[] entries (the quay-managed repos from values.yaml
457464
# plus the two CI-only code-only fixtures) must produce a working-
458465
# tree clone at $T/code/<id>/, agent-owned, on origin/<base_branch>.
459466
# The mirror is what hermes-code-sync refreshes on its 5-min timer.
@@ -471,6 +478,8 @@ jobs:
471478
iTry-contracts:main \
472479
quay:dev \
473480
hermes-agent:main \
481+
brix-prototypes:main \
482+
atlas:dev \
474483
code-only-fixture:main \
475484
non-default-branch-fixture:develop; do
476485
id="${spec%:*}"
@@ -522,6 +531,8 @@ jobs:
522531
iTry-contracts:main \
523532
quay:dev \
524533
hermes-agent:main \
534+
brix-prototypes:main \
535+
atlas:dev \
525536
code-only-fixture:main \
526537
non-default-branch-fixture:develop; do
527538
id="${spec%:*}"

deploy.values.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -606,6 +606,15 @@ repos:
606606
quay:
607607
package_manager: bun
608608
install_cmd: "bun install"
609+
- id: atlas
610+
url: https://github.com/InverterNetwork/atlas
611+
base_branch: dev
612+
issue_tracker:
613+
linear:
614+
team: brix
615+
quay:
616+
package_manager: bun
617+
install_cmd: "bun install"
609618

610619
quay:
611620
# Pinned quay release tag (e.g. "v0.1.0"). Leave empty to skip quay

0 commit comments

Comments
 (0)