Commit Graph
55 Commits
Author SHA1 Message Date
Mauricio Siu 9433dce128 Remove pull request trigger from deploy-preview workflow 2025-12-19 18:00:36 -06:00
Mauricio Siu dd8ef5b3c8 refactor: enhance Docker Compose validation workflow
Updated the GitHub Actions workflow for validating Docker Compose files by streamlining the detection of changed blueprints and improving the validation process. Removed redundant steps and consolidated the validation of docker-compose.yml and template.toml files into a more efficient structure. Added clearer output messages for validation results and ensured that best practices are checked for each blueprint. This refactor aims to improve maintainability and clarity in the CI/CD process.
2025-12-19 15:54:36 -06:00
Mauricio Siu dcc456d18b refactor: enhance Docker Compose validation workflow to improve error handling
- Replaced the pipe with an array to handle directory names, ensuring that errors within the loop propagate correctly to the parent shell.
- Updated the loop structure for better reliability in processing the directories.
2025-12-14 00:00:54 -06:00
Mauricio Siu b7f7c9ffb8 fix: improve Docker Compose validation workflow to handle subshell issues
- Converted the handling of COMPOSE_FILES from a pipe to an array to ensure error propagation in the parent shell.
- Updated the loop to iterate over the array for better reliability in the validation process.
2025-12-13 23:51:28 -06:00
Mauricio Siu abd316fd6e feat: add validation scripts and configuration for Docker Compose and template files
- Introduced a GitHub Actions workflow to validate Docker Compose files and template.toml on pull requests.
- Added helper functions for generating random values and processing variables in templates.
- Implemented validation scripts for checking the structure, syntax, and best practices of Docker Compose and template files.
- Created necessary TypeScript types and configuration files for the build scripts.
2025-12-13 14:38:37 -06:00
Mauricio Siu 8ec4ad1d9c Refactor GitHub workflow: uncomment build preview steps for improved deployment process and clarity. 2025-11-28 02:03:42 -06:00
Mauricio Siu 3ec51b85bf Remove unnecessary blank line in deploy-preview.yml for improved readability. 2025-11-28 02:03:23 -06:00
Mauricio Siu a91730e582 Refactor GitHub workflow: comment out build preview steps for clarity and future modifications. 2025-11-28 01:56:31 -06:00
Mauricio Siu b56d2b6d8c Enhance GitHub workflows: add production deployment configuration and target 'canary' branch for pull requests. 2025-11-28 01:46:41 -06:00
Mauricio Siu e66cad204d Update GitHub workflows to target 'canary' branch for meta validation 2025-11-28 01:25:36 -06:00
8142693922 The meta.json glow-up nobody saw coming (#281)
* removed

n8n (appears 2 times)
Authelia (appears 2 times)
SupaBase (appears 2 times)
Livekit (appears 2 times)
WG-Easy (appears 2 times)
Open Notebook (appears 2 times)
Booklore (appears 2 times)
Scrypted (appears 2 times)
Wallos (appears 2 times)
Statping-NG (appears 2 times)

* Replace application catalog entries with new software entries

* Test 1

* Updated Scripts

* Final Test

* Fix

* Remove redundant dependency installation steps from GitHub Actions workflow

* Test 2

* Update meta sorting logic to ASCII order and add --backup option for deduplication

* Fix meta.json: Remove duplicates and apply correct ASCII sorting

- Remove duplicate entries: scrypted, searxng (243 → 241 entries)
- Fix sorting algorithm to use ASCII order for CI/CD compatibility
- Update both dedupe-and-sort-meta.js and build-scripts/process-meta.js
- Add missing --backup CLI argument to build script
- Ensure consistent sorting across all processing interfaces

* Fix CI/CD pipeline: Count JSON entries instead of lines

- Update validate-meta.yml to count JSON entries using Node.js instead of wc -l
- Add custom JSON formatting functions to both processing scripts
- Ensure consistent output formatting across all processing interfaces
- Fix false positive where line count increased due to expanded JSON formatting

The CI/CD failure was caused by counting file lines (4124) instead of actual
JSON entries (241). Both files now produce identical results with proper
entry counting in the validation workflow.

* Fix meta.json formatting to match processing script output

- Apply consistent JSON formatting to meta.json using processing script
- Ensure file formatting matches expected CI/CD workflow output
- Files now pass diff comparison in validation workflow

This resolves the CI/CD pipeline failure where files had identical content
but different formatting, causing diff validation to fail.

* Test 3

* Removed duplicate and action worked :)

