copacetic icon indicating copy to clipboard operation
copacetic copied to clipboard

feat: Add a new .devcontainer

Open jpinz opened this issue 1 year ago • 2 comments

This pull request includes changes to the development environment configuration. The most important changes are the addition of a new development container configuration, a post-creation script for the development container, and a .gitattributes file to enforce line endings.

Development container configuration:

  • .devcontainer/devcontainer.json: A new development container configuration has been added. The container is named "copacetic" and is based on the mcr.microsoft.com/devcontainers/base:jammy image. It includes Docker-in-Docker and Go features, runs a post-creation script, sets the remote user to "vscode", and installs several VS Code extensions.

Post-creation script:

  • .devcontainer/post-create.sh: A post-creation script for the development container has been added. It installs the Trivy security scanner, changes the ownership of all files in the current directory to "vscode", and runs the make command.

Line endings enforcement:

  • .gitattributes: A new .gitattributes file has been added to enforce LF line endings for all text files.

jpinz avatar Jan 08 '24 21:01 jpinz

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (b91c45d) 32.59% compared to head (980fd49) 32.59%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #465   +/-   ##
=======================================
  Coverage   32.59%   32.59%           
=======================================
  Files          17       17           
  Lines        1617     1617           
=======================================
  Hits          527      527           
  Misses       1058     1058           
  Partials       32       32           

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Jan 08 '24 21:01 codecov[bot]

@jpinz please make sure to sign your commits (see DCO failure) https://project-copacetic.github.io/copacetic/website/contributing#developer-certificate-of-origin-dco

sozercan avatar Jan 08 '24 22:01 sozercan

Closing due to inactivity. Please feel free to re-open if there's ongoing work. Thanks!

sozercan avatar Jul 03 '24 18:07 sozercan