Commit Graph

339 Commits

Author SHA1 Message Date
Nawaz Dhandala
4e2ca87752 refactor: improve readability of messages and code formatting in various components 2026-04-02 14:33:46 +01:00
Nawaz Dhandala
a4c5be8665 feat: Integrate GoReleaser for Terraform provider build and publish process; enhance publish script for better asset management 2026-04-01 22:10:13 +01:00
simlarsen
02e7506f89 chore: npm audit fix 2026-03-26 02:38:46 +00:00
Nawaz Dhandala
1d186c2f49 fix: Refactor merge_docker_manifests.sh to streamline multi-arch manifest creation 2026-03-19 14:06:47 +00:00
simlarsen
374de9cf82 chore: npm audit fix 2026-03-13 02:25:28 +00:00
Nawaz Dhandala
b9eff113ac Refactor Docker image build and merge workflows for multi-architecture support
- Updated GitHub Actions workflows to implement a matrix strategy for building Docker images across multiple architectures (linux/amd64 and linux/arm64).
- Introduced new jobs for merging multi-arch manifests after building images, ensuring proper tagging and pushing to Docker Hub and GitHub Container Registry.
- Enhanced the `build_docker_images.sh` script to append architecture suffixes to tags for single-platform builds, preventing tag collisions.
- Added a new script `merge_docker_manifests.sh` to create and push multi-arch manifests for built images.
- Removed redundant Docker metadata actions and streamlined the build process for clarity and efficiency.
2026-03-12 22:14:10 +00:00
simlarsen
989de0c811 chore: npm audit fix 2026-03-11 02:14:09 +00:00
Nawaz Dhandala
707bfd62e7 feat: enhance docker build caching with cache-from and cache-to options 2026-03-06 19:13:23 +00:00
simlarsen
217218109a chore: npm audit fix 2026-02-28 02:07:25 +00:00
simlarsen
3a379fb87c chore: npm audit fix 2026-02-23 02:33:07 +00:00
Nawaz Dhandala
7b99129c2e feat: skip publishing if package version is already published on npm 2026-02-19 17:20:15 +00:00
simlarsen
3348f44bf1 chore: npm audit fix 2026-02-19 02:31:47 +00:00
Nawaz Dhandala
32fcb9398c fix: improve waiting mechanism for @oneuptime/common availability on npm 2026-02-18 20:14:50 +00:00
Nawaz Dhandala
7bf03074b2 fix: update shebang in Index.ts and correct paths in package.json for CLI execution 2026-02-18 15:55:03 +00:00
simlarsen
9d5faca3ec chore: npm audit fix 2026-02-18 02:31:53 +00:00
Nawaz Dhandala
1f634576fe chore: update CLI to use npm package for Common, adjust TypeScript config, and add CI workflow
- Changed dependency for Common in CLI package.json to use npm package @oneuptime/common@latest.
- Updated tsconfig.json to exclude Tests, build, node_modules, and jest.config.json.
- Modified PublishAllPackages.sh to replace Common dependency with the pinned version during publish.
- Added GitHub Actions workflow for testing CLI on pull requests and pushes.
2026-02-15 12:05:35 +00:00
simlarsen
25f9b826cf chore: npm audit fix 2026-02-11 02:38:02 +00:00
Nawaz Dhandala
f725fdd2d9 feat(ResourceGenerator): implement no-op methods for read, update, and delete operations 2026-02-09 14:41:32 +00:00
Nawaz Dhandala
26bd4c7a90 fix: improve readability of conditional check in Delete method 2026-01-27 20:42:00 +00:00
Nawaz Dhandala
9d29a1d00b Refactor Terraform tests to remove project_id references
- Removed project_id variable and its usage from multiple Terraform test files (23-probe-crud, 24-status-page-crud, 25-status-page-with-domain, 26-monitor-steps-basic, 27-monitor-types, 28-incident-crud, 29-alert-crud, 30-scheduled-maintenance-crud, 31-on-call-duty-policy-crud, 32-monitor-group-crud, 33-team-crud, 35-monitor-with-steps, 36-monitor-types-basic, 37-label-order-idempotency).
- Updated ResourceGenerator to treat project_id as computed-only, inferred from API key authentication.
- Adjusted related logic in resource update and delete operations to exclude project_id from requests.
2026-01-27 20:00:41 +00:00
Nawaz Dhandala
935608d23d fix: format condition for attribute import check in DataSourceGenerator 2026-01-27 18:30:58 +00:00
Nawaz Dhandala
a345390b9b feat: add URL normalization helpers to avoid drift in resource handling 2026-01-27 18:16:28 +00:00
Nawaz Dhandala
d0a8c049ba feat: add support for 'set' type in data source and resource generation, enhancing collection handling 2026-01-27 18:04:51 +00:00
simlarsen
4a7f27a372 chore: npm audit fix 2026-01-27 02:04:49 +00:00
simlarsen
1928244a8e chore: npm audit fix 2026-01-24 01:54:38 +00:00
Nawaz Dhandala
5664ad48dd fix: move git user configuration after repository initialization in publish script 2026-01-23 13:04:50 +00:00
Nawaz Dhandala
b7114304ee fix: streamline git repository handling in Terraform provider publishing script 2026-01-23 11:51:40 +00:00
Nawaz Dhandala
dca72856a2 fix: configure git user before committing generated Terraform provider files 2026-01-23 11:48:30 +00:00
Simon Larsen
98afb63880 Merge pull request #2243 from OneUptime/chore/npm-audit-fix
chore: npm audit fix
2026-01-22 22:33:12 +00:00
Nawaz Dhandala
0a6035ed65 style(ProductCompare.ts, GenerateProvider.ts): improve code formatting for better readability 2026-01-22 18:11:21 +00:00
Nawaz Dhandala
93c017dbab chore(GenerateProvider): add VERSION file generation to ensure proper detection of changes 2026-01-22 13:25:03 +00:00
Nawaz Dhandala
2771efcd87 chore(GoModuleGenerator): update comments for clarity in generateGoMod method
chore(GenerateProvider): format log message for consistency in main function
2026-01-22 12:43:45 +00:00
Nawaz Dhandala
66d76676f5 chore(ResourceGenerator): add sorting for list items to ensure consistent ordering and fix idempotency issues 2026-01-22 12:35:50 +00:00
simlarsen
cc0eb6a4b9 chore: npm audit fix 2026-01-22 02:02:10 +00:00
Nawaz Dhandala
47bca3fb9b chore(ResourceGenerator): refactor valid ObjectType handling to use dynamic generation from enum 2026-01-21 21:29:29 +00:00
Nawaz Dhandala
79d3548492 chore(ResourceGenerator): add validation for OneUptime ObjectType in resource handling 2026-01-21 21:26:07 +00:00
Nawaz Dhandala
84307250b7 chore(GoModuleGenerator): update go.mod generation to specify minimum versions and clarify dependency fetching process 2026-01-21 21:13:07 +00:00
Nawaz Dhandala
c3986bd66a chore(GoModuleGenerator): update go.mod to use Go 1.23 and pin dependencies for compatibility with Terraform 1.5+ 2026-01-21 21:08:42 +00:00
Nawaz Dhandala
a4a56bf2c7 chore(GoModuleGenerator): update go.mod to pin additional indirect dependencies for compatibility with Terraform 1.5+ 2026-01-21 21:04:36 +00:00
Nawaz Dhandala
6fbd112964 fix(ResourceGenerator): enhance handling of complex typed objects in Delete method 2026-01-21 14:55:25 +00:00
Nawaz Dhandala
e7fd472c14 fix(ResourceGenerator): enhance handling of complex object responses in Delete method 2026-01-21 12:33:27 +00:00
simlarsen
d3d0dedfee chore: npm audit fix 2026-01-21 02:01:12 +00:00
Nawaz Dhandala
d5332ed494 test: Add idempotency tests for probe_version READ operation 2026-01-20 16:57:30 +00:00
Nawaz Dhandala
811fb49c2d refactor: update comments for clarity and consistency in DomainService, Domain, and ResourceGenerator 2026-01-19 19:47:37 +00:00
Nawaz Dhandala
a99c09c05a feat: remove isDefaultValueColumn from TerraformAttribute interface 2026-01-19 19:25:58 +00:00
Nawaz Dhandala
b400965384 feat: enhance resource generation with dynamic plan modifier imports and add tests for server-provided defaults 2026-01-19 19:25:37 +00:00
Nawaz Dhandala
86d60f4688 refactor: improve code comments for clarity in MonitorProbeService and ResourceGenerator 2026-01-19 17:25:11 +00:00
Nawaz Dhandala
d7f329fcff feat: add comprehensive CRUD tests for probe, label, monitor status, and incident severity resources 2026-01-19 17:21:10 +00:00
Nawaz Dhandala
120d36f3dd fix: always import math/big and add helper for converting *big.Float to float64 2026-01-19 14:43:18 +00:00
Nawaz Dhandala
91965f3cc9 feat: add peer dependency flags in package-lock.json and update .gitignore for test environment script 2026-01-19 14:21:50 +00:00