Skip to content

Commit

Permalink
Merge pull request #1 from hamlet-io/s3-age-metric
Browse files Browse the repository at this point in the history
feat(s3_age_metric): find the oldest object in s3
  • Loading branch information
RossMurr4y authored Feb 22, 2021
2 parents a78675f + f0a16ed commit fb5abe7
Show file tree
Hide file tree
Showing 15 changed files with 7,099 additions and 6 deletions.
25 changes: 20 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- name: Build - s3-inventory-copy
working-directory: s3-inventory-copy/
run: |
npm ci
npx sls package

- name: Create Tag Release
id: create_tag_release
Expand All @@ -35,10 +30,30 @@ jobs:
tag_name="$(echo "${tag_ref##*/}" )"
echo "::set-output name=tag_name::$tag_name"
- name: Build - s3-inventory-copy
working-directory: s3-inventory-copy/
run: |
npm ci
npx sls package
- name: Upload Assets - s3-inventory-copy
id: upload_assets_s3_inventory
uses: AButler/[email protected]
with:
files: 's3-inventory-copy/.serverless/*.zip'
repo-token: ${{ secrets.GITHUB_TOKEN }}
release-tag: ${{steps.get-tag-name.outputs.tag_name}}

- name: Build - s3-age-metric
working-directory: s3-age-metric/
run: |
npm ci
npx sls package
- name: Upload Assets - s3-age-metric
id: upload_assets_s3-age-metric
uses: AButler/[email protected]
with:
files: 's3-age-metric/.serverless/s3-age-metric.zip'
repo-token: ${{ secrets.GITHUB_TOKEN }}
release-tag: ${{steps.get-tag-name.outputs.tag_name}}
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
# lambda-s3-support
A collection of lambda tools as hamlet modules for S3 management

| Name | Directory | Summary |
|-------------------|---------------------|----------------------------------------------------------------------------------|
| s3-inventory-copy | s3-inventory-copy | Use S3 Inventory reports + S3 batch to move or copy items in a bucket as a batch |
| s3-age-metric | s3-age-metric | Creates a CloudWatch Metric of the oldest item under a prefix |
Loading

0 comments on commit fb5abe7

Please sign in to comment.