Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: use opentofu schema and opentofu registry #17

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changes/unreleased/ENHANCEMENTS-20240911-212122.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: ENHANCEMENTS
body: use opentofu schema and opentofu registry libraries
time: 2024-09-11T21:21:22.4141+05:30
custom:
Issue: "17"
Repository: terraform-ls
1,276 changes: 0 additions & 1,276 deletions .changes/v0.33.1.md

This file was deleted.

24 changes: 0 additions & 24 deletions .changes/v0.33.2.md

This file was deleted.

11 changes: 0 additions & 11 deletions .changes/v0.33.3.md

This file was deleted.

15 changes: 0 additions & 15 deletions .changes/v0.34.0-alpha20240611.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changes/v0.34.0-beta1.md

This file was deleted.

16 changes: 0 additions & 16 deletions .changes/v0.34.0.md

This file was deleted.

6 changes: 3 additions & 3 deletions .changie.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ changelogPath: CHANGELOG.md
versionExt: md
versionFormat: '## {{.VersionNoPrefix}} ({{.Time.Format "02 January 2006"}})'
kindFormat: '{{.Kind}}:'
changeFormat: '* {{.Body}} ([{{- if not (eq .Custom.Repository "terraform-ls")}}{{.Custom.Repository}}{{- end}}#{{.Custom.Issue}}](https://github.com/hashicorp/{{.Custom.Repository}}/issues/{{.Custom.Issue}}))'
changeFormat: '* {{.Body}} ([{{- if not (eq .Custom.Repository "opentofu-ls")}}{{.Custom.Repository}}{{- end}}#{{.Custom.Issue}}](https://github.com/gamunu/{{.Custom.Repository}}/issues/{{.Custom.Issue}}))'
custom:
- key: Repository
label: Repository
type: enum
enumOptions:
- terraform-ls
- terraform-schema
- opentofu-ls
- opentofu-schema
- hcl-lang
- key: Issue
label: Issue/PR Number
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,20 @@ env:
jobs:
generate-provider-schemas:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Set up Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version-file: .go-version
- name: Install OpenTofu
uses: opentofu/setup-opentofu@v1
with:
tofu_wrapper: false
tofu_version: 1.8.0
- name: Generate provider schemas
run: |
go generate ./internal/schemas
Expand Down
Loading
Loading