-
Notifications
You must be signed in to change notification settings - Fork 428
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
Publish MIM packages #4432
Publish MIM packages #4432
Conversation
aa925df
to
641a570
Compare
This comment was marked as outdated.
This comment was marked as outdated.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #4432 +/- ##
==========================================
- Coverage 85.33% 85.18% -0.15%
==========================================
Files 549 549
Lines 33863 33863
==========================================
- Hits 28896 28847 -49
- Misses 4967 5016 +49 ☔ View full report in Codecov by Sentry. |
This comment was marked as outdated.
This comment was marked as outdated.
e28331a
to
2041b0f
Compare
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
f3407c6
to
15efe8f
Compare
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
15efe8f
to
280a339
Compare
This comment was marked as outdated.
This comment was marked as outdated.
280a339
to
06d877f
Compare
This comment was marked as outdated.
This comment was marked as outdated.
elasticsearch_and_cassandra_27 / elasticsearch_and_cassandra_mnesia / 594520e small_tests_26 / small_tests / 594520e small_tests_27 / small_tests / 594520e small_tests_27_arm64 / small_tests / 594520e internal_mnesia_27 / internal_mnesia / 594520e cluster_commands_SUITE:join_twice_in_parallel_using_rpc{'EXIT',{{badrpc,timeout},
{distributed_helper,rpc,
[#{timeout => 60000,
node => mongooseim2@localhost},
mongoose_cluster,join,
[mongooseim@localhost]],
[{file,"/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
{line,140}]}}} cluster_commands_SUITE:cluster_of_three{error,
{{assertEqual,
[{module,cluster_commands_SUITE},
{line,357},
{expression,"OpCode1"},
{expected,0},
{value,1}]},
[{cluster_commands_SUITE,cluster_of_three,1,
[{file,
"/home/circleci/project/big_tests/tests/cluster_commands_SUITE.erl"},
{line,357}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1794}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1303}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,1235}]}]}} cluster_commands_SUITE:leave_the_three{error,
{{badrpc,timeout},
[{distributed_helper,rpc,
[#{timeout => 60000,node => mongooseim2@localhost},
mongoose_cluster,join,
[mongooseim@localhost]],
[{file,
"/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
{line,140}]},
{cluster_commands_SUITE,leave_the_three,1,
[{file,
"/home/circleci/project/big_tests/tests/cluster_commands_SUITE.erl"},
{line,369}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1794}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1303}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,1235}]}]}} cluster_commands_SUITE:remove_alive_from_cluster{error,
{{badrpc,timeout},
[{distributed_helper,rpc,
[#{timeout => 60000,node => mongooseim2@localhost},
mongoose_cluster,join,
[mongooseim@localhost]],
[{file,
"/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
{line,140}]},
{cluster_commands_SUITE,remove_alive_from_cluster,1,
[{file,
"/home/circleci/project/big_tests/tests/cluster_commands_SUITE.erl"},
{line,411}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1794}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1303}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,1235}]}]}} component_SUITE:init_per_suite{fail,[{validate_node_failed,mongooseim_not_running,mongooseim2@localhost}]} connect_SUITE:init_per_suite{fail,[{validate_node_failed,mongooseim_not_running,mongooseim2@localhost}]} disco_and_caps_SUITE:init_per_suite{fail,[{validate_node_failed,mongooseim_not_running,mongooseim2@localhost}]} extdisco_SUITE:init_per_suite{fail,[{validate_node_failed,mongooseim_not_running,mongooseim2@localhost}]} gdpr_SUITE:init_per_suite{fail,[{validate_node_failed,mongooseim_not_running,mongooseim2@localhost}]} graphql_SUITE:init_per_suite{fail,[{validate_node_failed,mongooseim_not_running,mongooseim2@localhost}]} graphql_sse_SUITE:init_per_suite{fail,[{validate_node_failed,mongooseim_not_running,mongooseim2@localhost}]} graphql_account_SUITE:init_per_suite{fail,[{validate_node_failed,mongooseim_not_running,mongooseim2@localhost}]} graphql_domain_SUITE:init_per_suite{fail,[{validate_node_failed,mongooseim_not_running,mongooseim2@localhost}]} graphql_last_SUITE:init_per_suite{fail,[{validate_node_failed,mongooseim_not_running,mongooseim2@localhost}]} graphql_muc_SUITE:init_per_suite{fail,[{validate_node_failed,mongooseim_not_running,mongooseim2@localhost}]} graphql_muc_light_SUITE:init_per_suite{fail,[{validate_node_failed,mongooseim_not_running,mongooseim2@localhost}]} graphql_offline_SUITE:init_per_suite{fail,[{validate_node_failed,mongooseim_not_running,mongooseim2@localhost}]} graphql_private_SUITE:init_per_suite{fail,[{validate_node_failed,mongooseim_not_running,mongooseim2@localhost}]} graphql_roster_SUITE:init_per_suite{fail,[{validate_node_failed,mongooseim_not_running,mongooseim2@localhost}]} graphql_session_SUITE:init_per_suite{fail,[{validate_node_failed,mongooseim_not_running,mongooseim2@localhost}]} graphql_stanza_SUITE:init_per_suite{fail,[{validate_node_failed,mongooseim_not_running,mongooseim2@localhost}]} graphql_stats_SUITE:init_per_suite{fail,[{validate_node_failed,mongooseim_not_running,mongooseim2@localhost}]} graphql_gdpr_SUITE:init_per_suite{fail,[{validate_node_failed,mongooseim_not_running,mongooseim2@localhost}]} graphql_token_SUITE:init_per_suite{fail,[{validate_node_failed,mongooseim_not_running,mongooseim2@localhost}]} graphql_mnesia_SUITE:init_per_suite{fail,[{validate_node_failed,mongooseim_not_running,mongooseim2@localhost}]} 72 errors were truncated ldap_mnesia_26 / ldap_mnesia / 594520e dynamic_domains_mysql_redis_27 / mysql_redis / 594520e ldap_mnesia_27 / ldap_mnesia / 594520e dynamic_domains_pgsql_mnesia_26 / pgsql_mnesia / 594520e dynamic_domains_mssql_mnesia_27 / odbc_mssql_mnesia / 594520e pgsql_cets_27 / pgsql_cets / 594520e dynamic_domains_pgsql_mnesia_27 / pgsql_mnesia / 594520e pgsql_mnesia_26 / pgsql_mnesia / 594520e cockroachdb_cets_27 / cockroachdb_cets / 594520e pubsub_SUITE:dag+basic:create_node_errors_test{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,
<<"alice_create_node_errors_test_2931@localhost/res1">>,
escalus_tcp,<0.108229.0>,
[{event_manager,<0.108081.0>},
{server,<<"localhost">>},
{username,<<"alicE_create_node_errors_test_2931">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.108081.0>},
{server,<<"localhost">>},
{username,<<"alicE_create_node_errors_test_2931">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"alice_create_node_errors_test_2931">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"alicE_create_node_errors_test_2931">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"c40a990248e644fe">>}]},
5000],
[{file,
"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,136}]},
{pubsub_tools,receive_response,3,
[{file,"/home/circleci/project/big_tests/tests/pubsub_tools.erl"},
{line,433}]},
{pubsub_tools,receive_and_check_response,4,
[{file,"/home/circleci/project/big_tests/tests/pubsub_tools.erl"},
{line,424}]},
{escalus_story,sto... pubsub_SUITE:dag+collection_config:disable_persist_items_leaf_test{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,
<<"alice_disable_persist_items_leaf_test_3003@localhost/res1">>,
escalus_tcp,<0.109706.0>,
[{event_manager,<0.109686.0>},
{server,<<"localhost">>},
{username,<<"alicE_disable_persist_items_leaf_test_3003">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.109686.0>},
{server,<<"localhost">>},
{username,
<<"alicE_disable_persist_items_leaf_test_3003">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"alice_disable_persist_items_leaf_test_3003">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"alicE_disable_persist_items_leaf_test_3003">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"e28eff481dbd1a97">>}]},
5000],
[{file,
"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,136}]},
{pubsub_tools,receive_response,3,
[{file,"/home/circleci/project/big_tests/tests/pubsub_tools.erl"},
{line,433}]},
{pubsub_tools,receive_and_check_response,4,
[{file,"/home/circleci/project/big_tests/tests/pubsub_too... pubsub_SUITE:dag+collection_config:disable_payload_leaf_test{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,
<<"alice_disable_payload_leaf_test_3007@localhost/res1">>,
escalus_tcp,<0.109784.0>,
[{event_manager,<0.109772.0>},
{server,<<"localhost">>},
{username,<<"alicE_disable_payload_leaf_test_3007">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.109772.0>},
{server,<<"localhost">>},
{username,<<"alicE_disable_payload_leaf_test_3007">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"alice_disable_payload_leaf_test_3007">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"alicE_disable_payload_leaf_test_3007">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"dea7a351a7d8ad08">>}]},
5000],
[{file,
"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,136}]},
{pubsub_tools,receive_response,3,
[{file,"/home/circleci/project/big_tests/tests/pubsub_tools.erl"},
{line,433}]},
{pubsub_tools,receive_and_check_response,4,
[{file,"/home/circleci/project/big_tests/tests/pubsub_tools.erl"},
{line,424}]},
{escalus... pubsub_SUITE:dag+collection_config:disable_persist_items_leaf_test{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,
<<"alice_disable_persist_items_leaf_test_3011@localhost/res1">>,
escalus_tcp,<0.109859.0>,
[{event_manager,<0.109858.0>},
{server,<<"localhost">>},
{username,<<"alicE_disable_persist_items_leaf_test_3011">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.109858.0>},
{server,<<"localhost">>},
{username,
<<"alicE_disable_persist_items_leaf_test_3011">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"alice_disable_persist_items_leaf_test_3011">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"alicE_disable_persist_items_leaf_test_3011">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"0b0f32121b0daceb">>}]},
5000],
[{file,
"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,136}]},
{pubsub_tools,receive_response,3,
[{file,"/home/circleci/project/big_tests/tests/pubsub_tools.erl"},
{line,433}]},
{pubsub_tools,receive_and_check_response,4,
[{file,"/home/circleci/project/big_tests/tests/pubsub_too... pgsql_mnesia_27 / pgsql_mnesia / 594520e mysql_redis_27 / mysql_redis / 594520e mssql_mnesia_27 / odbc_mssql_mnesia / 594520e internal_mnesia_27 / internal_mnesia / 594520e |
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.
Looks good 👍
I checked one of the uploaded packages, and it worked.
This PR updates the process for pushing packages to the S3 bucket. Packages are now uploaded for both tagged releases and the master branch. For branches, packages are stored in folders named after their commit hash, making them easier to find. Additionally, branch packages are automatically deleted after one year.
It was tested both for branches https://app.circleci.com/pipelines/github/esl/MongooseIM/13467/workflows/69929869-e414-46e7-a3cf-f6bdb88171b1 and for tags https://app.circleci.com/pipelines/github/esl/MongooseIM/13466/workflows/6d0ba527-a341-4f57-a47f-e485f383777a (all the package related jobs passed).
Possible follow-up: