posit-dev / posit-dev/images-shared

Implement common `goss.yaml` patterns in `goss.j2`

Open
#353 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

cvp:0 docker enhancement tdp:3
Dominant language
Python
Stars
2
Forks
0
Avg merge
4d 13h
Merged PRs (30d)
22

Description

We should consider adding common goss patterns to the goss.j2 macro module.

Common actions:

  • Packages
    • Verifying packages from a text file package list are installed
  • Commands
    • Verifying installed Python/R/Quarto versions match expectations
    • Python/R packages are installed
    • TinyTeX is installed in Quarto
    • Jupyter installation renders

We could consider shared macros on the various products as well, though at that point we should consider using multiple files that are included into goss.yaml to reduce confusion with rendering multiple sections for different checks.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading goss.j2 and the existing product macros, then compare them with the goss.yaml patterns described in the issue. Define the common package, version, package-installation, TinyTeX, and Jupyter checks and decide whether shared includes are needed; done means the selected patterns can be rendered without confusing duplicate sections.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, r
Domain
devops, testing-qa
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.