I hereby claim:
- I am pedromlcosta on github.
- I am pedromlcosta (https://keybase.io/pedromlcosta) on keybase.
- I have a public key ASAsu84W8NUSFYdtxnpYzhMFIVgwnYGiDzHwHfIg8j23Two
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
/** * Transfer holdership of assets to another person and update the status of the shipment */ | |
transaction UpdateShipment extends ShipmentTransaction{ | |
o ShipmentStatus status | |
o Location newLocation | |
o String message | |
→ supplyChainMember newHolder optional | |
} |
ID, Name, Retrieve, Parameters | |
1, selectShipmentByID, ShipmentBatch, Shipment ID |
ID | Name | Retrieve | Parameters | |
---|---|---|---|---|
1 | selectShipmentByID | ShipmentBatch | Shipment ID |
#!/bin/bash | |
if [ $? -eq 0 ]; then | |
echo "CI Branch: $CI_BRANCH" | |
echo "CI Pull Request: $CI_PULL_REQUEST" | |
DEPLOY_BRANCH="develop" | |
if [ "$CI_BRANCH" == "$DEPLOY_BRANCH" ] && [ "$CI_PULL_REQUEST" == "false" ]; then | |
# Hot swap need to know what is the current version | |
echo " :: Edeliver: Build" |
GIT_REVISION_HASH=$(git rev-parse HEAD) | |
GIT_USER=$(git config user.name) # Get username from your console | |
function migrate_start () { | |
echo " :: Migrate PRODUCTION database" | |
mix edeliver start production | |
if [ $? -eq 0 ]; then | |
echo " :: Start PRODUCTION server" |
checkout master | |
git pull | |
mix deps.get | |
mix compile | |
mix test |
checkout master | |
git pull | |
mix deps.get | |
mix compile | |
mix test |
# .circleci/config.yml | |
defaults: &defaults | |
parallelism: 1 # run only one instance of this job in parallel | |
working_directory: ~/app # directory where steps will run | |
docker: # run the steps with Docker | |
- image: circleci/elixir:1.7.3 # ...with this image as the primary container; this is where all `steps` will run | |
environment: # environment variables for primary container | |
MIX_ENV: test |
# .circleci/config.yml | |
defaults: &defaults | |
parallelism: 1 # run only one instance of this job in parallel | |
working_directory: ~/app # directory where steps will run | |
docker: # run the steps with Docker | |
- image: circleci/elixir:1.7.3 # ...with this image as the primary container; this is where all `steps` will run | |
environment: # environment variables for primary container | |
MIX_ENV: test |