$ nomad node-drain -self -enable
!#/bin/bash
export NOMAD_DATA_ROOT=/opt/nomad
for ALLOC in `ls -d $NOMAD_DATA_ROOT/alloc/*`; do
for JOB in `ls ${ALLOC} | grep -v alloc`; do
| # copy from this orb | |
| # https://circleci.com/orbs/registry/orb/guitarrapc/git-shallow-clone | |
| version: 2.1 | |
| commands: | |
| checkout_shallow: | |
| description: checkout with git shallow clone. Support Alpine, Ubuntu, Debian and | |
| others. | |
| parameters: | |
| depth: |
| const TerserPlugin = require('terser-webpack-plugin'); | |
| module.exports = { | |
| optimization: { | |
| minimizer: [ | |
| new TerserPlugin({ | |
| parallel: 2, | |
| }), | |
| ], | |
| } |
I hereby claim:
To claim this, I am signing this object: