-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 9a64734
Showing
9 changed files
with
657 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the | ||
// README at: https://github.com/devcontainers/templates/tree/main/src/ubuntu | ||
{ | ||
"name": "DevOpsUbuntu", | ||
"userEnvProbe": "loginInteractiveShell", | ||
"image": "mcr.microsoft.com/vscode/devcontainers/base:0-ubuntu-22.04", | ||
"runArgs": [ | ||
"--privileged", | ||
"--cap-add=SYS_PTRACE", | ||
"--security-opt", | ||
"seccomp=unconfined" | ||
], | ||
"remoteUser": "vscode", | ||
"containerUser": "vscode", | ||
"updateRemoteUserUID": true, | ||
"mounts": ["source=brew,target=/home/linuxbrew,type=volume,consistency=cached"], | ||
"features": { | ||
"ghcr.io/meaningful-ooo/devcontainer-features/homebrew:2": {}, | ||
"ghcr.io/devcontainers/features/docker-in-docker:2": { | ||
"moby": true, | ||
"installDockerBuildx": true, | ||
"version": "latest", | ||
"dockerDashComposeVersion": "v2" | ||
}, | ||
"ghcr.io/devcontainers-contrib/features/heroku-cli:1": {} | ||
}, | ||
|
||
// Use 'forwardPorts' to make a list of ports inside the container available locally. | ||
// "forwardPorts": [], | ||
|
||
// Use 'postCreateCommand' to run commands after the container is created. | ||
// "postCreateCommand": "uname -a", | ||
|
||
// Configure tool-specific properties. | ||
"customizations": { | ||
"vscode": { | ||
"settings": { | ||
"dotfiles.targetPath": "~/.dotfiles", | ||
"dotfiles.repository": "https://github.com/hvg-dev/dotfiles.git", | ||
"terminal.integrated.defaultProfile.linux": "zsh", | ||
"terminal.integrated.shell.linux": "zsh", | ||
"terminal.integrated.shellArgs.linux": [ "-l" ] | ||
}, | ||
"extensions": [ | ||
"timonwong.shellcheck", | ||
"ms-azuretools.vscode-docker", | ||
"editorconfig.editorconfig", | ||
"ms-vscode.makefile-tools", | ||
"vscode-icons-team.vscode-icons" | ||
] | ||
} | ||
} | ||
|
||
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. | ||
// "remoteUser": "root" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"Verbose": false, | ||
"Debug": false, | ||
"IgnoreDefaults": false, | ||
"SpacesAftertabs": false, | ||
"NoColor": false, | ||
"Exclude": [ | ||
".git/", | ||
"README.md" | ||
], | ||
"AllowedContentTypes": [], | ||
"PassedFiles": [], | ||
"Disable": { | ||
"EndOfLine": false, | ||
"Indentation": false, | ||
"IndentSize": false, | ||
"InsertFinalNewline": false, | ||
"TrimTrailingWhitespace": false, | ||
"MaxLineLength": false | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
indent_style = space | ||
indent_size = 4 | ||
trim_trailing_whitespace = true | ||
|
||
[{Makefile,**.mk}] | ||
# Use tabs for indentation (Makefiles require tabs) | ||
indent_style = tab | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false | ||
indent_size = 2 | ||
|
||
[*.{yml,yaml,tf}] | ||
indent_size = 2 | ||
|
||
[*.{json,ecrc}] | ||
indent_size = 2 | ||
|
||
[*.{xml,conf}] | ||
indent_size = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
pull_request: | ||
workflow_dispatch: #kezi inditas | ||
|
||
jobs: | ||
|
||
check: | ||
name: Check | ||
runs-on: [ubuntu-latest] | ||
|
||
steps: | ||
- uses: actions/checkout@master | ||
- uses: editorconfig-checker/action-editorconfig-checker@main | ||
- name: EditorConfig Check | ||
run: editorconfig-checker | ||
- name: Json / Yaml Validate | ||
id: json-yaml-validate | ||
uses: GrantBirki/[email protected] | ||
with: | ||
comment: "true" | ||
allow_multiple_documents: "true" | ||
exclude_file: ".jsonyamlex" | ||
- name: ShellCheck | ||
uses: ludeeus/action-shellcheck@master | ||
env: | ||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | ||
- name: PS-Check | ||
uses: SleepySysadmin/github-action-pscheck@master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
build/* | ||
!build/manifest.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# exclude devcontainer.json | ||
.devcontainer/devcontainer.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
tap "homebrew/bundle" | ||
brew "editorconfig-checker" | ||
brew "shellcheck" | ||
brew "direnv" | ||
#brew "qemu" | ||
brew "yq" | ||
brew "jq" | ||
vscode "Command is only available in WSL or inside a Visual Studio Code terminal." |
Oops, something went wrong.