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

Publish packages on GitHub #4449

Merged
merged 1 commit into from
Dec 30, 2024
Merged

Publish packages on GitHub #4449

merged 1 commit into from
Dec 30, 2024

Conversation

jacekwegr
Copy link
Collaborator

@jacekwegr jacekwegr commented Dec 24, 2024

This pull request updates the script to also publish built packages as release assets for tags.

The changes were tested with a test release and confirmed to work as expected.

CircleCI workflow: here

Test release on GH:
test_release

@jacekwegr jacekwegr changed the title Publishing packages on GitHub Publish packages on GitHub Dec 24, 2024
@mongoose-im

This comment was marked as outdated.

Copy link

codecov bot commented Dec 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.32%. Comparing base (bf50db9) to head (e09501a).
Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4449      +/-   ##
==========================================
- Coverage   85.33%   85.32%   -0.02%     
==========================================
  Files         550      550              
  Lines       33885    33885              
==========================================
- Hits        28916    28912       -4     
- Misses       4969     4973       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mongoose-im

This comment was marked as outdated.

@mongoose-im

This comment was marked as outdated.

@mongoose-im

This comment was marked as outdated.

@mongoose-im
Copy link
Collaborator

mongoose-im commented Dec 27, 2024

elasticsearch_and_cassandra_27 / elasticsearch_and_cassandra_mnesia / e09501a
Reports root/ big
OK: 472 / Failed: 0 / User-skipped: 49 / Auto-skipped: 0


small_tests_26 / small_tests / e09501a
Reports root / small


small_tests_27 / small_tests / e09501a
Reports root / small


small_tests_27_arm64 / small_tests / e09501a
Reports root / small


ldap_mnesia_26 / ldap_mnesia / e09501a
Reports root/ big
OK: 2353 / Failed: 0 / User-skipped: 912 / Auto-skipped: 0


ldap_mnesia_27 / ldap_mnesia / e09501a
Reports root/ big
OK: 2353 / Failed: 0 / User-skipped: 912 / Auto-skipped: 0


dynamic_domains_mysql_redis_27 / mysql_redis / e09501a
Reports root/ big
OK: 4726 / Failed: 0 / User-skipped: 154 / Auto-skipped: 0


internal_mnesia_27 / internal_mnesia / e09501a
Reports root/ big
OK: 2495 / Failed: 0 / User-skipped: 770 / Auto-skipped: 0


dynamic_domains_mssql_mnesia_27 / odbc_mssql_mnesia / e09501a
Reports root/ big
OK: 4756 / Failed: 0 / User-skipped: 124 / Auto-skipped: 0


dynamic_domains_pgsql_mnesia_26 / pgsql_mnesia / e09501a
Reports root/ big
OK: 4761 / Failed: 0 / User-skipped: 119 / Auto-skipped: 0


dynamic_domains_pgsql_mnesia_27 / pgsql_mnesia / e09501a
Reports root/ big
OK: 4761 / Failed: 0 / User-skipped: 119 / Auto-skipped: 0


pgsql_cets_27 / pgsql_cets / e09501a
Reports root/ big
OK: 4850 / Failed: 0 / User-skipped: 188 / Auto-skipped: 0


mysql_redis_27 / mysql_redis / e09501a
Reports root/ big
OK: 5130 / Failed: 0 / User-skipped: 149 / Auto-skipped: 0


cockroachdb_cets_27 / cockroachdb_cets / e09501a
Reports root/ big
OK: 4928 / Failed: 8 / User-skipped: 188 / Auto-skipped: 0

pubsub_SUITE:dag+basic:publish_with_max_items_test
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"alice_publish_with_max_items_test_2893@localhost/res1">>,
          escalus_tcp,<0.102060.0>,
          [{event_manager,<0.101979.0>},
           {server,<<"localhost">>},
           {username,<<"alicE_publish_with_max_items_test_2893">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.101979.0>},
            {server,<<"localhost">>},
            {username,
              <<"alicE_publish_with_max_items_test_2893">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,<<"alice_publish_with_max_items_test_2893">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,<<"alicE_publish_with_max_items_test_2893">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"353df0003b053e90">>}]},
        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"},
        {l...

Report log

pubsub_SUITE:dag+basic:publish_only_retract_items_scope_test
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"alice_publish_only_retract_items_scope_test_2896@localhost/res1">>,
          escalus_tcp,<0.102061.0>,
          [{event_manager,<0.102006.0>},
           {server,<<"localhost">>},
           {username,
             <<"alicE_publish_only_retract_items_scope_test_2896">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.102006.0>},
            {server,<<"localhost">>},
            {username,
              <<"alicE_publish_only_retract_items_scope_test_2896">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,
             <<"alice_publish_only_retract_items_scope_test_2896">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,
             <<"alicE_publish_only_retract_items_scope_test_2896">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"352e647bf0a3d99e">>}]},
        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_resp...

