querido-diario-data-processing para Windows #39
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
O MakeFile tem alguns comandos diferentes incluindo a remoção de "cp":
substituir cp --no-clobber contrib/sample.env envvars || true POR copy /y contrib\sample.env envvars
O comando "wait-for" substituído por:
$(IMAGE_NAMESPACE)/$ (IMAGE_NAME):$(IMAGE_TAG) $1)
run-command=(podman run --rm -ti --volume $(PWD):/mnt/code:rw
--pod $(POD_NAME)
--env PYTHONPATH=/mnt/code
--env POSTGRES_PASSWORD=$(POSTGRES_PASSWORD)
--env POSTGRES_USER=$(POSTGRES_USER)
--env POSTGRES_DB=$(POSTGRES_DB)
--env POSTGRES_HOST=$(POSTGRES_HOST)
--env POSTGRES_PORT=$(POSTGRES_PORT)
Além disso, foi necessário deixar requirements.txt na pasta scripts. O comando COPY no DockerFile não funcionou para Windows.
Não testei todas as funcionalidades do data-processing, mas não dá para fazer um merge direto pois existem essas mudanças no Makefile.