-
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.
feat: make into reusable module (#3)
- Loading branch information
1 parent
e36349c
commit 7bcaff9
Showing
5 changed files
with
73 additions
and
76 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 |
---|---|---|
@@ -0,0 +1,42 @@ | ||
--- | ||
name: release | ||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
permissions: | ||
contents: write | ||
id-token: write | ||
issues: read | ||
packages: write | ||
pull-requests: write | ||
statuses: write | ||
actions: read | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} | ||
cancel-in-progress: false | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
jobs: | ||
bump_tag: | ||
name: bump tag | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Determine next version | ||
id: semver | ||
uses: ietf-tools/semver-action@v1 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
branch: main | ||
patchAll: true | ||
|
||
- name: Push tag | ||
uses: mathieudutour/[email protected] | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
custom_tag: ${{ steps.semver.outputs.nextStrict }} |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
.terraform |
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,28 @@ | ||
# aws-eks-sandbox | ||
|
||
Turnkey AWS EKS sandbox for Nuon apps. | ||
|
||
## Usage | ||
|
||
This module can be used via the [aws-eks](github.com/nuonco/sandboxes/aws-eks) project in [nuonco/sandboxes](github.com/nuonco/sandboxes). | ||
|
||
```hcl | ||
resource "nuon_app" "my_eks_app" { | ||
name = "my_eks_app" | ||
} | ||
resource "nuon_app_sandbox" "main" { | ||
app_id = nuon_app.my_eks_app.id | ||
terraform_version = "v1.6.3" | ||
public_repo = { | ||
repo = "nuonco/sandboxes" | ||
branch = "main" | ||
directory = "aws-eks" | ||
} | ||
} | ||
resource "nuon_app_runner" "main" { | ||
app_id = nuon_app.my_eks_app.id | ||
runner_type = "aws-eks" | ||
} | ||
``` |
This file was deleted.
Oops, something went wrong.
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