Skip to content

Commit

Permalink
feat: minor fix to message, and more ci changes
Browse files Browse the repository at this point in the history
  • Loading branch information
robbert229 committed Feb 25, 2024
1 parent faf0ca2 commit 0756fd9
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ on:

jobs:
build:
# You must use a Linux environment when using service containers or container jobs
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/lint-helm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: "Lint Helm"

on:
pull_request:
branches:
- '*'

jobs:
lint-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Lint
run: helm lint ./charts/tofutf
- name: Create kind cluster
uses: helm/kind-action@v1.8.0
- name: Test
run: |
helm install --debug -f ./charts/tofutf/test-values.yaml tofutf ./charts/tofutf --wait
helm test tofutf
- name: Debug
if: failure()
run: |
kubectl -n tofutf-test get all
kubectl -n tofutf-test describe pod
kubectl -n tofutf-test logs -l app.kubernetes.io/name=postgresql
kubectl -n tofutf-test logs -l app.kubernetes.io/name=tofutf
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,9 @@ jobs:
# - run: git fetch --force --tags
# - uses: docker/login-action@v2
# with:
# registry: ghcr.io
# username: robbert229
# password: ${{ secrets.DOCKERHUB_TOKEN }}
# password: ${{ secrets.GITHUB_TOKEN }}
# - uses: actions/setup-go@v4
# with:
# go-version-file: 'go.mod'
Expand Down
2 changes: 1 addition & 1 deletion cmd/tofutfd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func parseFlags(ctx context.Context, args []string, out io.Writer) error {
cmd := &cobra.Command{
Use: "tofutfd",
Short: "tofutf daemon",
Long: "tofutfd is the daemon component of the open terraforming framework.",
Long: "tofutfd is the daemon component of the opentofu tuft framework.",
SilenceUsage: true,
SilenceErrors: true,
Version: internal.Version,
Expand Down

0 comments on commit 0756fd9

Please sign in to comment.