Report log

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_2903@localhost/res1">>,
          escalus_tcp,<0.102500.0>,
          [{event_manager,<0.102346.0>},
           {server,<<"localhost">>},
           {username,<<"alicE_create_node_errors_test_2903">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.102346.0>},
            {server,<<"localhost">>},
            {username,<<"alicE_create_node_errors_test_2903">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,<<"alice_create_node_errors_test_2903">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,<<"alicE_create_node_errors_test_2903">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"9e4b07d9014b25c8">>}]},
        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...

Report log

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_2924@localhost/res1">>,
          escalus_tcp,<0.102946.0>,
          [{event_manager,<0.102808.0>},
           {server,<<"localhost">>},
           {username,<<"alicE_create_node_errors_test_2924">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.102808.0>},
            {server,<<"localhost">>},
            {username,<<"alicE_create_node_errors_test_2924">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,<<"alice_create_node_errors_test_2924">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,<<"alicE_create_node_errors_test_2924">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"61c6bdacbcb3f643">>}]},
        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...

Report log

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_2949@localhost/res1">>,
          escalus_tcp,<0.103401.0>,
          [{event_manager,<0.103308.0>},
           {server,<<"localhost">>},
           {username,<<"alicE_create_node_errors_test_2949">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.103308.0>},
            {server,<<"localhost">>},
            {username,<<"alicE_create_node_errors_test_2949">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,<<"alice_create_node_errors_test_2949">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,<<"alicE_create_node_errors_test_2949">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"81c61684b00f8cba">>}]},
        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...

Report log

pubsub_SUITE:dag+basic:purge_all_items_test
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,<<"alice_purge_all_items_test_2944@localhost/res1">>,
          escalus_tcp,<0.103425.0>,
          [{event_manager,<0.103261.0>},
           {server,<<"localhost">>},
           {username,<<"alicE_purge_all_items_test_2944">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.103261.0>},
            {server,<<"localhost">>},
            {username,<<"alicE_purge_all_items_test_2944">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,<<"alice_purge_all_items_test_2944">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,<<"alicE_purge_all_items_test_2944">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"080886303eaadf7b">>}]},
        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}]},
     {pubsub_SUITE,'-purge_all_items_test/1-fun-0...

Report log

pubsub_SUITE:dag+basic:create_delete_node_test
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"alice_create_delete_node_test_2965@localhost/res1">>,
          escalus_tcp,<0.103867.0>,
          [{event_manager,<0.103727.0>},
           {server,<<"localhost">>},
           {username,<<"alicE_create_delete_node_test_2965">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.103727.0>},
            {server,<<"localhost">>},
            {username,<<"alicE_create_delete_node_test_2965">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,<<"alice_create_delete_node_test_2965">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,<<"alicE_create_delete_node_test_2965">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"8ce5879ee03f6542">>}]},
        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...

Report log

pubsub_SUITE:dag+manage_subscriptions:retrieve_user_subscriptions_test
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"alice_retrieve_user_subscriptions_test_2999@localhost/res1">>,
          escalus_tcp,<0.104485.0>,
          [{event_manager,<0.104474.0>},
           {server,<<"localhost">>},
           {username,
             <<"alicE_retrieve_user_subscriptions_test_2999">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.104474.0>},
            {server,<<"localhost">>},
            {username,
              <<"alicE_retrieve_user_subscriptions_test_2999">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,
             <<"alice_retrieve_user_subscriptions_test_2999">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,
             <<"alicE_retrieve_user_subscriptions_test_2999">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"65103a863561fa82">>}]},
        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,"/h...

Report log


pgsql_mnesia_27 / pgsql_mnesia / e09501a
Reports root/ big
OK: 5151 / Failed: 0 / User-skipped: 128 / Auto-skipped: 0


pgsql_mnesia_26 / pgsql_mnesia / e09501a
Reports root/ big
OK: 5151 / Failed: 0 / User-skipped: 128 / Auto-skipped: 0


mssql_mnesia_27 / odbc_mssql_mnesia / e09501a
Reports root/ big
OK: 5146 / Failed: 0 / User-skipped: 133 / Auto-skipped: 0


cockroachdb_cets_27 / cockroachdb_cets / e09501a
Reports root/ big
OK: 117 / Failed: 0 / User-skipped: 2 / Auto-skipped: 0

@jacekwegr jacekwegr marked this pull request as ready for review December 27, 2024 16:41
Copy link
Collaborator

@NelsonVides NelsonVides left a comment

Choose a reason for hiding this comment

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

LGTM 👌

@NelsonVides NelsonVides merged commit 193f25c into master Dec 30, 2024
3 of 4 checks passed
@NelsonVides NelsonVides deleted the publish-packages-gh branch December 30, 2024 10:37
@jacekwegr jacekwegr added this to the 6.3.1 milestone Dec 30, 2024
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.

3 participants