Skip to content

Commit 661aaf7

Browse files
authored
feat! release elasticache-slowlog-to-datadog v2.0.0 (#17)
BREAKING CHANGE: No longer supports the ruby-2.5 runtime
1 parent df4aea2 commit 661aaf7

File tree

4 files changed

+19
-25
lines changed

4 files changed

+19
-25
lines changed

.github/workflows/validate_and_release.yml

Lines changed: 17 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,22 @@ on:
77
jobs:
88
terraform:
99
name: 'Terraform'
10+
strategy:
11+
matrix:
12+
terraform: [0.12.31, 0.13.7, 0.14.11, 0.15.5, 1.0.11, 1.1.9, 1.2.9, 1.3.8]
1013
runs-on: ubuntu-latest
1114
steps:
1215
- name: 'Checkout'
13-
uses: actions/checkout@master
16+
uses: actions/checkout@v3
1417

1518
- name: 'Terraform Format'
16-
uses: hashicorp/terraform-github-actions@master
19+
uses: hashicorp/setup-terraform@v2
1720
with:
18-
tf_actions_version: 0.12.24
19-
tf_actions_subcommand: 'fmt'
20-
env:
21-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22-
- name: 'Terraform Init'
23-
uses: hashicorp/terraform-github-actions@master
24-
with:
25-
tf_actions_version: 0.12.24
26-
tf_actions_subcommand: 'init'
27-
env:
28-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21+
terraform_version: ${{ matrix.terraform }}
22+
23+
- run: |
24+
terraform fmt
25+
terraform init
2926
3027
- name: 'Inject provider configs for validate command'
3128
run: |
@@ -34,27 +31,24 @@ jobs:
3431
region = "us-east-2"
3532
}
3633
EOF
37-
- name: 'Terraform Validate'
38-
uses: hashicorp/terraform-github-actions@master
39-
with:
40-
tf_actions_version: 0.12.24
41-
tf_actions_subcommand: 'validate'
42-
env:
43-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34+
35+
- run : |
36+
terraform validate
37+
4438
release:
4539
if: github.event_name == 'push'
4640
needs: terraform
4741
runs-on: ubuntu-latest
4842

4943
steps:
50-
- uses: actions/checkout@v2
44+
- uses: actions/checkout@v3
5145
- name: Semantic Release
5246
id: semantic
53-
uses: cycjimmy/semantic-release-action@v2
47+
uses: cycjimmy/semantic-release-action@v3
5448
env:
5549
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5650
with:
57-
semantic_version: 17
51+
semantic_version: 19
5852
extra_plugins: |
5953
@semantic-release/changelog
6054
@semantic-release/git

files/slowlog_check.1.3.0.zip

-569 KB
Binary file not shown.

files/slowlog_check.2.0.0.zip

633 KB
Binary file not shown.

locals.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
locals {
2-
slowlog_check_archive_basename = "slowlog_check.1.3.0.zip"
3-
slowlog_check_archive_hash = "H2YmQMqSwV8uSC6TXVJJLykkYUTj1e+g8Bi9Nijiex4="
2+
slowlog_check_archive_basename = "slowlog_check.2.0.0.zip"
3+
slowlog_check_archive_hash = filebase64sha256("${path.module}/files/${local.slowlog_check_archive_basename}")
44
slowlog_check_archive_path = "${path.module}/files/${local.slowlog_check_archive_basename}"
55

66
# https://pythex.org/?regex=(%3FP%3Cfirst%3E%5B0-9A-Za-z_-%5D%2B)%5C.(%3FP%3Csecond%3E%5B0-9A-Za-z_-%5D%2B)%5C.%7B0%2C1%7D(%3FP%3Cthird%3E%5B0-9A-Za-z_%5D*)%5C.%7B0%2C1%7D(%3FP%3Cfourth%3E%5B0-9A-Za-z_%5D*)%5C.(%3FP%3Cregion%3E%5B0-9A-Za-z_-%5D%2B)%5C.cache%5C.amazonaws%5C.com%3A%7B0%2C1%7D(%3FP%3Cport%3E%5B0-9%5D*)&test_string=cluster-one.abcdef.0001.use1.cache.amazonaws.com%3A6379%0Acluster-two.abcdef.ng.0001.use1.cache.amazonaws.com%3A6379%0Amaster.cluster-three.abcdef.use1.cache.amazonaws.com%3A6379%0A&ignorecase=0&multiline=0&dotall=0&verbose=0

0 commit comments

Comments
 (0)