Commit Graph

394 Commits

Author SHA1 Message Date
Vijay Janapa Reddi
7fc8781064 Adds nltk to install dependencies
Includes nltk in the list of install dependencies
to resolve any missing dependency issues when running
the quarto build.
2025-06-30 06:45:55 -04:00
Vijay Janapa Reddi
2e42aa5d94 Adds epub format to build workflow
Extends the build workflow to include the 'epub' format for both development and production environments.
Ensures final status report is always generated.
2025-06-12 11:36:55 -04:00
Vijay Janapa Reddi
5ba802fca9 Removes workflow dispatch trigger
Removes the workflow_dispatch trigger from the Quarto Build workflow.

This change ensures that the workflow is only triggered by workflow_call, enforcing that it can only be initiated by other workflows and not manually.
2025-06-12 11:34:58 -04:00
Vijay Janapa Reddi
0aabb58f2a Enhances Quarto build workflow and artifact handling
Improves the caching mechanism for R packages by including changes in Quarto documents (`.qmd`) in the cache key.

Refactors the artifact uploading logic to upload the entire `_book` directory, providing more flexibility in handling different output formats.
The artifact is only uploaded if the action is triggered by a pull request, the deploy input is false, or the output format is not HTML.

Updates the deployment process to the dev site.  It now includes explicit git commands for cloning, cleaning, copying, committing, and pushing changes to ensure proper synchronization. This change restricts the deployment to HTML format only.

This provides more control and robustness during deployment while optimizing the build process.
2025-06-12 11:28:18 -04:00
Zeljko Hrcek
5e61c9b775 Enable EPUB build in Quarto
Added 'format: epub' to quarto.yml and updated quarto-build.yml to support EPUB rendering via GitHub Actions.
2025-06-12 08:47:25 +02:00
Vijay Janapa Reddi
2798b330a2 Updates TeX Live installation condition
Changes the condition for installing TeX Live to install if the format is not 'none'.

This ensures that TeX Live is installed for all formats except 'none'.
2025-06-06 22:41:33 -04:00
Vijay Janapa Reddi
ca706f88e1 Adds dvisvgm and pdf2svg to Linux dependencies
Adds `dvisvgm` and `pdf2svg` to the list of Linux dependencies
required for the Quarto build process. This ensures these tools
are available during the build, potentially enabling new features or
fixing issues related to SVG processing.
2025-06-06 22:21:05 -04:00
Vijay Janapa Reddi
9af4012b3c Enhances dev deployment workflow
Refines the dev site deployment process by adding validation steps to ensure the content is valid before pushing.
Also, it ensures the deployment is triggered only for HTML format and improves the cloning process by using depth=1 to speed up cloning, adds cleaning steps for existing docs, and includes logic to remove the CNAME file if it exists.
2025-06-06 21:58:15 -04:00
Vijay Janapa Reddi
d843cd78cf Replaces action with script for dev deployment
Replaces the `cpina/github-action-push-to-another-repository` action with a shell script for deploying to the dev site.
This provides more control over the deployment process, allowing for easier customization and debugging.
The script clones the target repository, checks out the main branch, copies the generated documentation, commits the changes, and pushes them to the remote repository.
Also configures git user name and email.
2025-06-06 21:50:36 -04:00
Vijay Janapa Reddi
bf94f06558 Remove chrome build 2025-06-06 17:57:03 -04:00
Vijay Janapa Reddi
fc79085153 Comments out debug logging for Quarto
Disables verbose debug logging in the Quarto build workflow.

This change reduces the verbosity of the build output
by commenting out the `QUARTO_LOG_LEVEL` environment variable.
2025-06-06 16:14:08 -04:00
Vijay Janapa Reddi
835c00e4de Improves Chromium installation and path handling
Ensures Chromium is installed using either `chromium-browser` or `chromium` package names.

Sets the `CHROMIUM_PATH` environment variable to the correct Chromium executable path, improving reliability on Linux.
2025-06-06 16:06:42 -04:00
Vijay Janapa Reddi
8d516e9dc8 Installs Chromium browser for Linux runners
Adds a step to install Chromium browser on Linux runners
in the Quarto build workflow. This ensures that Chromium
is available for tasks that rely on it, such as PDF generation.
Also includes a check for Chromium's binary location after
installation to assist with debugging if needed.
2025-06-06 16:00:14 -04:00
Vijay Janapa Reddi
484858b29f Removes update-changelog workflow
Removes the `update-changelog` workflow and its dependencies from the controller workflow.

