Corrensa
08/23/2021, 11:47 AMtrap: ERR: bad trap Removing previous generator if it exists
[DEPRECATED] Marcos Marx
Corrensa
08/24/2021, 8:09 PMCorrensa
08/24/2021, 8:09 PM[DEPRECATED] Marcos Marx
[DEPRECATED] Marcos Marx
Corrensa
08/24/2021, 8:12 PM[DEPRECATED] Marcos Marx
[DEPRECATED] Marcos Marx
Corrensa
08/24/2021, 8:14 PMCorrensa
08/25/2021, 2:53 PM#!/usr/bin/env sh
_UID=$(id -u)
_GID=$(id -g)
# Remove container if already exist
echo "Removing previous generator if it exists..."
docker container rm -f airbyte-connector-bootstrap >/dev/null 2>&1
# Build image for container from Dockerfile
# Specify the host system user UID and GID to chown the generated files to host system user.
# This is done because all generated files in container with mounted folders has root owner
echo "Building generator docker image..."
docker build --build-arg UID="$_UID" --build-arg GID="$_GID" . -t airbyte/connector-bootstrap
# Run the container and mount the airbyte folder
if [ $# -eq 2 ]; then
echo "2 arguments supplied: 1=$1 2=$2"
docker run --name airbyte-connector-bootstrap --user $_UID:$_GID -e package_desc="$1" -e package_name="$2" -v "$(pwd)/../../../.":/airbyte airbyte/connector-bootstrap
else
echo "Running generator..."
docker run --rm -it --name airbyte-connector-bootstrap --user $_UID:$_GID -v "$(pwd)/../../../.":/airbyte airbyte/connector-bootstrap
fi
echo "Finished running generator"
exit 0
This worked fineCorrensa
08/25/2021, 2:58 PMRemoving previous generator if it exists...
While trying to generate a connector, an error occurred on line of generate.sh and the process aborted early. This is probably a bug.
Corrensa
08/25/2021, 3:00 PM[DEPRECATED] Marcos Marx
[DEPRECATED] Marcos Marx
Corrensa
08/25/2021, 9:20 PMRodrigo Parra
09/09/2021, 4:35 PMRodrigo Parra
09/09/2021, 4:36 PM[DEPRECATED] Marcos Marx
Rodrigo Parra
09/09/2021, 4:38 PM[DEPRECATED] Marcos Marx
[DEPRECATED] Marcos Marx
Rodrigo Parra
09/09/2021, 10:54 PMRodrigo Parra
09/09/2021, 11:20 PMRemoving previous generator if it exists...
While trying to generate a connector, an error occurred on line 13 of generate.sh and the process aborted early. This is probably a bug.Pulled from master, still the same error unfortunately
Rodrigo Parra
09/09/2021, 11:39 PM[DEPRECATED] Marcos Marx