-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Fix/elastic store update #5210
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
Open
dylanturn
wants to merge
20
commits into
apache:master
Choose a base branch
from
dylanturn:fix/elastic-store-update
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+86
−62
Open
Fix/elastic store update #5210
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
75318f0
updated elastic4s to support 7.10.x
dylanturn f3690a0
removed comments
dylanturn a2dacf7
adding gradle workflow
dylanturn 23bb9df
no idea what im doing
dylanturn be2c101
updated the elastic search activation store plugin
dylanturn 5707726
added back an import that i guess we needed?
dylanturn 51e8ab2
try get these images into a repo
dylanturn 3799f49
trying to get image pushing to work without tricks
dylanturn 4d1090d
undid change to dockerhub.groovy
dylanturn 08fc4a3
configure the action to run manually
dylanturn f50c70d
added space
dylanturn cc08255
trying to get this workflow_dispatch to work
dylanturn d309986
updated the ElasticSearchDurationCheckerTests test
dylanturn 0676879
update the MemoryQueueFlowTests elastic4s searches import
dylanturn ab12b5b
made some changes to fix the test
dylanturn a742486
updated an elastic import to fix a test
dylanturn 74b14c5
removed ambiguous import
dylanturn 97734cb
trying to fix a test
dylanturn db8bad0
somehow fixed the test
dylanturn 87b3dbd
Merge pull request #1 from dylanturn/fix/elastic-store-update-tests
dylanturn File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
adding gradle workflow
- Loading branch information
commit a2dacf7c02b546df1def0e59fe6c593ca0826def
There are no files selected for viewing
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# This workflow uses actions that are not certified by GitHub. | ||
# They are provided by a third-party and are governed by | ||
# separate terms of service, privacy policy, and support | ||
# documentation. | ||
|
||
name: Java CI | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up JDK 11 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: '11' | ||
distribution: 'adopt' | ||
- name: Validate Gradle wrapper | ||
uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b | ||
- name: Build with Gradle | ||
uses: gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee | ||
with: | ||
arguments: build |
This file contains hidden or 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 hidden or 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
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.
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 the goal here to run GHA instead of using Travis?
In any case this change seems orthogonal to the rest of the PR.
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.
I created that because I don't have a Travis or Jenkins environment to build this in and my personal laptop has an M1 chip in it. Additionally, I wanted to be sure that I had fixed the issue before I submitted the PR but left it in because I felt it could be beneficial to others who might want to build the project but don't have much Jenkins, Travis, or Gradle experience.
The action only runs when triggered manually.
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.
there are some unittests for es in
tests/src/test/scala/org/apache/openwhisk/core/database/elasticsearch/ElasticSearchActivationStoreTests.scala
which is usingtestcontainers
, so I think you can use it to run tests on your laptop?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.
It failed when trying to download one of the dependencies. I'll try again so I can get the dependency name.
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.
Just a quick update, I tried to build the project locally again and got the following error:
I must admit, this is my first time with Scala and Gradle, and while I think I might know what happened, I'm still trying to work out how to go about fixing it.