This change simplifies the workflow and removes an automated changelog update process.
The removal also updates the dependent workflows `build-dev` and `build-main` and the summary jobs.
2025-06-04 19:31:49 -04:00
Vijay Janapa Reddi
138801f99c Putting debug flag back, seems to build better
Oddly with the debug output enabled
2025-06-03 10:24:30 -04:00
Vijay Janapa Reddi
ca048d1b97 Removes debugging environment variables
Removes the `QUARTO_LOG_LEVEL` and `QUARTO_CHROMIUM_HEADLESS_MODE` environment variables.
These were likely added for debugging purposes and are no longer needed.
2025-06-02 16:38:59 -04:00
Vijay Janapa Reddi
beeaeb254e Enables debug logging for Quarto builds
Sets the `QUARTO_LOG_LEVEL` environment variable to `DEBUG`.

This change facilitates more detailed logging output during Quarto build processes, aiding in troubleshooting and debugging.
2025-06-02 16:25:18 -04:00
Vijay Janapa Reddi
d9cfdc9aad Comments out debug log level for Quarto
Comments out the QUARTO_LOG_LEVEL environment variable in the
Quarto build workflow. The debug logging level is not required
for normal operation and can be enabled when needed.
2025-06-02 15:15:34 -04:00
Vijay Janapa Reddi
22d3c73ee7 Enables debug logging for Quarto builds
Sets the `QUARTO_LOG_LEVEL` environment variable to `DEBUG` in the Quarto build workflow.

This allows for more detailed logging output during the build process, which can be helpful for troubleshooting and debugging issues.
2025-06-02 09:22:23 -04:00
Vijay Janapa Reddi
206870b73c Updates TeX Live version and package updates.
Updates the TeX Live version to 2025.

Disables the update of all TeX packages during the TeX Live setup to significantly reduce build times.
2025-06-02 09:11:44 -04:00
Vijay Janapa Reddi
227be46021 Putting back latest tex + update, as it is hanging at data_engr without it 2025-06-02 08:26:37 -04:00
Vijay Janapa Reddi
7d675d4e31 Updates texlive version to 2025
Updates the texlive version in the GitHub Actions workflow to the 2025 release.

This ensures the build process uses the latest available TeX distribution, potentially including newer packages, features, and bug fixes.
2025-06-02 08:13:52 -04:00
Vijay Janapa Reddi
9abb297384 Disables update of all packages in the build
Stops updating all packages during the build process to improve build speed.
The update process was found to significantly slow down builds.
2025-06-02 08:09:03 -04:00
Vijay Janapa Reddi
d81685dbe3 Comments out debug log level
Comments out the debug log level setting for the Quarto build workflow.

This helps prevent verbose logging output during normal operation,
while retaining the option to easily re-enable it for debugging purposes
by uncommenting the line.
2025-06-02 07:54:10 -04:00
Vijay Janapa Reddi
fc7e04ceaf Sets QUARTO_CHROMIUM_HEADLESS_MODE as environment variable
Specifies the `QUARTO_CHROMIUM_HEADLESS_MODE` environment variable for controlling headless Chromium behavior during Quarto builds.
2025-06-01 23:36:22 -04:00
Vijay Janapa Reddi
08615bc3a0 Configures headless Chromium for workflow
Sets the Chromium headless mode to "new" within the workflow.
This aligns with current best practices for headless environments,
potentially improving stability and compatibility of the build
process.
2025-06-01 23:35:45 -04:00
Vijay Janapa Reddi
b6e37b4f36 Enables debug logging for Quarto
Sets the `QUARTO_LOG_LEVEL` environment variable to `DEBUG`
in the GitHub Actions workflow.

This provides more detailed logging output during Quarto builds,
which is helpful for debugging purposes.
2025-06-01 22:49:22 -04:00
Vijay Janapa Reddi
cb9c9821aa Renames Build Dev Preview job
Updates the "Build Dev Preview" job name to "Build" for brevity and clarity in the workflow.
2025-06-01 22:37:35 -04:00
Vijay Janapa Reddi
7baa2fc12c Enhances workflow controller readability
Improves the readability and clarity of the workflow controller by adding names and emojis to the jobs.

This change also adjusts the status report generation to better reflect the outcome of each workflow step.
2025-06-01 21:52:29 -04:00
Vijay Janapa Reddi
61f24ed745 Adds PNG support (for reticulate package, needed for python + R)
Adds the `png` R package and `libpng-dev` Linux dependency to enable handling PNG images in the Quarto build process. This ensures proper rendering and processing of PNG images within the generated output.
2025-06-01 21:37:23 -04:00
Vijay Janapa Reddi
cd4b844cf3 Adds jupyter to pip install
The workflow requires `jupyter` to be installed alongside
`jupyterlab-quarto`. This change ensures that both packages
are available during the build process.
2025-06-01 21:19:30 -04:00
Vijay Janapa Reddi
7e5a873fcb Improves link checking configuration
Enhances the link checking workflow by excluding mail links, limiting concurrency, accepting specific HTTP status codes, and ignoring broken links to improve accuracy and reduce false positives.
2025-06-01 21:01:57 -04:00
Vijay Janapa Reddi
fccee9177d Enhances workflow status reporting
Improves the workflow status report by streamlining the output generation and focusing on key information.

