Create General and Pipeline
All Thea's Pantry projects need to be set up to work with VSCode in Gitpod (rather than VSCode devcontainers).
- All settings from the
.devcontainer/devcontainer.json
file should be moved to.vscode/settings.json
- All extensions from the
.devcontainer/devcontainer.json
file should be moved to.vscode/extensions.json
.gitpod.yml
in theextensions
list. See .gitpod.yml vscode extensions documentation.
Refactor commands folder to bin
We are moving all developer commands from commands
to bin
. This is because bin
is the standard directory name on Linux systems, and because command
is an actual Linux command and so bash-completion has problems with it when using tab expansion.
- Rename
commands
tobin
- Some scripts refer to other scripts. Update all scripts paths to use
bin
. - Make sure that
.gitlab-ci.yaml
environment variables for pipeline stages like build, test, and release are using the correct path to those scripts. See https://gitlab.com/LibreFoodPantry/client-solutions/theas-pantry/documentation/-/blob/main/.gitlab-ci.yml?ref_type=heads as an example.
Add AlexJS linter to pipelines
We have decided to use the Alex linter for our documentation.
- Add the Alex linter to the pipeline for each project.
- Add the Alex linter to the
bin/lint.sh
script. - Run the linter on all files and make corrections where needed.
Edited by Jacob Elbirt