-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[STRMCMP-1658] Enable Deploys to Fallback without State #287
Changes from all commits
42eb35f
8932cf3
f94219f
caadae6
68ad78f
5e1bc6b
a397152
841924c
f05c41d
d004ec2
cdc027b
d2cfc6d
30d4644
c92aae4
d9350f4
924725b
9aacdbf
2845963
25b4859
8781624
062390f
d97fbb5
bcb53bc
fb202d4
f3a3775
3b2e806
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ ENV PATH=$FLINK_HOME/bin:$HADOOP_HOME/bin:$MAVEN_HOME/bin:$PATH | |
COPY . /code | ||
|
||
# Configure Flink version | ||
ENV FLINK_VERSION=1.11.6 \ | ||
ENV FLINK_VERSION=1.8.1 \ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. returning this back to 1.8.1 which corresponds to the image in dockerhub. Attempted to update this in the integration test PR but am reverting for now as not to deal with further configuration options that are non-trivial when dealing with 8GB memory total for github actions |
||
HADOOP_SCALA_VARIANT=scala_2.12 | ||
|
||
# Install dependencies | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package com.lyft; | ||
|
||
public class Settings { | ||
private static final String SKIP_INDUCED_FAILURE = "SKIP_INDUCED_FAILURE"; | ||
|
||
public static boolean skipInducedFailure() { | ||
return System.getenv(SKIP_INDUCED_FAILURE) != null && System.getenv(SKIP_INDUCED_FAILURE).equals("true"); | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,21 +3,15 @@ | |
# Test App Setup | ||
|
||
# TODO: upgrade flink test app from 1.8 | ||
#cd integ/operator-test-app | ||
#export TEST_APP_IMAGE=operator-test-app:$(git rev-parse HEAD) | ||
#docker build -t $TEST_APP_IMAGE . | ||
#docker tag $TEST_APP_IMAGE flink-test-app:local.1 | ||
#docker tag $TEST_APP_IMAGE flink-test-app:local.2 | ||
#minikube image load flink-test-app:local.1 | ||
#minikube image load flink-test-app:local.2 | ||
# | ||
#cd ../../ | ||
|
||
docker pull lyft/operator-test-app:b1b3cb8e8f98bd41f44f9c89f8462ce255e0d13f.1 | ||
docker pull lyft/operator-test-app:b1b3cb8e8f98bd41f44f9c89f8462ce255e0d13f.2 | ||
minikube image load lyft/operator-test-app:b1b3cb8e8f98bd41f44f9c89f8462ce255e0d13f.1 | ||
minikube image load lyft/operator-test-app:b1b3cb8e8f98bd41f44f9c89f8462ce255e0d13f.2 | ||
|
||
cd integ/operator-test-app | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Building the test app image as part of the integration test as opposed to relying on the remote image whose contents may not match the integ/operator-test-app contents |
||
export TEST_APP_IMAGE=operator-test-app:$(git rev-parse HEAD) | ||
docker build -t $TEST_APP_IMAGE . | ||
docker tag $TEST_APP_IMAGE operator-test-app:local.1 | ||
docker tag $TEST_APP_IMAGE operator-test-app:local.2 | ||
minikube image load operator-test-app:local.1 | ||
minikube image load operator-test-app:local.2 | ||
|
||
cd ../../ | ||
|
||
# Operator Setup | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this comment incorrect because on line 115 you assert error is nil?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh! You can not verifying that the app is failing is it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lines have moved around since but if you are referring to
s.Util.GetFlinkApplication
this gets the k8s FlinkApplication CR and the err corresponds to if there were errors retrieving the CR object as opposed to anything related to the status of the actual job.Ln 135
s.Util.FlinkAPIGet(newApp, endpoint)
gets the actual flink job and corresponding status to show that the job itself is healthy