This change also sets `fail-fast: false` to prevent premature workflow termination.
2025-06-01 20:54:36 -04:00
Vijay Janapa Reddi
a5c59632f6 Fixes jupyterlab-quarto installation
Ensures jupyterlab-quarto installs correctly by using `python` instead of `python3` and explicitly adding the `jupyter` dependency.
2025-06-01 20:54:33 -04:00
Vijay Janapa Reddi
5536ec99c8 Updates Python version and installs jupyterlab-quarto
Updates the Python version used in the workflow to 3.13.
Simplifies the installation process by directly installing
jupyterlab-quarto across different operating systems.
2025-06-01 16:12:50 -04:00
Vijay Janapa Reddi
71fc1ecfd0 Adds Python setup to workflow
Configures Python environment for use in the workflow.

This includes:
- Installing Python 3.12
- Installing required Python packages (jupyter, matplotlib, numpy, pandas)
- Adding Python scripts to PATH on Windows

Relates to jeff/issue-776
2025-06-01 16:07:03 -04:00
Vijay Janapa Reddi
5737eb506d Removes Python environment setup from workflow
Removes the Python setup and package installation steps from the Quarto build workflow. This is likely due to a change in dependencies or a different approach to managing the Python environment.
2025-05-31 11:12:07 -04:00
Vijay Janapa Reddi
be93ef598d Installs Python packages for Windows and Linux
Ensures Python packages required for the Quarto build are installed correctly on both Windows and Linux runners.
Separates installation steps based on the operating system and uses `pwsh` shell and `py` launcher on Windows.
2025-05-30 18:00:43 -04:00
Vijay Janapa Reddi
60506e4be8 Ensures Jupyter executable is accessible on Windows
Adds steps to add Python scripts directory to PATH on Windows runners, ensuring Jupyter can be found and executed.

Verifies the installation by running `jupyter --version` and `python -m jupyter --version`.
2025-05-30 17:30:34 -04:00
Vijay Janapa Reddi
0e2c794535 Adds Python setup and package installation
Adds a step to set up Python 3.12 and install necessary Python packages (jupyter, matplotlib, numpy, pandas) for the Quarto build process. This ensures the availability of these packages during the Quarto rendering stage, avoiding potential build failures due to missing dependencies.
2025-05-30 17:06:43 -04:00
Vijay Janapa Reddi
8c5719553f Updates Quarto version
Updates the default Quarto version used in the build workflow.
This ensures that the latest features and bug fixes from Quarto
are utilized.
2025-05-27 16:03:16 -04:00
Vijay Janapa Reddi
09cead22d3 Enables pull request triggers for workflows
Adds pull request triggers to the controller workflow.

This allows the workflow to run automatically when pull requests
are created or updated on the main and dev branches, providing
continuous integration for pull requests.
2025-05-26 11:19:47 -04:00
Vijay Janapa Reddi
96a40ac28a Removes validation build workflow
Removes the separate validation build workflow that was triggered on pull requests. This functionality is now incorporated into the standard build jobs, simplifying the workflow configuration.
2025-05-03 23:32:29 +02:00
Vijay Janapa Reddi
fa1268a6d4 Removes light HTML build check
The "build-dev-light" job is no longer needed,
so this commit removes checks and references to it
in the controller workflow, simplifying the logic
for development build status reporting.
2025-05-03 23:28:23 +02:00
Vijay Janapa Reddi
6a1e292ab1 Removes lightweight dev build workflow
Removes the dedicated lightweight HTML-only build workflow for the `dev` branch.

This simplifies the CI/CD configuration by consolidating build processes. The standard `build-dev` job now handles all `dev` branch builds, ensuring consistency and reducing workflow complexity.
2025-04-27 04:02:49 -04:00
Vijay Janapa Reddi
7a1b81f985 Removes pull request trigger from workflow
Removes the pull request trigger from the controller workflow.
This change streamlines the workflow execution and avoids
unnecessary runs on pull requests.
2025-04-20 20:47:05 -04:00
Vijay Janapa Reddi
ced7d3a8e9 Replaces deploy action with shell script
Substitutes the deploy action with a shell script,
leveraging git commands directly for enhanced control
and customization during deployment. This change aims
to provide a more flexible and reliable deployment process.
2025-04-20 20:47:00 -04:00
Vijay Janapa Reddi
b1e1a39441 Updates Quarto version
Updates the default Quarto version used in the build workflow.

This ensures that the latest features and bug fixes from Quarto are utilized.
2025-04-14 07:25:10 -04:00
Vijay Janapa Reddi
661862eb09 Enables matrix builds for all OS formats
Extends the matrix build to include both Ubuntu and Windows,
ensuring builds for all supported OS formats.

Conditional deployment restricts to only ubuntu.

Fixes issue where only one format was built.
2025-04-01 14:02:38 -04:00
Vijay Janapa Reddi
0a7891776a pip issue 2025-04-01 13:05:46 -04:00