Skip to content

Commit e6c8168

Browse files
committed
(site/tu/cluster/auxtel-ccs) add s3nd
1 parent 9955799 commit e6c8168

File tree

4 files changed

+39
-0
lines changed

4 files changed

+39
-0
lines changed

hieradata/common.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -575,6 +575,9 @@ restic::enable_backup: true
575575
restic::host: "s3.us-east-1.amazonaws.com"
576576

577577
s3daemon_default_image: "ghcr.io/lsst-dm/s3daemon:sha-57e1aa9"
578+
s3nd_default_image: "ghcr.io/lsst-dm/s3nd:sha-1a94702"
579+
s3daemon::env:
580+
AWS_REGION: "lfa"
578581

579582
pi::config::reboot: false # XXX this should be removed when pi role/profile refactoring is complete
580583
pi::cmdline::reboot: false # XXX this should be removed when pi role/profile refactoring is complete

hieradata/site/tu/cluster/auxtel-ccs.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,18 @@ s3daemon::instances:
1919
env:
2020
S3_ENDPOINT_URL: "https://s3.tu.lsst.org"
2121
S3DAEMON_PORT: 15570
22+
tu-latiss-s3nd:
23+
image: "%{alias('s3nd_default_image')}"
24+
env:
25+
S3ND_ENDPOINT_URL: "https://s3.tu.lsst.org"
26+
S3ND_PORT: 15571
2227
s3dfrgw-latiss:
2328
image: "%{alias('s3daemon_default_image')}"
2429
env:
2530
S3_ENDPOINT_URL: "https://s3dfrgw.slac.stanford.edu"
2631
S3DAEMON_PORT: 15580
32+
s3dfrgw-latiss-s3nd:
33+
image: "%{alias('s3nd_default_image')}"
34+
env:
35+
S3ND_ENDPOINT_URL: "https://s3dfrgw.slac.stanford.edu"
36+
S3ND_PORT: 15581

spec/fixtures/hieradata/site/tu/cluster/auxtel-ccs.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ s3daemon::instances:
33
tu-latiss:
44
aws_access_key_id: "%{alias('s3daemon_test::aws_access_key_id')}"
55
aws_secret_access_key: "%{alias('s3daemon_test::aws_secret_access_key')}"
6+
tu-latiss-s3nd:
7+
aws_access_key_id: "%{alias('s3daemon_test::aws_access_key_id')}"
8+
aws_secret_access_key: "%{alias('s3daemon_test::aws_secret_access_key')}"
69
s3dfrgw-latiss:
710
aws_access_key_id: "%{alias('s3daemon_test::aws_access_key_id')}"
811
aws_secret_access_key: "%{alias('s3daemon_test::aws_secret_access_key')}"
12+
s3dfrgw-latiss-s3nd:
13+
aws_access_key_id: "%{alias('s3daemon_test::aws_access_key_id')}"
14+
aws_secret_access_key: "%{alias('s3daemon_test::aws_secret_access_key')}"

spec/hosts/nodes/auxtel-dc01.tu.lsst.org_spec.rb

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,16 @@
3737
)
3838
end
3939

40+
it do
41+
is_expected.to contain_s3daemon__instance('tu-latiss-s3nd').with(
42+
image: 'ghcr.io/lsst-dm/s3nd:sha-1a94702',
43+
env: {
44+
'S3ND_ENDPOINT_URL' => 'https://s3.tu.lsst.org',
45+
'S3ND_PORT' => 15_571,
46+
}
47+
)
48+
end
49+
4050
it do
4151
is_expected.to contain_s3daemon__instance('s3dfrgw-latiss').with(
4252
image: 'ghcr.io/lsst-dm/s3daemon:sha-57e1aa9',
@@ -47,6 +57,16 @@
4757
)
4858
end
4959

60+
it do
61+
is_expected.to contain_s3daemon__instance('s3dfrgw-latiss-s3nd').with(
62+
image: 'ghcr.io/lsst-dm/s3nd:sha-1a94702',
63+
env: {
64+
'S3ND_ENDPOINT_URL' => 'https://s3dfrgw.slac.stanford.edu',
65+
'S3ND_PORT' => 15_581,
66+
}
67+
)
68+
end
69+
5070
include_examples 'baremetal'
5171
include_context 'with nm interface'
5272
it { is_expected.to have_nm__connection_resource_count(3) }

0 commit comments

Comments
 (0)