Skip to content

appsoftwareltd/as-vscode-devops

Repository files navigation

AS DevOps Tools

A collection of DevOps productivity tools for VS Code.


Features

SOPS: Encrypt / Decrypt File

Adds SOPS: Encrypt File and SOPS: Decrypt File to the right-click context menu in the VS Code explorer.

Right-click any file and choose the action. The extension runs sops --encrypt --in-place or sops --decrypt --in-place on the selected file and reports success or failure via a VS Code notification.

Prerequisites: sops must be installed and on your PATH.

Installing SOPS:

# Windows (winget)
winget install Mozilla.sops

# Windows (Chocolatey)
choco install sops

# macOS (Homebrew)
brew install sops

# Linux (apt / deb)
# Download the latest .deb from https://github.com/getsops/sops/releases
# e.g. for amd64:
curl -LO https://github.com/getsops/sops/releases/latest/download/sops_amd64.deb
sudo dpkg -i sops_amd64.deb

See the SOPS releases page for all platform binaries.

SOPS also requires a key provider (AWS KMS, GCP KMS, Azure Key Vault, age, or PGP) configured in a .sops.yaml file at your repository root. See the SOPS documentation for setup details.

creation_rules:
  - path_regex: .*
    age: <age public key>

Installation

Install from the VS Code Marketplace, or install a local VSIX build:

npm run package
code --install-extension as-devops-1.0.0.vsix

See TECHNICAL.md for build and development details.

Publishing

Releases are published to the VS Code Marketplace manually, then a GitHub Release is created automatically when a version tag is pushed.

Step 1 - bump the version

Update version in package.json and add an entry to CHANGELOG.md.

Step 2 - publish to the VS Code Marketplace

npm run build
npx @vscode/vsce package
npx @vscode/vsce login appsoftwareltd   # enter PAT token if auth expired
npx @vscode/vsce publish

Step 3 - tag and push

git add .
git commit -m "Release v1.0.1"   # change version
git tag v1.0.1                   # change version
git push origin main --tags

About

A collection of DevOps tools for VS Code

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors