Simon Larsen
9e1cc85c09
refactor: improve resource and data source handling in GeneratorConfig
2025-06-19 17:22:23 +01:00
Simon Larsen
a04c561ad5
fix: add missing newline for better readability in GenerateProvider.ts
2025-06-19 16:05:52 +01:00
Simon Larsen
4ab7b09661
fix: correct function call for provider initialization in main.go
2025-06-19 14:32:23 +01:00
Simon Larsen
523b842e57
fix: ensure error is thrown after failed Go module initialization and tidy command
2025-06-19 14:27:19 +01:00
Simon Larsen
023fe0b742
fix: correct import statement for provider package in main.go
2025-06-19 14:26:32 +01:00
Simon Larsen
e06085a16a
feat: implement initial provider structure and functionality for OneUptime Terraform provider
2025-06-19 14:19:25 +01:00
Simon Larsen
e074b38e3d
fix: correct path references in Go module initialization and main.go file reading
2025-06-19 13:38:23 +01:00
Simon Larsen
3d6a61ddc1
feat: add Go module setup and main entry point for Terraform provider generation
2025-06-19 13:28:00 +01:00
Simon Larsen
f3dc3e976e
refactor: format output path for Terraform provider generation for improved readability
2025-06-19 13:18:54 +01:00
Simon Larsen
f556cf1174
fix: update output path for Terraform provider generation to include full provider name
2025-06-18 17:11:27 +01:00
Simon Larsen
3ebc19fb78
refactor: rename 'type' columns to 'fileType', 'paymentMethodType', and 'customFieldType' in migration files for clarity; update related code references
2025-06-18 13:48:54 +01:00
Simon Larsen
77e097bf5f
feat: implement ProviderCodeSpecGenerator for generating provider code specifications
2025-06-18 12:04:49 +01:00
Simon Larsen
b13f1d03c0
fix: remove Go module setup from provider generation process and add scaffolding for framework output directory
2025-06-18 11:15:01 +01:00
Simon Larsen
9af40e0efb
feat: enhance provider.go generation with dynamic resource and data source implementations
2025-06-17 20:55:22 +01:00
Simon Larsen
eceeffec2e
fix: remove unnecessary terraform block from example configuration
2025-06-17 20:44:14 +01:00
Simon Larsen
f057710abf
fix: update get_provider_version function to return a default version for testing
2025-06-17 20:34:31 +01:00
Simon Larsen
bdf21e3598
chore: remove local installation script for OneUptime Terraform provider
2025-06-17 20:32:47 +01:00
Simon Larsen
70cd4e7a46
feat: Add OneUptime Terraform Provider Publisher script
...
- Implemented a comprehensive bash script to automate the publishing process of the OneUptime Terraform provider to the Terraform Registry.
- Included functionalities for version specification, testing mode, dependency installation, provider generation, GitHub repository interaction, release creation, and asset uploading.
- Added error handling, prerequisite validation, and detailed logging for better user experience.
- Integrated GPG signing for release assets and SHA256 checksum generation.
- Provided usage instructions and examples for ease of use.
2025-06-17 20:28:24 +01:00
Simon Larsen
301cf0611d
feat: add local installation script and update README for Terraform provider
2025-06-17 20:14:05 +01:00
Simon Larsen
100bfbe5db
fix: enhance GPG signing process with key validation and debugging output
2025-06-17 12:00:42 +01:00
Simon Larsen
18b5323bc2
fix: add asset existence check and deletion before uploading in release process
2025-06-17 11:24:17 +01:00
Simon Larsen
cb002e25f9
fix: remove GPG key import and export steps from Terraform provider publishing process
2025-06-17 11:12:01 +01:00
Simon Larsen
3b6a746d41
fix: streamline GPG key handling in SHASUMS signing process
2025-06-17 11:00:04 +01:00
Simon Larsen
f27090dc4f
fix: improve GPG key import error handling and output for better debugging
2025-06-17 10:50:41 +01:00
Simon Larsen
2b68ec3d1b
fix: enhance GPG key import process by using a temporary file and improving status messages
2025-06-17 10:44:18 +01:00
Simon Larsen
0ed160f68f
fix: streamline GPG key handling and enhance publish script options for Terraform provider
2025-06-17 10:20:42 +01:00
Simon Larsen
d08387d4c8
fix: improve GPG key import process with enhanced error handling and automation
2025-06-17 09:59:12 +01:00
Simon Larsen
78835f8fb4
fix: enhance GPG signing process with improved error handling and automation
2025-06-17 09:48:14 +01:00
Simon Larsen
ae9af32768
fix: update GitHub release title and name format to simplify versioning
2025-06-17 09:42:13 +01:00
Simon Larsen
16de3a0380
fix: include signature files in release asset creation and upload process
2025-06-17 09:39:55 +01:00
Simon Larsen
5196fc1385
fix: enhance GPG signing process with validation and improved error handling
2025-06-16 23:14:37 +01:00
Simon Larsen
964afb0a1d
fix: streamline provider generation by removing redundant validations and enhancing zip archive creation
2025-06-16 23:05:03 +01:00
Simon Larsen
c5b382c122
fix: replace multi-platform build process with verification of existing builds
2025-06-16 22:47:46 +01:00
Simon Larsen
e74fddfe75
fix: update build command in publish script to use variable for ldflags
2025-06-16 22:44:28 +01:00
Simon Larsen
2ef6698f1b
fix: update publish script to validate provider framework directory and adjust paths for Go operations
2025-06-16 22:31:27 +01:00
Simon Larsen
7dac270540
fix: enhance provider generation validation with checks for essential files and Go module dependencies
2025-06-16 22:02:57 +01:00
Simon Larsen
bfb0cf1a79
fix: update file paths in provider generation and build scripts to reflect new directory structure
2025-06-16 21:54:59 +01:00
Simon Larsen
388a842da4
fix: add checks for essential files in provider generation and build process
2025-06-16 21:45:02 +01:00
Simon Larsen
157e5563db
fix: add multi-platform build, SHASUM generation, and asset upload to publish script
2025-06-16 21:31:21 +01:00
Simon Larsen
619dacf18b
fix: simplify GitHub release title in publish-terraform-provider script
2025-06-16 21:23:59 +01:00
Simon Larsen
f76915f56f
fix: enhance push_to_repository function to handle remote changes and tag management
2025-06-16 21:14:46 +01:00
Simon Larsen
37dc6a82cb
fix: update publish-terraform-provider script to use 'master' branch instead of 'main'
...
fix: revise Terraform documentation to clarify project creation and resource structure
fix: enhance examples and quick start guide for better clarity on project ID usage
2025-06-16 21:07:14 +01:00
Simon Larsen
a0b980fb56
fix: remove unnecessary closing brace in publish-terraform-provider script
2025-06-16 20:56:32 +01:00
Simon Larsen
8065dcdb18
fix: update publish-terraform-provider script for test release mode
2025-06-16 20:50:58 +01:00
Simon Larsen
3be7b0e4ee
fix: improve formatting of manifestContent declaration in GoModuleSetup
2025-06-16 20:44:43 +01:00
Simon Larsen
1e3f5fb7e4
fix: improve GitHub release creation logic for dry runs and actual releases
2025-06-16 20:39:26 +01:00
Simon Larsen
df52df8fe0
fix: clean up formatting and whitespace in FormField and GoModuleSetup files
2025-06-16 20:35:54 +01:00
Simon Larsen
514ee1e6ed
fix: enhance repository access validation and clarify GITHUB_TOKEN permissions in publish script
2025-06-16 20:31:39 +01:00
Simon Larsen
5350c22833
fix: ensure SSH directory exists before setting up deploy key for GitHub release
2025-06-16 20:23:54 +01:00
Simon Larsen
6c67b61cc1
fix: enhance GitHub authentication method in publish script to support deploy keys
2025-06-16 20:15:59 +01:00