a3d9630336
Doing some cleanup in "scripts" folder. All integration like tests are moved under "test" directory (integration, bc, redis) and bash scripts are adjusted to reflect new location. As an addition "scripts/install-awscli.sh" was deleted as it was not used. Change-Id: I152905c4258f471a71f2d0e8731d91bb075e99c1
9 lines
496 B
Bash
Executable File
9 lines
496 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -ueo pipefail
|
|
|
|
PERIOD=$(date -d "$(date +%Y-%m)-15 last month" '+%m/%Y')
|
|
satellite --config-dir $SATELLITE_0_DIR billing prepare-invoice-records $PERIOD
|
|
satellite --config-dir $SATELLITE_0_DIR billing create-invoice-items $PERIOD
|
|
satellite --config-dir $SATELLITE_0_DIR billing create-invoice-coupons $PERIOD
|
|
satellite --config-dir $SATELLITE_0_DIR billing create-invoices $PERIOD
|
|
satellite --config-dir $SATELLITE_0_DIR billing finalize-invoices $PERIOD |