Skip to content

Commit a5059ea

Browse files
committed
(site/ls/cluster/auxtel-ccs) add s3nd
1 parent 8210d55 commit a5059ea

File tree

3 files changed

+36
-0
lines changed

3 files changed

+36
-0
lines changed

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,18 @@ s3daemon::instances:
2525
env:
2626
S3_ENDPOINT_URL: "https://s3.ls.lsst.org"
2727
S3DAEMON_PORT: 15570
28+
ls-latiss-s3nd:
29+
image: "%{alias('s3nd_default_image')}"
30+
env:
31+
S3ND_ENDPOINT_URL: "https://s3.ls.lsst.org"
32+
S3ND_PORT: 15571
2833
s3dfrgw-latiss:
2934
image: "%{alias('s3daemon_default_image')}"
3035
env:
3136
S3_ENDPOINT_URL: "https://s3dfrgw.slac.stanford.edu"
3237
S3DAEMON_PORT: 15580
38+
s3dfrgw-latiss-s3nd:
39+
image: "%{alias('s3nd_default_image')}"
40+
env:
41+
S3ND_ENDPOINT_URL: "https://s3dfrgw.slac.stanford.edu"
42+
S3ND_PORT: 15581

spec/fixtures/hieradata/site/ls/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
ls-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+
ls-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.ls.lsst.org_spec.rb

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,16 @@
3939
)
4040
end
4141

42+
it do
43+
is_expected.to contain_s3daemon__instance('ls-latiss-s3nd').with(
44+
image: 'ghcr.io/lsst-dm/s3nd:sha-1a94702',
45+
env: {
46+
'S3ND_ENDPOINT_URL' => 'https://s3.ls.lsst.org',
47+
'S3ND_PORT' => 15_571,
48+
}
49+
)
50+
end
51+
4252
it do
4353
is_expected.to contain_s3daemon__instance('s3dfrgw-latiss').with(
4454
image: 'ghcr.io/lsst-dm/s3daemon:sha-57e1aa9',
@@ -49,6 +59,16 @@
4959
)
5060
end
5161

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

0 commit comments

Comments
 (0)