Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docker/datahub-upgrade/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ DATAHUB_MAE_CONSUMER_PORT=9091
2. Pull (or build) & execute the `datahub-upgrade` container:

```aidl
docker pull acryldata/datahub-upgrade && docker run --env-file *path-to-custom-env-file.env* acryldata/datahub-upgrade:latest -u NoCodeDataMigration
docker pull acryldata/datahub-upgrade:head && docker run --env-file *path-to-custom-env-file.env* acryldata/datahub-upgrade:head -u NoCodeDataMigration
```

## Arguments
Expand All @@ -88,7 +88,7 @@ For example, to run the migration named "NoCodeDataMigration", you would do exec
OR

```aidl
docker pull acryldata/datahub-upgrade && docker run --env-file env/docker.env acryldata/datahub-upgrade:latest -u NoCodeDataMigration
docker pull acryldata/datahub-upgrade:head && docker run --env-file env/docker.env acryldata/datahub-upgrade:head -u NoCodeDataMigration
```

In addition to the required `-u` argument, each upgrade may require specific arguments. You can provide arguments to individual
Expand All @@ -104,5 +104,5 @@ To specify these, you can use a combination of `-a` arguments and of the form *a
OR

```aidl
docker pull acryldata/datahub-upgrade && docker run --env-file env/docker.env acryldata/datahub-upgrade:latest -u NoCodeDataMigration -a batchSize=500 -a batchDelayMs=1000
docker pull acryldata/datahub-upgrade:head && docker run --env-file env/docker.env acryldata/datahub-upgrade:head -u NoCodeDataMigration -a batchSize=500 -a batchDelayMs=1000
```
2 changes: 1 addition & 1 deletion docker/datahub-upgrade/datahub-upgrade.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
IMAGE=acryldata/datahub-upgrade:head
cd $DIR && docker pull ${IMAGE} && docker run --env-file ./env/docker.env --network="datahub_network" ${IMAGE} "$@"
cd $DIR && docker pull ${IMAGE} && docker run --env-file ./env/docker.env --network="datahub_network" ${IMAGE} "$@"
1 change: 1 addition & 0 deletions docker/ingestion/ingestion.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
export DATAHUB_VERSION=${DATAHUB_VERSION:-head}
cd $DIR && docker-compose pull && docker-compose -p datahub up
1 change: 1 addition & 0 deletions docker/quickstart-ember.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

# Quickstarts an Ember-serving variant of DataHub by pulling all images from dockerhub and then running the containers locally.
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
export DATAHUB_VERSION=${DATAHUB_VERSION:-head}
cd $DIR && docker-compose -f docker-compose.yml -f docker-compose.override.yml -f docker-compose.ember.yml pull && docker-compose -p datahub \
-f docker-compose.yml \
-f docker-compose.override.yml \
Expand Down
5 changes: 3 additions & 2 deletions docker/quickstart.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/bin/bash

# Quickstarts DataHub by pulling all images from dockerhub and then running the containers locally. No images are
# built locally. Note: by default this pulls the latest version; you can change this to a specific version by setting
# built locally. Note: by default this pulls the latest (head) version; you can change this to a specific version by setting
# the DATAHUB_VERSION environment variable.
export DATAHUB_VERSION=${DATAHUB_VERSION:-head}
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
cd $DIR && docker-compose pull && docker-compose -p datahub up
cd $DIR && docker-compose pull && docker-compose -p datahub up