-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Replace the Flink cli actions with REST calls * Flink rest api alter docker base (#13) * Replace the Flink cli actions with REST calls * Build on top of latest alpine image and remove setup for Flink CLI * Remove unneeded env vars * Use different env vars for Flink host/port * Remove env vars from dockerfile and list in README * Replace the Flink cli actions with REST calls * Refactor all the things * Alter ing.com to proper github.com/ing-bank location * Support testing all packages and report coverage in travis * Adjust README to use test-with-coverage script * Update README with new update command, set deploy as default for compose * Use the correct PATCH API to terminate the job * Method comments and linting happiness * Allow for specifying a savepoint-dir when deploying * Do not deploy when updating a job which isn't running * Move some example commands to separate markdown doc * Add the savepoint-dir as a CLI option for deploy
- Loading branch information
Marc Rooding
authored
Aug 27, 2018
1 parent
c27d95b
commit b94f5e2
Showing
698 changed files
with
169,938 additions
and
1,510 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
cover.out | ||
cli | ||
target/ | ||
.idea | ||
/cli |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,10 @@ | ||
FROM flink:1.5.1 | ||
FROM alpine:3.8 | ||
|
||
ENV HIGH_AVAILABILITY=none \ | ||
JOB_MANAGER_RPC_ADDRESS=localhost \ | ||
JOB_MANAGER_RPC_PORT=6123 \ | ||
JOB_MANAGER_WEB_ADDRESS=0.0.0.0 \ | ||
JOB_MANAGER_WEB_PORT=8081 | ||
|
||
# Required to run our cli binary | ||
RUN apt-get update && \ | ||
apt-get install -y gettext vim musl | ||
|
||
COPY ./conf/flink-conf-template.yaml /flink-deployer/conf/flink-conf-template.yaml | ||
COPY docker-entrypoint.sh /flink-deployer/docker-entrypoint.sh | ||
COPY cli /flink-deployer/cli | ||
|
||
RUN mkdir -p /data/flink && \ | ||
chgrp -R root /opt/flink && \ | ||
chmod -R 775 /flink-deployer ${FLINK_HOME} /opt/flink | ||
|
||
WORKDIR /flink-deployer | ||
|
||
VOLUME [ "/data/flink" ] | ||
|
||
ENTRYPOINT [ "/flink-deployer/docker-entrypoint.sh" ] | ||
ENTRYPOINT [ "/flink-deployer/cli" ] | ||
CMD [ "help" ] |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.