This file contains hidden or 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
| @echo off | |
| setlocal | |
| @REM set TF_LOG=DEBUG | |
| terraform plan -generate-config-out=generated_resources.tf | |
| code generated_resources.tf | |
| endlocal |
This file contains hidden or 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
| @echo off | |
| setlocal | |
| @REM set TF_LOG=DEBUG | |
| set ENV=qa | |
| IF NOT EXIST "%CD%\backends" ( | |
| echo "No backends directory found. Using default backend configuration." | |
| terraform init -reconfigure -upgrade | |
| ) ELSE ( | |
| echo "Using backend configuration from backends/%ENV%.tfbackend" | |
| terraform init -reconfigure -upgrade -backend-config=./backends/%ENV%.tfbackend |
This file contains hidden or 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
| @echo off | |
| git fetch --all | |
| git branch -a -v %* |
This file contains hidden or 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
| start "" https://www.sap-tables.org/table/%*.html | |
| start "" https://leanx.eu/en/sap/table/%*.html |
This file contains hidden or 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
| @echo off | |
| chcp 437 > nul | |
| pushd %~dp0 | |
| powershell -command ".\gcurl.ps1 -Uri %*" | |
| popd |
This file contains hidden or 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
| # read parameters from the command line | |
| param( | |
| # [string]$namespace = "yompreportsqa", | |
| [string]$namespace = "default", | |
| [string]$pattern = "", | |
| [bool]$previous = $false | |
| ) | |
| # check if pattern has a space and if so, split it in two and use the first part | |
| $container = "" |
This file contains hidden or 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
| @echo off | |
| chcp 437 > nul | |
| pushd %~dp0 | |
| powershell -command ".\kubernetes_edit.ps1 -name ""%*""" | |
| popd |
This file contains hidden or 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
| @echo off | |
| @REM kubectl config rename-context aksympdescbscus yomp | |
| @REM kubectl config set-context --current --namespace=yompqa | |
| @REM kubectl config use-context yomp | |
| kubectl config get-contexts | |
| kubectl config use-context %* | |
| kubectl config get-contexts |
This file contains hidden or 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
| @echo off | |
| powershell %* |
This file contains hidden or 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
| @echo off | |
| @REM kubectl config rename-context aksympdescbscus yomp | |
| @REM kubectl config set-context --current --namespace=yompqa | |
| @REM kubectl config use-context yomp | |
| @REM kubectl config use-context %* | |
| kubectl config get-contexts |