Skip to content

Add github actions ci pipeline #286

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

Merged
merged 1 commit into from
Sep 17, 2021
Merged

Conversation

mwang2016
Copy link
Contributor

No description provided.

@github-actions
Copy link

github-actions bot commented Sep 14, 2021

Unit Test Results

  23 files    23 suites   38s ⏱️
138 tests 138 ✔️ 0 💤 0 ❌

Results for commit 9819ae7.

♻️ This comment has been updated with latest results.

@mwang2016 mwang2016 force-pushed the github-ci-pipeline branch 28 times, most recently from 87a7f99 to 092d0c3 Compare September 15, 2021 00:37
@github-actions
Copy link

@mwang2016 mwang2016 force-pushed the github-ci-pipeline branch 11 times, most recently from 0d75759 to 5b11f69 Compare September 16, 2021 04:22
kafka_package: "kafka_2.11-2.0.0.tgz"
- kafka_version: "2.1.0"
kafka_package: "kafka_2.12-2.1.0.tgz"
- kafka_version: "2.6.0"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we add support for kafka 2.8.0 and kafka 2.7.1?

https://kafka.apache.org/downloads

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure, i will add them

- kafka_version: "2.6.0"
kafka_package: "kafka_2.13-2.6.0.tgz"
env:
CI_SPLUNK_VERSION: "8.2.0"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we use splunk 8.2.2?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure

CI_KAFKA_HEADER_INDEX: kafka
CI_DATAGEN_IMAGE: rock1017/log-generator:latest
CI_OLD_CONNECTOR_VERSION: v1.2.0
KUBERNETES_VERSION: v1.15.2
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we dont use k8s and minikube here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it was a mistake, I thought i would install splunk on kubernetes, forgot to remove it after.

CI_INDEX_EVENTS: main
CI_KAFKA_HEADER_INDEX: kafka
CI_DATAGEN_IMAGE: rock1017/log-generator:latest
CI_OLD_CONNECTOR_VERSION: v1.2.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this can be changed to 2.0.2 now right?

Copy link
Contributor Author

@mwang2016 mwang2016 Sep 16, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is the old version of connector that I need to use for testing upgrade. So you mean we should test upgrade with the last version?

test/config.yaml Outdated
kafka_home: /usr/local/kafka
kafka_connect_home: /home/circleci/repo
old_connector_name: splunk-kafka-connect-v1.2.0.jar
old_connector_name: splunk-kafka-connect-v1.2.0.jar
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can be changed if we change the old connector version

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be 2.0.1 right?

@@ -74,7 +74,7 @@ def delete_kafka_connector(setup, connector):
response = requests.delete(url=setup["kafka_connect_url"] + "/connectors/" + connector,
headers={'Accept': 'application/json', 'Content-Type': 'application/json'})
if response.status_code == 204:
logger.info("Deleted connector successfully - " + connector)
# logger.info("Deleted connector successfully - " + connector)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can be changed to debug

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes

@mwang2016 mwang2016 force-pushed the github-ci-pipeline branch 7 times, most recently from 63beef7 to c6c4c1c Compare September 16, 2021 21:11
@mwang2016 mwang2016 force-pushed the github-ci-pipeline branch 2 times, most recently from 602d4e5 to 492051f Compare September 17, 2021 18:04
test/config.yaml Outdated
kafka_home: /usr/local/kafka
kafka_connect_home: /home/circleci/repo
old_connector_name: splunk-kafka-connect-v1.2.0.jar
old_connector_name: splunk-kafka-connect-v1.2.0.jar
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be 2.0.1 right?

@chaitanyaphalak chaitanyaphalak merged commit 0fd8689 into develop Sep 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants