-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from hamlet-io/s3-age-metric
feat(s3_age_metric): find the oldest object in s3
- Loading branch information
Showing
15 changed files
with
7,099 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
Oops, something went wrong.