-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix various issues with SQL generation, flink job routing, integratio…
…n-tests (#86) * Fix Flink SQL syntax and ability to push jobs to session cluster * Update integration-test step * Fix hoptimator-operator crashing issue
- Loading branch information
Showing
19 changed files
with
146 additions
and
54 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 |
---|---|---|
|
@@ -33,24 +33,28 @@ jobs: | |
kind load docker-image hoptimator | ||
kind load docker-image hoptimator-flink-runner | ||
kind load docker-image hoptimator-flink-operator | ||
- name: Deploy Dev Environment | ||
run: make deploy-dev-environment | ||
- name: Deploy Hoptimator | ||
run: make deploy | ||
- name: Deploy Samples | ||
run: make deploy-samples | ||
- name: Wait for Readiness | ||
run: kubectl wait kafka/one --for=condition=Ready --timeout=10m -n kafka | ||
- name: Run Integration Tests | ||
run: make integration-tests | ||
run: make integration-tests-kind | ||
- name: Capture Integration Reports | ||
if: failure() | ||
uses: actions/[email protected] | ||
with: | ||
name: reports | ||
path: | | ||
**/build/reports/tests/intTest/ | ||
- name: Capture Cluster State | ||
if: always() | ||
run: | | ||
kubectl describe pods | ||
kubectl describe deployments | ||
kubectl describe kafkas -n kafka | ||
kubectl describe flinkdeployments | ||
kubectl describe subscriptions | ||
kubectl get pods | ||
kubectl get svc | ||
kubectl get deployments | ||
kubectl get pods -n kafka | ||
kubectl get svc -n kafka | ||
kubectl get deployments -n kafka | ||
kubectl get kafkas -n kafka | ||
kubectl get flinkdeployments | ||
kubectl get subscriptions | ||
kubectl get pipelines | ||
- name: Capture Flink Job Logs | ||
if: always() | ||
run: | | ||
|
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 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 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 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,16 +1,16 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: Role | ||
kind: ClusterRole | ||
metadata: | ||
namespace: default | ||
name: hoptimator-operator | ||
rules: | ||
- apiGroups: ["hoptimator.linkedin.com"] | ||
resources: ["acls", "kafkatopics", "subscriptions", "sqljobs"] | ||
resources: ["acls", "kafkatopics", "subscriptions", "sqljobs", "pipelines"] | ||
verbs: ["get", "watch", "list", "update", "create"] | ||
- apiGroups: ["hoptimator.linkedin.com"] | ||
resources: ["kafkatopics/status", "subscriptions/status", "acls/status", "sqljobs/status"] | ||
resources: ["kafkatopics/status", "subscriptions/status", "acls/status", "sqljobs/status", "pipelines/status"] | ||
verbs: ["get", "patch"] | ||
- apiGroups: ["flink.apache.org"] | ||
resources: ["flinkdeployments"] | ||
resources: ["flinkdeployments", "flinksessionjobs"] | ||
verbs: ["get", "update", "create"] | ||
|
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 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 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 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
Oops, something went wrong.