Skip to content

Commit

Permalink
Merge pull request #50 from equinix-labs/fix_ci_tf
Browse files Browse the repository at this point in the history
ci: fixed release and pre-commit ci jobs
  • Loading branch information
ctreatma authored Jan 18, 2024
2 parents fd4be4d + 692fccc commit 2fb5ae4
Show file tree
Hide file tree
Showing 6 changed files with 48 additions and 46 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pre-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,6 @@ jobs:
with:
repo: aquasecurity/tfsec
platform: linux
arch: x86-64
arch: amd64

- uses: pre-commit/[email protected]
2 changes: 2 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
with:
semantic_version: 19.0.5
extra_plugins: |
@semantic-release/[email protected]
@semantic-release/[email protected]
[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
82 changes: 41 additions & 41 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -1,44 +1,44 @@
{
"branches": [
"main"
"branches": [
"main"
],
"ci": false,
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits"
}
],
"ci": false,
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits"
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits"
}
],
[
"@semantic-release/github",
{
"successComment": "This ${issue.pull_request ? 'PR is included' : 'issue has been resolved'} in version ${nextRelease.version} :tada:",
"labels": false,
"releasedLabels": false
}
],
[
"@semantic-release/changelog",
{
"changelogFile": "CHANGELOG.md",
"changelogTitle": "# Changelog\n\nAll notable changes to this project will be documented in this file."
}
],
[
"@semantic-release/git",
{
"assets": [
"CHANGELOG.md"
],
"message": "chore(release): version ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
]
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits"
}
],
[
"@semantic-release/github",
{
"successComment": "This ${issue.pull_request ? 'PR is included' : 'issue has been resolved'} in version ${nextRelease.version} :tada:",
"labels": false,
"releasedLabels": false
}
],
[
"@semantic-release/changelog",
{
"changelogFile": "CHANGELOG.md",
"changelogTitle": "# Changelog\n\nAll notable changes to this project will be documented in this file."
}
],
[
"@semantic-release/git",
{
"assets": [
"CHANGELOG.md"
],
"message": "chore(release): version ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
]
}
]
}
4 changes: 2 additions & 2 deletions examples/cluster-with-cni/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ terraform {
required_providers {
equinix = {
source = "equinix/equinix"
version = "~> 1.14.0"
version = "~> 1.20.0"
}

null = {
source = "hashicorp/null"
version = "~> 3.2.1"
version = "~> 3.2.2"
}
}
required_version = ">= 1.0.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/cpem-add-on/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
equinix = {
source = "equinix/equinix"
version = "~> 1.14.0"
version = "~> 1.20.0"
}
}
required_version = ">= 1.0.0"
Expand Down
2 changes: 1 addition & 1 deletion versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
equinix = {
source = "equinix/equinix"
version = "~> 1.14.0"
version = "~> 1.20.0"
}
tls = {
source = "hashicorp/tls"
Expand Down

0 comments on commit 2fb5ae4

Please sign in to comment.