Archi Forum

Archi Plug-ins => coArchi => Topic started by: dsample on June 30, 2021, 17:33:25 PM

Title: Using GitHub Actions to create the HTML report
Post by: dsample on June 30, 2021, 17:33:25 PM
I thought I'd share something I've got working in the last couple of days, as I think it may be of interest to others here.

We use GitHub and having created a repository to start uing coArchi I was keen to make the model viewable to others around the company without having to install Archi. I have found a way to automate the report generation process and now have a (private) GitHub Pages hosted version of the HTML report.

I managed to wrap Archi into a Docker image and I've written some instructions for how to use it both manually through 'docker run' and also using GitHub Actions. This can be found on GitHub (https://github.com/dsample/archi-docker).

I hope this is useful for others :)
Title: Re: Using GitHub Actions to create the HTML report
Post by: Xiaoqi on June 30, 2021, 18:48:47 PM
Thanks a lot for sharing!
Title: Re: Using GitHub Actions to create the HTML report
Post by: tdalseide on September 26, 2021, 14:37:08 PM
Really handy to have a Docker image with Archi installed! I've used this for GitLab CI in order to produce a jasper-report as PDF. The .gitlab-ci.yml is here: https://gitlab.com/-/snippets/2180614 (https://gitlab.com/-/snippets/2180614).

There are some use cases for using jArchi as well, that could be a nice addon for the image.

  -TJ
Title: Re: Using GitHub Actions to create the HTML report
Post by: Phil Beauvoir on September 27, 2021, 07:18:17 AM
Quote from: tdalseide on September 26, 2021, 14:37:08 PM
Really handy to have a Docker image with Archi installed! I've used this for GitLab CI in order to produce a jasper-report as PDF. The .gitlab-ci.yml is here: https://gitlab.com/-/snippets/2180614 (https://gitlab.com/-/snippets/2180614).

There are some use cases for using jArchi as well, that could be a nice addon for the image.

  -TJ

Thanks for sharing, and welcome to the forums!

Phil
Title: Re: Using GitHub Actions to create the HTML report
Post by: whemix on December 08, 2021, 14:44:18 PM
I'm in the process of figuring out the same thing for our team using Azure DevOps Pipeline.

I'm a novice when it comes to setting up CI/CD pipelines.  Any pointers that can potentially help this process easier would be appreciated.

Title: Re: Using GitHub Actions to create the HTML report
Post by: whemix on December 14, 2021, 11:03:16 AM
I managed to do the same using Azure DevOps using Azure Pipeline.  In my case I wanted to generate all the possible reporting formats - HTML, PDF, ODT, PPT, DOCX, ODT, etc. and post it back to the repository.

Sharing the code here (https://github.com/whemix/archi-docker-v1.1) in case someone is trying to do the same or similar.

Note I have forked dsample's archi-docker and changed the following:


Title: Re: Using GitHub Actions to create the HTML report
Post by: blayde64 on March 18, 2023, 15:10:29 PM
Those docker images are great... is anyone updating them for Archi 5?