GitLab Pages and IIB

GitLab Pages and IIB

The recent version 17 release of GitLab has added some enhancements and fixed some issues.

On the of the newer features that has had some improvements is GitLab Pages.

I have worked with a few different teams making use of GitLab as a version control system and as a Ci/Cd tool. I thought that it might be a good chance to try out GitLab Pages, which is part of the GitLab deployable documentation for a project.

Particularly, as already have teams using separate standalone solutions for hosting the deployable documentation that we generate.

We have done previous demonstrations of generating diagrams and content as markdown for use in GitLab as part of setting up a GitHub wiki.

We also did a demonstration of generating BackStage documentation from WMB/IIB/ACE code.

These are not really as nice as doing "true" HTML content. With markdown (or BackStage) we lose a lot of functionality around presenting details back to the teams using our software.

So I wanted to see if it GitLab Pages gives us some more options, as anything that can help with automated generation of diagrams and documentation is good.

Most diagrams are stale by the time they are released. I remember when I had a contract at university (college) where I was updating network design details. I think the parts I did on day one needed to be updated when I finished two weeks later. They had already become stale. Expecting development teams to update documentation outside of the code is prone to drift.

I'm not a big fan of having corporate code in external 3rd party source control. So I'm not sure how the visibility works with private GitLab source code and having public pages.

So it's something that is really useful for this demonstration. As I can make all the pages public for the purpose of a showcase, but not what I would do if I had my companies code held in a private GitLab repository.

But GitLab pages are new, so there is still time for GitLab to work out some of these issues that might limit what teams can do with their tools.

We like to use a consistent demo, so we have take then setup we did where used BDD testing in a GitLab runner for ACE, and then we have then used that code as the basis for this demonstration and generated diagrams and documentation from the same same code.

To make it a bit more interesting, we did add a few more message flows so that we got something that filled the page.

You can find the sample project here:

https://gitlab.com/better-coding-tools/bct-ace-ant-gitlab/-/tree/master

and the steps for the GitLab pipeline here:

https://gitlab.com/better-coding-tools/bct-ace-ant-gitlab/-/blob/master/.gitlab-ci.yml


Which includes :

  • building a bar
  • running some ACE tests
  • running SonarQube analysis
  • copying the generated html and associated files to "public" - which is where they must reside
  • creating the pages using the "pages" stage


The pages generated can be found here:

https://better-coding-tools.gitlab.io/bct-ace-ant-gitlab/


You can also find the SonarQube instance we used for the reporting here:

https://bettercodingtoolschecker.com:9000/projects

It's just a demonstration site, so there's no guarantee that it will be active.


If you are interested in seeing a walk through and demonstration or ask any questions, I am doing a demonstration next Thursday.

You can register here:

https://bct.clickmeeting.com/gitlab-pages-demo/register


More information on our products and on pricing can be found on our website:

https://bettercodingtools.com

You can also reach me via email at:

[email protected]

Or contact me via the contact page on our website:

www.bettercodingtools.com/contact

Regards

Richard

要查看或添加评论,请登录

Richard Huegill的更多文章

  • Opaque parsing and performance

    Opaque parsing and performance

    A while back I was asked what our tooling could do to help improve performance for ACE/IIB code. Whether that means…

    4 条评论
  • Embedding DrawIO IIB/WMB/ACE flow diagrams in Confluence

    Embedding DrawIO IIB/WMB/ACE flow diagrams in Confluence

    Happy New Year My last demonstration was all the way back in time, 2024, almost 3 months and 4 hangovers ago. Or 3…

  • Apologies for the broken webinar

    Apologies for the broken webinar

    So last week we attempted to do a webinar on creating Confluence pages to summarize WMB/IIB/ACE code. Unfortunately…

  • Something I don't know too much about

    Something I don't know too much about

    It's ACE and Java classLoader's (but I'm sure friends will be able to point out many others). Actually this is only…

  • Confluence page generation for IIB/WMB/ACE applications

    Confluence page generation for IIB/WMB/ACE applications

    The larger an organization becomes, the more challenging that it is for an organization to manage is combined knowledge…

    2 条评论
  • WMB / IIB / ACE GitLab pages (with sound this time)

    WMB / IIB / ACE GitLab pages (with sound this time)

    The recent version 17 release of GitLab has added GitLab pages. Last week we did a live demo on using GitLab Pages to…

    2 条评论
  • SonarQube 10.6 released

    SonarQube 10.6 released

    SonarSource recently a new version of their Sonarqube platform - SonarQube 10.6 For us, we have to update some of build…

  • Squid's (not the game)

    Squid's (not the game)

    When I develop code, I have never gotten it write first time. This is compounded when you work integration tooling.

  • Information radiators for IIB/ACE/WMB projects managed in GitLab

    Information radiators for IIB/ACE/WMB projects managed in GitLab

    Some of the functionality that we have in our plugin is more the "art" side of software engineering then the hard…

  • Uncle Ben and ACE

    Uncle Ben and ACE

    As organizations interact more and more with the public cloud (AWS, GCP, Azure) or software as a service (SaaS)…

社区洞察

其他会员也浏览了