Golangci-Lint Setup Recipe
Montuer has a continuously developed setup recipe dedicated for GolangCI-Lint
development environment.
The objective is simple: to setup a localized GolangCI-Lint
development environment in a consistent and reproducible manner.
All users has to do is to issue this command:
|
|
For this recipe, they are arranged based on its own semantic versioning and is not directly related to Monteur's actual release version. Hence, feel free to explore and update each versions to suit your CI needs.
Resources
This recipe is built and maintained based on the following resources:
Go Programming Language - https://golangci-lint.run/
Monteur Setup Data Structure - https://monteur.zoralab.com/en/ci-jobs/setup/
Recipe File
Here are all the Monteur Setup CI Job recipe files
for operating GolangCI-Lint
semi-autonomously.
They are sorted by the latest version first, at the top.
Please read through its requiremnets and changes before
procuring.
Version v3.0.0
Download Link: golangci-lint-v3p0p0.toml
Minimum Requirements
Montuer version:
v0.0.3
and above.Supported platform: STRICTLY depends on
Monteur
availability.
Installation Instructions
Download and place the recipe file into your
.configs/monteur/setup/jobs/
directory asgolangci-lint.toml
.Update the recipe's
Variables.Version
matching the new version number.Update the recipe's
Variables.BaseURL
if the core development team changes it again.Update the recipe's
Sources.XXX.Checksum.Value
with each matching checksum values for matching new release.
Changelog
NOT BACKWARD COMPATBILE - Refactored for
arm
development environment like using.SourceSystem
instead of.ComputeSystem
in CEU.
Version v2.0.0
Download Link: golangci-lint-v2p0p0.toml
Minimum Requirements
Montuer version:
v0.0.2
.Supported platform: STRICTLY depends on
Monteur
availability.
Installation Instructions
Download and place the recipe file into your
.configs/monteur/setup/jobs/
directory asgolangci-lint.toml
.Update the recipe's
Variables.Version
matching the new version number.Update the recipe's
Variables.BaseURL
if the core development team changes it again.Update the recipe's
Sources.XXX.Checksum.Value
with each matching checksum values for matching new release.
Changelog
NOT BACKWARD COMPATBILE - Replaced
[[Setup]]
into[[CMD]]
.NOT BACKWARD COMPATBILE - Changed to use new Monteur setup algorithms.
BACKWARD COMPATBILE - Supported continuous download between cancellations.
BACKWARD COMPATBILE - Deleted target only when needed (right before copy).
BACKWARD COMPATBILE - Added custom HTTPS headers table (
[Sources.all-all.headers]
).
Version v1.0.0
Download Link: golangci-lint-v1p0p0.toml
Minimum Requirements
Montuer version:
v0.0.1
.Supported platform: STRICTLY depends on
Monteur
availability.
Installation Instructions
Download and place the recipe file into your
.configs/monteur/setup/programs/
directory asgolangci-lint.toml
.Update the recipe's
Variables.Version
matching the new version number.Update the recipe's
Variables.BaseURL
if the core development team changes it again.Update the recipe's
Sources.XXX.Checksum.Value
with each matching checksum values for matching new release.
Changelog
BACKWARD COMPATBILE - Created the base TOML configuration recipe.
BACKWARD COMPATBILE - Tested with GitLab CI.
BACKWARD COMPATBILE - Updated to GolangCI-Lint version
1.43.0
.
Epilogue
That's all for Monteur's Setup CI Job handling GolangCI-Lint
environment setup tasks.
If you have any question, please feel free to raise your
question at our Issues
Section.