Skip to content
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

fix: mysql & pg ci problem #1641

Merged
merged 33 commits into from
Nov 10, 2021
Merged

fix: mysql & pg ci problem #1641

merged 33 commits into from
Nov 10, 2021

Conversation

imbajin
Copy link
Member

@imbajin imbajin commented Nov 10, 2021

fix #1634, main problems:

  • mysql runtime image can't work (use mysql action now)
  • passwd for mysql/pg is empty so cannot connect database correctly
  • use "******" as the default passwd now

@codecov
Copy link

codecov bot commented Nov 10, 2021

Codecov Report

Merging #1641 (ea09b15) into master (43b8ae7) will increase coverage by 3.72%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #1641      +/-   ##
============================================
+ Coverage     63.20%   66.93%   +3.72%     
- Complexity     6756     7063     +307     
============================================
  Files           421      421              
  Lines         34642    34645       +3     
  Branches       4797     4798       +1     
============================================
+ Hits          21897    23188    +1291     
+ Misses        10475     9113    -1362     
- Partials       2270     2344      +74     
Impacted Files Coverage Δ
...du/hugegraph/backend/store/mysql/MysqlOptions.java 95.65% <ø> (ø)
.../baidu/hugegraph/backend/tx/SchemaTransaction.java 89.76% <0.00%> (-0.68%) ⬇️
...va/com/baidu/hugegraph/backend/cache/RamCache.java 72.47% <0.00%> (-0.57%) ⬇️
...du/hugegraph/backend/tx/GraphIndexTransaction.java 84.00% <0.00%> (-0.11%) ⬇️
...ugegraph/backend/serializer/TableBackendEntry.java 89.00% <0.00%> (+1.00%) ⬆️
.../hugegraph/backend/store/BackendEntryIterator.java 64.78% <0.00%> (+1.40%) ⬆️
...aidu/hugegraph/backend/tx/AbstractTransaction.java 75.00% <0.00%> (+2.97%) ⬆️
...baidu/hugegraph/backend/store/mysql/MysqlUtil.java 96.61% <0.00%> (+3.38%) ⬆️
.../hugegraph/backend/serializer/TableSerializer.java 87.60% <0.00%> (+3.66%) ⬆️
...du/hugegraph/backend/store/mysql/WhereBuilder.java 95.37% <0.00%> (+18.51%) ⬆️
... and 17 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 43b8ae7...ea09b15. Read the comment docs.

@javeme javeme merged commit 417c73c into apache:master Nov 10, 2021
@imbajin imbajin added this to In progress in Apache Incubation via automation Nov 22, 2021
@imbajin imbajin moved this from In progress to Done in Apache Incubation Nov 22, 2021
@imbajin imbajin removed this from Done in Apache Incubation Nov 22, 2021
@@ -49,6 +50,19 @@ jobs:
run: |
$TRAVIS_DIR/install-backend.sh ${{ matrix.BACKEND }}

- name: Init Mysql Env
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 init mysql only if necessary?

Copy link
Member Author

Choose a reason for hiding this comment

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

yep, can only init it when backend is mysql (better init it in install-mysql-docker.sh, but it doesn't work well)

Comment on lines +63 to +65
#mysql user: 'root' # Required if "mysql root password" is empty, default is empty. The superuser for the specified database. Can use secrets, too
#mysql password: ${{ secrets.DatabasePassword }} # Required if "mysql user" exists. The password for the "mysql user"

Copy link
Contributor

Choose a reason for hiding this comment

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

can remove them

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.

[Apache] fix ci issues of mysql/pgsql
3 participants