From 03ca2535b063846c2f5d1d7cec8e5eeab6fcd5c2 Mon Sep 17 00:00:00 2001 From: Joshua Hoblitt Date: Fri, 13 Sep 2024 17:36:33 -0700 Subject: [PATCH 1/4] release 1.0.0 --- metadata.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metadata.json b/metadata.json index c7c15ff..594163e 100644 --- a/metadata.json +++ b/metadata.json @@ -1,6 +1,6 @@ { "name": "lsst-s3daemon", - "version": "1.0.0-rc0", + "version": "1.0.0", "author": "AURA/LSST/Rubin Observatory", "summary": "Client/server for pushing objects to S3 storage.", "license": "Apache-2.0", From 8196325786a6f741461f9cf54b5d0ccd837d98c2 Mon Sep 17 00:00:00 2001 From: Joshua Hoblitt Date: Fri, 13 Sep 2024 17:32:29 -0700 Subject: [PATCH 2/4] update REFERENCE.md for release --- REFERENCE.md | 98 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 98 insertions(+) create mode 100644 REFERENCE.md diff --git a/REFERENCE.md b/REFERENCE.md new file mode 100644 index 0000000..cb9cb03 --- /dev/null +++ b/REFERENCE.md @@ -0,0 +1,98 @@ +# Reference + + + +## Table of Contents + +### Classes + +* [`s3daemon`](#s3daemon): Client/server for pushing objects to S3 storage. + +### Defined types + +* [`s3daemon::instance`](#s3daemon--instance): Deploy the s3daemon service + +## Classes + +### `s3daemon` + +Client/server for pushing objects to S3 storage. + +#### Parameters + +The following parameters are available in the `s3daemon` class: + +* [`instances`](#-s3daemon--instances) + +##### `instances` + +Data type: `Optional[Hash[String[1], Hash]]` + +A hash of instances to configure. The key is the instance name and the value +is a hash of `s3daemon::instance` parameters. + +Default value: `undef` + +## Defined types + +### `s3daemon::instance` + +Deploy the s3daemon service + +#### Parameters + +The following parameters are available in the `s3daemon::instance` defined type: + +* [`s3_endpoint_url`](#-s3daemon--instance--s3_endpoint_url) +* [`aws_access_key_id`](#-s3daemon--instance--aws_access_key_id) +* [`aws_secret_access_key`](#-s3daemon--instance--aws_secret_access_key) +* [`port`](#-s3daemon--instance--port) +* [`image`](#-s3daemon--instance--image) +* [`volumes`](#-s3daemon--instance--volumes) + +##### `s3_endpoint_url` + +Data type: `Stdlib::HTTPUrl` + +The URL of the S3 endpoint to which the s3daemon service will send files. + +##### `aws_access_key_id` + +Data type: `Variant[String[1], Sensitive[String[1]]]` + +The AWS access key ID to use for authentication. + +##### `aws_secret_access_key` + +Data type: `Variant[String[1], Sensitive[String[1]]]` + +The AWS secret access key to use for authentication. + +##### `port` + +Data type: `Stdlib::Port` + +The tcp port on which the s3daemon service will listen. +Default: 16666 + +Default value: `15556` + +##### `image` + +Data type: `String[1]` + +The container image to use for the s3daemon service. + +Default value: `'ghcr.io/lsst-dm/s3daemon:main'` + +##### `volumes` + +Data type: `Array[Stdlib::Absolutepath]` + +An array of volumes to mount in the container. Uses the format +'/host:/contaner'. E.g. ['/home:/home', '/data:/data'] + +Default: ['/home:/home'] + +Default value: `['/home:/home']` + From a5b44791e51dddcdfa086057cb113e8ca28597a0 Mon Sep 17 00:00:00 2001 From: Joshua Hoblitt Date: Fri, 13 Sep 2024 17:32:32 -0700 Subject: [PATCH 3/4] update CHANGELOG.md for release --- CHANGELOG.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..01df61c --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,17 @@ +# Changelog + +All notable changes to this project will be documented in this file. +Each new release typically also includes the latest modulesync defaults. +These should not affect the functionality of the module. + +## [v1.0.0](https://github.com/lsst-it/puppet-s3daemon/tree/v1.0.0) (2024-09-14) + +[Full Changelog](https://github.com/lsst-it/puppet-s3daemon/compare/50b60b67bc9a9f3534da6b4c5e4c60b7685e0829...v1.0.0) + +**Implemented enhancements:** + +- fwv [\#2](https://github.com/lsst-it/puppet-s3daemon/pull/2) ([jhoblitt](https://github.com/jhoblitt)) + + + +\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)* From 868bbe342db9cd5cf2c5d3d7e1725dcb4ace470d Mon Sep 17 00:00:00 2001 From: Joshua Hoblitt Date: Fri, 13 Sep 2024 17:36:45 -0700 Subject: [PATCH 4/4] fix acceptance test random failures --- spec/acceptance/init_spec.rb | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/spec/acceptance/init_spec.rb b/spec/acceptance/init_spec.rb index 6c54af8..c70a451 100644 --- a/spec/acceptance/init_spec.rb +++ b/spec/acceptance/init_spec.rb @@ -26,7 +26,7 @@ its(['HostConfig.NetworkMode']) { is_expected.to eq 'host' } its(['Mounts']) do - is_expected.to match([include('Source' => '/home')]) + is_expected.to contain_exactly(a_hash_including('Source' => '/home')) end end @@ -56,10 +56,7 @@ its(['HostConfig.NetworkMode']) { is_expected.to eq 'host' } its(['Mounts']) do - is_expected.to match([ - include('Source' => '/home'), - include('Source' => '/opt'), - ]) + is_expected.to contain_exactly(a_hash_including('Source' => '/home'), a_hash_including('Source' => '/opt')) end end