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

Add the simplest CI with make #10982

Draft
wants to merge 64 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
543b4d2
Add the simplest CI with make
HoloRin Apr 12, 2024
537e47c
just deps/rabbit first
HoloRin Apr 12, 2024
1ce0396
Make testing a plugin with make a reusable workflow
HoloRin Apr 12, 2024
85cb326
fix summary job
HoloRin Apr 12, 2024
8543db8
Add all the plugins
HoloRin Apr 12, 2024
593d919
Fix step name in reusable workflow
HoloRin Apr 15, 2024
b54ed38
Add the most basic test result caching
HoloRin Apr 15, 2024
2b8a7ef
fix artifact name collisions
HoloRin Apr 15, 2024
8d58080
fix testlogs path
HoloRin Apr 15, 2024
b03fac9
Fix copy-paste error
HoloRin Apr 15, 2024
128f10b
debug
HoloRin Apr 15, 2024
1fb622a
debug 2
HoloRin Apr 15, 2024
f177085
debug 3
HoloRin Apr 15, 2024
a363a75
try to get the cache path right
HoloRin Apr 15, 2024
afdbab6
account for empty cache
HoloRin Apr 15, 2024
0bff86b
split up tests
HoloRin Apr 15, 2024
83b0585
more cache fixes
HoloRin Apr 15, 2024
3913587
short timeout for pipeline development
HoloRin Apr 15, 2024
cca39f8
continue-on-error for dialyze for now
HoloRin Apr 16, 2024
ed540c9
slightly more intelligent cache key
HoloRin Apr 16, 2024
bcee6e0
fail-fast false
HoloRin Apr 16, 2024
22de8b1
must checkout the files to hash them
HoloRin Apr 16, 2024
a38618a
no continue-on-error
HoloRin Apr 16, 2024
1044497
Ignore dialyze errors for rabbitmq_ct_helpers & trust_store_http
HoloRin Apr 16, 2024
655a84a
Generate the deps/rabbit workflow with make
HoloRin Apr 17, 2024
d0517ea
try to fix caching again
HoloRin Apr 17, 2024
40c5764
Use a generated workflow for each plugin
HoloRin Apr 18, 2024
85cbf69
Also template test-make.yaml
HoloRin Apr 18, 2024
48fb2c9
Workaround the limit of 20 reusable workflows per workflow
HoloRin Apr 18, 2024
946ecfa
setup erlang before using erlang.mk
HoloRin Apr 18, 2024
86c833e
install ytt
HoloRin Apr 18, 2024
4e2b750
fix inputs. references
HoloRin Apr 18, 2024
8eadf14
fix another inputs. reference
HoloRin Apr 18, 2024
45ab6d2
update some cache flags
HoloRin Apr 24, 2024
4af5294
Handle the fact the github actions cache does not allows updates
HoloRin Apr 24, 2024
1a4c06d
trying to understand why save-always does not work
HoloRin Apr 24, 2024
058ea27
Try different cache actions
HoloRin Apr 25, 2024
c8b09b4
again rework caching
HoloRin Apr 25, 2024
6e80eed
debug caching
HoloRin Apr 25, 2024
e398f8b
Cache partial success for plugins
HoloRin Apr 25, 2024
bec47ae
Cache the initial 'make'
HoloRin Apr 25, 2024
dc30b64
add missing action param
HoloRin Apr 25, 2024
a3f468b
eliminate separate build step, since it's cached
HoloRin Apr 25, 2024
7936d30
install dotnet for testing deps/rabbit
HoloRin Apr 25, 2024
e135104
more cache key fixing
HoloRin Apr 25, 2024
6654fa3
Move test-make.template.yaml
HoloRin Apr 26, 2024
98b4a8b
Run xref at the project root
HoloRin Apr 26, 2024
5c04bc6
Temporarily run the plugin tests in parallel with deps/rabbit
HoloRin Apr 29, 2024
7785402
Symlink rabbit_federation_test_util for make
HoloRin Apr 29, 2024
62cb16e
Inject credentials for aws tests
HoloRin Apr 30, 2024
2d77477
Skip the aws integration tests
HoloRin Apr 30, 2024
84b9bb2
Avoid the need for all the extra artifacts
HoloRin Apr 30, 2024
4ad0bc0
Update glob for repo hash key
HoloRin May 1, 2024
6a9880e
Workaround actions/cache@v4 save-always not working as expected
HoloRin May 2, 2024
65aed64
Always recompute the previous attempt number
HoloRin May 2, 2024
1e466dc
Once again, the actions caches are immutable
HoloRin May 2, 2024
385635a
Fix dialyze error for deps/rabbit
HoloRin May 6, 2024
2eb3c6c
Avoid stale actions workflow generation
HoloRin May 6, 2024
8739458
regen actions workflows
HoloRin May 6, 2024
0ded9a7
try to add mixed version tests
HoloRin May 8, 2024
899bb10
Split test-make.yaml
HoloRin May 8, 2024
2f65ab2
use v3.12.x for mixed versions
HoloRin May 8, 2024
4a66358
Mixed versions on main branch should test against v3.13.x
HoloRin May 8, 2024
e5159cf
make mixed templating fixes
HoloRin May 10, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/data/amqp10_client.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
amqp10_client:
suites:
- msg
- system
7 changes: 7 additions & 0 deletions .github/workflows/data/amqp10_common.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
amqp10_common:
suites:
- binary_generator
- binary_parser
- prop
- serial_number
5 changes: 5 additions & 0 deletions .github/workflows/data/amqp_client.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
amqp_client:
suites:
- system
- unit
5 changes: 5 additions & 0 deletions .github/workflows/data/oauth2_client.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
oauth2_client:
suites:
- system
- unit
143 changes: 143 additions & 0 deletions .github/workflows/data/rabbit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,143 @@
---
rabbit:
suites:
- amqp_address
- amqp_auth
- amqp_client
- amqp_credit_api_v2
- amqp_proxy_protocol
- amqp_system
- amqqueue_backward_compatibility
- backing_queue
- bindings
- channel_interceptor
- channel_operation_timeout
- classic_queue_prop
- cli_forget_cluster_node
- cluster
- cluster_minority
- clustering_management
- clustering_recovery
- config_schema
- confirms_rejects
- consumer_timeout
- crashing_queues
- dead_lettering
- definition_import
- deprecated_features
- direct_exchange_routing_v2
- disconnect_detected_during_alarm
- disk_monitor
- dynamic_ha
- dynamic_qq
- eager_sync
- exchanges
- feature_flags
- feature_flags_v2
- feature_flags_with_unpriveleged_user
- list_consumers_sanity_check
- list_queues_online_and_offline
- logging
- lqueue
- maintenance_mode
- many_node_ha
- mc_unit
- message_size_limit
- metadata_store_clustering
- metadata_store_migration
- metadata_store_phase1
- metrics
- mirrored_supervisor
- msg_store
- peer_discovery_classic_config
- peer_discovery_dns
- peer_discovery_tmp_hidden_node
- per_node_limit
- per_user_connection_channel_limit
- per_user_connection_channel_limit_partitions
- per_user_connection_channel_tracking
- per_user_connection_tracking
- per_vhost_connection_limit
- per_vhost_connection_limit_partitions
- per_vhost_msg_store
- per_vhost_queue_limit
- policy
- priority_queue
- priority_queue_recovery
- product_info
- proxy_protocol
- publisher_confirms_parallel
- queue_length_limits
- queue_master_location
- queue_parallel
- queue_type
- quorum_queue
- quorum_queue_member_reconciliation
- rabbit_access_control
- rabbit_confirms
- rabbit_core_metrics_gc
- rabbit_cuttlefish
- rabbit_db_binding
- rabbit_db_exchange
- rabbit_db_maintenance
- rabbit_db_msup
- rabbit_db_policy
- rabbit_db_queue
- rabbit_db_topic_exchange
- rabbit_direct_reply_to_prop
- rabbit_fifo
- rabbit_fifo_dlx
- rabbit_fifo_dlx_integration
- rabbit_fifo_int
- rabbit_fifo_prop
- rabbit_fifo_v0
- rabbit_message_interceptor
- rabbit_stream_coordinator
- rabbit_stream_queue
- rabbit_stream_sac_coordinator
- rabbitmq_4_0_deprecations
- rabbitmq_queues_cli_integration
- rabbitmqctl_integration
- rabbitmqctl_shutdown
- routing
- runtime_parameters
- signal_handling
- simple_ha
- single_active_consumer
- sync_detection
- term_to_binary_compat_prop
- topic_permission
- transactions
- unicode
- unit_access_control
- unit_access_control_authn_authz_context_propagation
- unit_access_control_credential_validation
- unit_amqp091_content_framing
- unit_amqp091_server_properties
- unit_app_management
- unit_classic_mirrored_queue_sync_throttling
- unit_classic_mirrored_queue_throughput
- unit_cluster_formation_locking_mocks
- unit_cluster_formation_sort_nodes
- unit_collections
- unit_config_value_encryption
- unit_connection_tracking
- unit_credit_flow
- unit_disk_monitor
- unit_file_handle_cache
- unit_gen_server2
- unit_gm
- unit_log_management
- unit_operator_policy
- unit_pg_local
- unit_plugin_directories
- unit_plugin_versioning
- unit_policy_validators
- unit_priority_queue
- unit_queue_consumers
- unit_quorum_queue
- unit_stats_and_metrics
- unit_supervisor2
- unit_vm_memory_monitor
- upgrade_preparation
- vhost
9 changes: 9 additions & 0 deletions .github/workflows/data/rabbit_common.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
rabbit_common:
suites:
- rabbit_env
- supervisor2
- unit
- unit_password_hashing
- unit_priority_queue
- worker_pool
3 changes: 3 additions & 0 deletions .github/workflows/data/rabbitmq_amqp1_0.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
rabbitmq_amqp1_0:
suites: []
4 changes: 4 additions & 0 deletions .github/workflows/data/rabbitmq_amqp_client.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
rabbitmq_amqp_client:
suites:
- management
6 changes: 6 additions & 0 deletions .github/workflows/data/rabbitmq_auth_backend_cache.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
rabbitmq_auth_backend_cache:
suites:
- config_schema
- rabbit_auth_backend_cache
- rabbit_auth_cache
6 changes: 6 additions & 0 deletions .github/workflows/data/rabbitmq_auth_backend_http.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
rabbitmq_auth_backend_http:
suites:
- auth
- config_schema
- unit
6 changes: 6 additions & 0 deletions .github/workflows/data/rabbitmq_auth_backend_ldap.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
rabbitmq_auth_backend_ldap:
suites:
- config_schema
- system
- unit
12 changes: 12 additions & 0 deletions .github/workflows/data/rabbitmq_auth_backend_oauth2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
rabbitmq_auth_backend_oauth2:
suites:
- add_signing_key_command
- add_uaa_key_command
- config_schema
- jwks
- rabbit_oauth2_config
- scope
- system
- unit
- wildcard_match
3 changes: 3 additions & 0 deletions .github/workflows/data/rabbitmq_auth_mechanism_ssl.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
rabbitmq_auth_mechanism_ssl:
suites: []
3 changes: 3 additions & 0 deletions .github/workflows/data/rabbitmq_aws.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
rabbitmq_aws:
suites: []
4 changes: 4 additions & 0 deletions .github/workflows/data/rabbitmq_consistent_hash_exchange.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
rabbitmq_consistent_hash_exchange:
suites:
- rabbit_exchange_type_consistent_hash
3 changes: 3 additions & 0 deletions .github/workflows/data/rabbitmq_ct_client_helpers.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
rabbitmq_ct_client_helpers:
suites: []
4 changes: 4 additions & 0 deletions .github/workflows/data/rabbitmq_ct_helpers.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
rabbitmq_ct_helpers:
suites:
- terraform
6 changes: 6 additions & 0 deletions .github/workflows/data/rabbitmq_event_exchange.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
rabbitmq_event_exchange:
suites:
- config_schema
- system
- unit
10 changes: 10 additions & 0 deletions .github/workflows/data/rabbitmq_federation.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
rabbitmq_federation:
suites:
- exchange
- federation_status_command
- queue
- rabbit_federation_status
- restart_federation_link_command
- unit
- unit_inbroker
4 changes: 4 additions & 0 deletions .github/workflows/data/rabbitmq_federation_management.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
rabbitmq_federation_management:
suites:
- federation_mgmt
6 changes: 6 additions & 0 deletions .github/workflows/data/rabbitmq_jms_topic_exchange.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
rabbitmq_jms_topic_exchange:
suites:
- rjms_topic_selector
- rjms_topic_selector_unit
- sjx_evaluation
17 changes: 17 additions & 0 deletions .github/workflows/data/rabbitmq_management.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
rabbitmq_management:
suites:
- cache
- clustering
- clustering_prop
- config_schema
- listener_config
- rabbit_mgmt_http
- rabbit_mgmt_http_health_checks
- rabbit_mgmt_only_http
- rabbit_mgmt_rabbitmqadmin
- rabbit_mgmt_stats
- rabbit_mgmt_test_db
- rabbit_mgmt_test_unit
- rabbit_mgmt_wm_auth
- stats
7 changes: 7 additions & 0 deletions .github/workflows/data/rabbitmq_management_agent.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
rabbitmq_management_agent:
suites:
- exometer_slide
- metrics
- rabbit_mgmt_gc
- rabbit_mgmt_slide
22 changes: 22 additions & 0 deletions .github/workflows/data/rabbitmq_mqtt.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
rabbitmq_mqtt:
suites:
- auth
- cluster
- command
- config
- config_schema
- ff
- java
- mc_mqtt
- mqtt_machine
- packet_prop
- processor
- protocol_interop
- proxy_protocol
- rabbit_mqtt_confirms
- reader
- retainer
- shared
- util
- v5
6 changes: 6 additions & 0 deletions .github/workflows/data/rabbitmq_peer_discovery_aws.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
rabbitmq_peer_discovery_aws:
suites:
- config_schema
- integration
- unit
4 changes: 4 additions & 0 deletions .github/workflows/data/rabbitmq_peer_discovery_common.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
rabbitmq_peer_discovery_common:
suites:
- config_schema
5 changes: 5 additions & 0 deletions .github/workflows/data/rabbitmq_peer_discovery_consul.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
rabbitmq_peer_discovery_consul:
suites:
- config_schema
- rabbitmq_peer_discovery_consul
6 changes: 6 additions & 0 deletions .github/workflows/data/rabbitmq_peer_discovery_etcd.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
rabbitmq_peer_discovery_etcd:
suites:
- config_schema
- system
- unit
5 changes: 5 additions & 0 deletions .github/workflows/data/rabbitmq_peer_discovery_k8s.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
rabbitmq_peer_discovery_k8s:
suites:
- config_schema
- rabbitmq_peer_discovery_k8s
5 changes: 5 additions & 0 deletions .github/workflows/data/rabbitmq_prelaunch.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
rabbitmq_prelaunch:
suites:
- rabbit_logger_std_h
- rabbit_prelaunch_file
6 changes: 6 additions & 0 deletions .github/workflows/data/rabbitmq_prometheus.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
rabbitmq_prometheus:
suites:
- config_schema
- prometheus_rabbitmq_federation_collector
- rabbit_prometheus_http
3 changes: 3 additions & 0 deletions .github/workflows/data/rabbitmq_random_exchange.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
rabbitmq_random_exchange:
suites: []
4 changes: 4 additions & 0 deletions .github/workflows/data/rabbitmq_recent_history_exchange.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
rabbitmq_recent_history_exchange:
suites:
- system
5 changes: 5 additions & 0 deletions .github/workflows/data/rabbitmq_sharding.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
rabbitmq_sharding:
suites:
- rabbit_hash_exchange
- rabbit_sharding
13 changes: 13 additions & 0 deletions .github/workflows/data/rabbitmq_shovel.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
rabbitmq_shovel:
suites:
- amqp10
- amqp10_dynamic
- amqp10_shovel
- config
- configuration
- delete_shovel_command
- dynamic
- parameters
- rolling_upgrade
- shovel_status_command
Loading
Loading