* Remove pull_request_template.md

* Remove duplicate meta entries to prevent processing conflicts

---------

Co-authored-by: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com>
2025-08-16 00:20:14 -06:00
Mauricio Siu 8069689a73 chore: streamline meta.json validation process by removing debug output and optimizing entry checks 2025-04-03 00:40:08 -06:00
Mauricio Siu 076c82490c chore: improve meta.json validation with detailed error reporting and debug output 2025-04-03 00:38:14 -06:00
Mauricio Siu 38e0936ae5 chore: add validation checks for meta.json in CI workflow 2025-04-03 00:36:15 -06:00
Mauricio Siu fc4d766fd9 chore: enhance README with new helper variables and add meta.json validation in CI workflow 2025-04-03 00:26:57 -06:00
Mauricio Siu d21f87f42c fix: update template file extension in validation workflow
- Changed the expected template file from 'template.yml' to 'template.toml' in the GitHub Actions validation workflow to reflect recent changes in file format.
2025-03-30 00:52:31 -06:00
Mauricio Siu 46664e05d5 refactor: clean up build preview workflow by removing commented deployment steps
- Removed commented-out deployment steps for Cloudflare Pages to enhance clarity and focus on the build process.
- Maintained the artifact upload step to ensure build outputs are preserved.
2025-03-16 12:49:58 -06:00
Mauricio Siu 05c8bcd839 feat: add deploy preview workflow for Cloudflare Pages
- Introduced a new GitHub Actions workflow to handle deployment of preview builds to Cloudflare Pages upon successful completion of the build preview workflow.
- Configured necessary permissions and steps for downloading build artifacts and deploying to the specified Cloudflare project.
2025-03-16 12:26:21 -06:00
Mauricio Siu 04d83432df fix: remove unnecessary comment from build preview workflow
- Eliminated an internal issue comment from the artifact upload step for clarity.
- Ensured the workflow remains clean and focused on essential configurations.
2025-03-16 12:25:26 -06:00
Mauricio Siu 0ef9970aff refactor: update build preview workflow for clarity and efficiency
- Renamed job to "Build Preview Deployment" and adjusted concurrency settings.
- Streamlined steps by removing unnecessary permissions and comments.
- Updated pnpm action to the latest version and ensured Node.js setup is consistent.
- Removed deployment step to Cloudflare Pages and related verification steps for simplification.
2025-03-16 12:24:30 -06:00
Mauricio Siu c0449a62bb chore: add production deployment workflow for Cloudflare Pages
- Introduced a new GitHub Actions workflow for deploying the application to Cloudflare Pages upon pushes to the main branch.
- Configured steps for Node.js setup, dependency installation, and build processes using pnpm.
- Included necessary permissions and secrets for secure deployment.
2025-03-16 11:30:44 -06:00
Mauricio Siu d198755d25 chore: remove deploy preview workflow from GitHub Actions
- Deleted the deploy preview workflow file as it is no longer needed.
- This change simplifies the workflow configuration and reduces maintenance overhead.
2025-03-16 11:19:59 -06:00
Mauricio Siu 6779856340 chore: update build preview workflow to include deployment step
- Renamed job to "Build and Deploy Preview" for clarity.
- Added a deployment step to Cloudflare Pages with necessary configurations.
- Updated permissions to include deployment rights.
2025-03-16 11:17:03 -06:00
Mauricio Siu 6687f2723d chore: enhance build preview workflow with additional debug information
- Updated workflow name to use quotes for consistency.
- Added event name and event type to the debug output for improved context during deployments.
2025-03-16 11:15:34 -06:00
Mauricio Siu 1bb88e7c93 chore: refactor GitHub Actions workflow for clarity and structure
- Updated workflow trigger to use a list format for better readability.
- Separated the deploy preview job into distinct steps for improved organization.
- Enhanced debug information to provide more detailed event context.
- Updated artifact download action to the latest version for better performance.
2025-03-16 11:14:43 -06:00
Mauricio Siu 7e9dda562b chore: update GitHub Actions workflows for improved artifact handling and debugging
- Added an ID to the artifact upload step for better tracking.
- Enhanced the verification step to include workflow and repository information.
- Updated permissions to allow writing actions in the deploy workflow.
- Added debug information to the deploy workflow for better visibility of event details.
2025-03-16 11:12:45 -06:00
Mauricio Siu 2291e9a5d1 chore: enhance GitHub Actions workflow with additional steps and permissions
- Updated permissions to allow writing actions.
- Added a step to list build output for verification.
- Included a verification step to confirm artifact upload completion.
2025-03-16 11:10:02 -06:00
Mauricio Siu 5aa80f8c96 chore: update GitHub Actions workflow permissions and artifact retention
- Added permissions for reading contents, actions, and writing pull requests.
- Set artifact retention period to 1 day for the preview build.
2025-03-16 11:06:50 -06:00
Mauricio Siu 4fde69f674 feat: add GitHub Actions workflows for build and deploy preview
- Introduced a new workflow for building the preview site and uploading build artifacts.
- Added a deployment workflow to Cloudflare Pages triggered by the successful completion of the build workflow.
- Configured Node.js and pnpm for dependency management and build processes.
2025-03-16 11:02:43 -06:00
Mauricio Siu 736503f855 refactor: Standardize template domain configuration to use ${domain} helper 2025-03-10 00:09:22 -06:00
Mauricio Siu 813efefab9 feat: Add comprehensive blueprint collection and project setup 2025-03-09 23:30:52 -06:00
Mauricio Siu 0015373bb1 chore: Enhance PR preview workflow trigger events 2025-03-09 22:32:39 -06:00
Mauricio Siu 5414f432b2 chore: Disable concurrency in deploy workflow 2025-03-09 22:31:02 -06:00
Mauricio Siu 3dd771096d chore: Simplify PR preview deployment workflow trigger 2025-03-09 22:29:53 -06:00
Mauricio Siu 18072c86ec chore: Update PR preview deployment with static index.html 2025-03-09 22:29:11 -06:00
Mauricio Siu 3e8da82bc8 feat: Add index.html to PR preview deployment 2025-03-09 22:24:27 -06:00
Mauricio Siu 3e0c33244a refactor: Update GitHub Actions workflow for PR preview deployments 2025-03-09 22:22:19 -06:00
Mauricio Siu d698d55f04 feat: add gh pages 2025-03-09 22:13:17 -06:00
Mauricio Siu 9111332760 feat: Add GitHub Actions workflow for PR preview deployments 2025-03-09 22:11:37 -06:00
Mauricio Siu 6009e5447d refactor: Modify base64 templates workflow to generate comprehensive blueprint table 2025-03-09 21:00:10 -06:00
Mauricio Siu 6b24af43bf refactor: Enhance base64 templates workflow with improved error handling and diff detection 2025-03-09 20:59:22 -06:00
Mauricio Siu 6fd5c52d6c refactor: Optimize base64 templates workflow to process only changed blueprints 2025-03-09 20:57:25 -06:00
Mauricio Siu eed6aebb85 fix: Correct JSON encoding in base64 templates workflow 2025-03-09 17:54:06 -06:00
Mauricio Siu b9c73f462e fix: Improve base64 encoding of compose and template files 2025-03-09 17:52:06 -06:00
Mauricio Siu 7680b8b3c9 refactor: add validation metadata 2025-03-09 17:36:01 -06:00
Mauricio Siu ea1f5bddad Add GitHub Actions workflow to validate blueprint structure and meta.json 2025-03-09 17:32:09 -06:00
Mauricio Siu 1476adcbea Fix base64 templates workflow comment output redirection 2025-03-09 17:28:50 -06:00
Mauricio Siu 6a836d970c Add user guidance for blueprint base64 import in workflow 2025-03-09 17:27:41 -06:00
Mauricio Siu 6092fcad2b Refactor Base64 templates workflow to improve blueprint base64 presentation 2025-03-09 17:26:24 -06:00
Mauricio Siu 5d441530f0 Modify Base64 templates workflow to encode compose and config as JSON 2025-03-09 17:22:55 -06:00