New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

barque

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

barque

barque CLI

  • 0.0.6
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

barque

package and deploy an upmk project

License

MIT - see LICENSE

Package

Build webapp with docker and tag in git. Doing so will:

  • verify valid version number
  • verify you are on an acceptable git branch (master || main by default)
    • set this with an allowed-branches key in your upmk.yml file for each environment
  • docker build your app (with included tag)
  • git tag the repo (and push the tag to the remote)
  • update your upmk.yml environment with the new docker image name + tag
  • build your bin/restart-<environent>.sh file with the latest image name + tag
barque package <envirnoment> <version> [--npm-token=token --skip-git --skip-docker-push]

For example

barque package production 0.2.45 --npm-token=abcdefg

Options

  • pass along --npm-token to use it as an NPM_TOKEN build arg
  • skip over git tagging and push with --skip-git
  • skip the docker push step with --skip-docker-push

Deploy

Runs the local bin/restart-<env>.sh script file via ssh on the configured server

barque deploy <environment>

For example

barque deploy production

Will execute the local bin/restart-production.sh script that gets built during packaging

TODO:

  • none

FAQs

Package last updated on 17 Apr 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc