Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
@sofarocean/code-loft
Advanced tools
Standard build script combining Terraform and custom pre- and post- deploy options
deploy
npx @sofarocean/code-loft deploy [--pre-apply <script>] [--post-apply <script>]
Running this command from your local machine or on a CI/CD server (such as with Github Actions) will:
dev
, staging
, or prod
) frome the current git branchterraform apply
with the .tfvars
corresponding to the chosen deploy environmentThe deployment environment can be overridden with the -d
or --deploy-env
option.
For a full list of options, run:
npx @sofarocean/code-loft deploy -h
When running on a CI/CD server, you can set the -a
or --auto-approve
option to auto-approve the Terraform changes.
If you find yourself using code-loft
frequently from the command line, you can create an alias by adding an entry to your ~/.profile
, ~/.bashrc
, or similar:
alias code-loft='npx @sofarocean/code-loft'
And then running commands from any directory with:
code-loft
promote
Promote code on dev
->staging
or staging
->prod
init
Initialize a project with the standard deployment setup:
/terraform
directory with [dev,staging,prod].tfvars
files[dev,staging,prod].env
files for environment variables in each environmentgit init
if neededdev
and staging
git branch and checkout dev
dev
, branch protection, linear history, etc?test
deploy
, but set up environment variables before running test commandFAQs
Standard build script combining Terraform and custom pre- and post- deploy options
We found that @sofarocean/code-loft demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.