openedx / openedx/openedx-tutor-plugins

[tutor-contrib-paragon] paragon-build-tokens silently fails on k8s

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

Nobody has claimed this yet.

Dominant language
Python
Stars
4
Forks
16
Avg merge
4d 2h
Merged PRs (30d)
2

Description

From https://discuss.openedx.org/t/custom-brand-theme-with-paragon-design-tokens-ci-challenges-on-k8s-runners/19125

TL;DR: When building a custom Paragon design tokens theme and the CI runs inside Kubernetes pods (EKS-based GitHub Actions runners, etc.), tutor local do paragon-build-tokens and the docker run -v approach will silently fail.

The solution in the forum post was to pre-build the CSS separately.

We should investigate what it would take to have this command not fail in k8s.

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 with the tutor local do paragon-build-tokens entry point and the docker run -v approach described in the issue. Reproduce the behavior in a Kubernetes-based GitHub Actions runner and compare it with pre-building the CSS separately. Done means the Kubernetes behavior is understood and the command no longer silently fails, with the relevant outcome covered by the change.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, github-actions, kubernetes, python
Domain
build-system, devops, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.