Announcements and Fixing Needed
Hey, so I spent a decent amount of work turning this project into a model for the other repositories. Here are some of the key points:
- The
Docker.{{ Docker build target }}.test.ymlfiles are key to making everything work. If there is more than one build target then there there should beDocker.build_target_1.test.ymlandDocker.build_target_2.test.yml. The build target names should match the build targets in theDockerfile. Please check out theDockerfileto see how we can leverage this project to create two unique products - one, a CodeClimate engine and the other a regular linter. The same should be done for all the other projects. -
pnpmshould be used - Most of the nitty gritty is automated. Documentation and all that is pretty much done. All you need to worry about are the details in the
.blueprintsection ofpackage.json. Just fill those details in, create a modest README partial indocs/partials/guide.md, and then runbash start.sh&&task init--- everything should automatically rescaffold itself for the most part --- please let me know about bugs - The two main features that you need to get working for each of the linters is the
task buildandtask testcommand. The build task looks at the container-structure-test (i.e.Docker.build_target.test.ymlfiles) and detects which build targets there are and then builds regular and slim containers. The.blueprint.dockerSlimCommandjust needs to be filled out for each container. - The test task does a few things. It does the
container-structure-test, then it tests the CodeClimate engine via the CLI, and then it tests the stages that start withintegrationin.gitlab-ci.yml. There's another optional one that compares the output of running a lint sequence but I think container-strcuture-test is good enough.
What Needs to Be Done on This Repository
- The
slimbuild for thecodeclimate-eslintbuild target is not working - it says thatglobis missing. I literally just tried for hours to fix it to no avail so I have to pass this off to you for my sanity. - I had
container-strucutre-testworking at one point but then I started getting errors. I realized there were issues with one of the builds that might have been causing the structure tests to fail. - The
task testcommand should do:
container-structure-test- CodeClimate CLI test
-
.gitlab-ci.ymlintegration test