Shell (bash) wrapper
Tidak butuh install package manager. Deploy via 1 curl command.
Install
sudo curl -fsSL https://raw.githubusercontent.com/RenzyArmstrong/Calvery-Vault/master/sdk/shell/calvery \ -o /usr/local/bin/calverysudo chmod +x /usr/local/bin/calveryRequirements: bash 4+, curl, jq.
Setup env
export CVSM_TOKEN=cvsm_xxxexport CVSM_TEAM=acme-corpexport CVSM_ENV=production # opsionalCommands
Get single
calvery get DATABASE_URLcalvery get STRIPE_KEY --env stagingExport ke .env file
calvery export --env production > .envInject + exec
calvery inject -- node server.jscalvery inject -- python manage.py migratecalvery inject -- ./deploy.sh stagingDockerfile
FROM node:20-slimRUN apt-get update && apt-get install -y curl jq --no-install-recommends \ && rm -rf /var/lib/apt/lists/*RUN curl -fsSL https://raw.githubusercontent.com/RenzyArmstrong/Calvery-Vault/master/sdk/shell/calvery \ -o /usr/local/bin/calvery && chmod +x /usr/local/bin/calvery
WORKDIR /appCOPY . .RUN npm ci --production
ENTRYPOINT ["calvery", "inject", "--"]CMD ["node", "server.js"]GitHub Actions
- name: Install calvery run: | curl -fsSL https://raw.githubusercontent.com/RenzyArmstrong/Calvery-Vault/master/sdk/shell/calvery \ -o /usr/local/bin/calvery chmod +x /usr/local/bin/calvery
- name: Deploy env: CVSM_TOKEN: ${{ secrets.CVSM_TOKEN }} CVSM_TEAM: acme-corp run: calvery inject -- ./scripts/deploy.sh