Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release 1.0.0 #3

Merged
merged 4 commits into from
Sep 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)*
98 changes: 98 additions & 0 deletions REFERENCE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
# Reference

<!-- DO NOT EDIT: This document was generated by Puppet Strings -->

## 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

### <a name="s3daemon"></a>`s3daemon`

Client/server for pushing objects to S3 storage.

#### Parameters

The following parameters are available in the `s3daemon` class:

* [`instances`](#-s3daemon--instances)

##### <a name="-s3daemon--instances"></a>`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

### <a name="s3daemon--instance"></a>`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)

##### <a name="-s3daemon--instance--s3_endpoint_url"></a>`s3_endpoint_url`

Data type: `Stdlib::HTTPUrl`

The URL of the S3 endpoint to which the s3daemon service will send files.

##### <a name="-s3daemon--instance--aws_access_key_id"></a>`aws_access_key_id`

Data type: `Variant[String[1], Sensitive[String[1]]]`

The AWS access key ID to use for authentication.

##### <a name="-s3daemon--instance--aws_secret_access_key"></a>`aws_secret_access_key`

Data type: `Variant[String[1], Sensitive[String[1]]]`

The AWS secret access key to use for authentication.

##### <a name="-s3daemon--instance--port"></a>`port`

Data type: `Stdlib::Port`

The tcp port on which the s3daemon service will listen.
Default: 16666

Default value: `15556`

##### <a name="-s3daemon--instance--image"></a>`image`

Data type: `String[1]`

The container image to use for the s3daemon service.

Default value: `'ghcr.io/lsst-dm/s3daemon:main'`

##### <a name="-s3daemon--instance--volumes"></a>`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']`

2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
7 changes: 2 additions & 5 deletions spec/acceptance/init_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down
Loading