Enable CI on GHA

Closes gh-61
This commit is contained in:
Stéphane Nicoll
2024-07-16 16:04:28 +02:00
parent a401bdbea7
commit 636034b7dc
36 changed files with 1108 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
name: 3.3.x | Boot Smoke Tests | Actuator Webflux
on:
schedule:
- cron : '10 0 * * *'
workflow_dispatch:
jobs:
actuator_webflux_app_test:
name: Actuator Webflux App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: boot:actuator-webflux
task: appTest
actuator_webflux_checkpoint_restore_app_test:
name: Actuator Webflux Checkpoint Restore App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: boot:actuator-webflux
task: checkpointRestoreAppTest

View File

@@ -0,0 +1,24 @@
name: 3.3.x | Boot Smoke Tests | Actuator Webmvc
on:
schedule:
- cron : '10 0 * * *'
workflow_dispatch:
jobs:
actuator_webmvc_app_test:
name: Actuator Webmvc App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: boot:actuator-webmvc
task: appTest
actuator_webmvc_checkpoint_restore_app_test:
name: Actuator Webmvc Checkpoint Restore App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: boot:actuator-webmvc
task: checkpointRestoreAppTest

View File

@@ -0,0 +1,24 @@
name: 3.3.x | Cloud Smoke Tests | Context Refresh Hikari
on:
schedule:
- cron : '10 0 * * *'
workflow_dispatch:
jobs:
context_refresh_hikari_app_test:
name: Context Refresh Hikari App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: cloud:context-refresh-hikari
task: appTest
context_refresh_hikari_checkpoint_restore_app_test:
name: Context Refresh Hikari Checkpoint Restore App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: cloud:context-refresh-hikari
task: checkpointRestoreAppTest

View File

@@ -0,0 +1,33 @@
name: 3.3.x | Cloud Smoke Tests | Context Refresh Http
on:
schedule:
- cron : '10 0 * * *'
workflow_dispatch:
jobs:
context_refresh_http_test:
name: Context Refresh Http Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: cloud:context-refresh-http
task: test
context_refresh_http_app_test:
name: Context Refresh Http App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: cloud:context-refresh-http
task: appTest
context_refresh_http_checkpoint_restore_app_test:
name: Context Refresh Http Checkpoint Restore App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: cloud:context-refresh-http
task: checkpointRestoreAppTest

View File

@@ -0,0 +1,33 @@
name: 3.3.x | Cloud Smoke Tests | Context Refresh
on:
schedule:
- cron : '10 0 * * *'
workflow_dispatch:
jobs:
context_refresh_test:
name: Context Refresh Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: cloud:context-refresh
task: test
context_refresh_app_test:
name: Context Refresh App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: cloud:context-refresh
task: appTest
context_refresh_checkpoint_restore_app_test:
name: Context Refresh Checkpoint Restore App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: cloud:context-refresh
task: checkpointRestoreAppTest

View File

@@ -0,0 +1,24 @@
name: 3.3.x | Cloud Smoke Tests | Loadbalancing
on:
schedule:
- cron : '10 0 * * *'
workflow_dispatch:
jobs:
loadbalancing_app_test:
name: Loadbalancing App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: cloud:loadbalancing
task: appTest
loadbalancing_checkpoint_restore_app_test:
name: Loadbalancing Checkpoint Restore App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: cloud:loadbalancing
task: checkpointRestoreAppTest

View File

@@ -0,0 +1,24 @@
name: 3.3.x | Data Smoke Tests | Data Jdbc
on:
schedule:
- cron : '10 0 * * *'
workflow_dispatch:
jobs:
data_jdbc_app_test:
name: Data Jdbc App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: data:data-jdbc
task: appTest
data_jdbc_checkpoint_restore_app_test:
name: Data Jdbc Checkpoint Restore App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: data:data-jdbc
task: checkpointRestoreAppTest

View File

@@ -0,0 +1,24 @@
name: 3.3.x | Data Smoke Tests | Data Jpa
on:
schedule:
- cron : '10 0 * * *'
workflow_dispatch:
jobs:
data_jpa_app_test:
name: Data Jpa App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: data:data-jpa
task: appTest
data_jpa_checkpoint_restore_app_test:
name: Data Jpa Checkpoint Restore App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: data:data-jpa
task: checkpointRestoreAppTest

View File

@@ -0,0 +1,24 @@
name: 3.3.x | Data Smoke Tests | Data Redis
on:
schedule:
- cron : '10 0 * * *'
workflow_dispatch:
jobs:
data_redis_app_test:
name: Data Redis App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: data:data-redis
task: appTest
data_redis_checkpoint_restore_app_test:
name: Data Redis Checkpoint Restore App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: data:data-redis
task: checkpointRestoreAppTest

View File

@@ -0,0 +1,24 @@
name: 3.3.x | Framework Smoke Tests | Hibernate Mysql
on:
schedule:
- cron : '10 0 * * *'
workflow_dispatch:
jobs:
hibernate_mysql_app_test:
name: Hibernate Mysql App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: framework:hibernate-mysql
task: appTest
hibernate_mysql_checkpoint_restore_app_test:
name: Hibernate Mysql Checkpoint Restore App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: framework:hibernate-mysql
task: checkpointRestoreAppTest

View File

@@ -0,0 +1,24 @@
name: 3.3.x | Framework Smoke Tests | Resttemplate Netty
on:
schedule:
- cron : '10 0 * * *'
workflow_dispatch:
jobs:
resttemplate_netty_app_test:
name: Resttemplate Netty App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: framework:resttemplate-netty
task: appTest
resttemplate_netty_checkpoint_restore_app_test:
name: Resttemplate Netty Checkpoint Restore App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: framework:resttemplate-netty
task: checkpointRestoreAppTest

View File

@@ -0,0 +1,24 @@
name: 3.3.x | Framework Smoke Tests | Scheduled
on:
schedule:
- cron : '10 0 * * *'
workflow_dispatch:
jobs:
scheduled_app_test:
name: Scheduled App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: framework:scheduled
task: appTest
scheduled_checkpoint_restore_app_test:
name: Scheduled Checkpoint Restore App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: framework:scheduled
task: checkpointRestoreAppTest

View File

@@ -0,0 +1,24 @@
name: 3.3.x | Framework Smoke Tests | Webclient Netty
on:
schedule:
- cron : '10 0 * * *'
workflow_dispatch:
jobs:
webclient_netty_app_test:
name: Webclient Netty App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: framework:webclient-netty
task: appTest
webclient_netty_checkpoint_restore_app_test:
name: Webclient Netty Checkpoint Restore App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: framework:webclient-netty
task: checkpointRestoreAppTest

View File

@@ -0,0 +1,33 @@
name: 3.3.x | Framework Smoke Tests | Webflux Netty
on:
schedule:
- cron : '10 0 * * *'
workflow_dispatch:
jobs:
webflux_netty_test:
name: Webflux Netty Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: framework:webflux-netty
task: test
webflux_netty_app_test:
name: Webflux Netty App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: framework:webflux-netty
task: appTest
webflux_netty_checkpoint_restore_app_test:
name: Webflux Netty Checkpoint Restore App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: framework:webflux-netty
task: checkpointRestoreAppTest

View File

@@ -0,0 +1,33 @@
name: 3.3.x | Framework Smoke Tests | Webflux Undertow
on:
schedule:
- cron : '10 0 * * *'
workflow_dispatch:
jobs:
webflux_undertow_test:
name: Webflux Undertow Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: framework:webflux-undertow
task: test
webflux_undertow_app_test:
name: Webflux Undertow App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: framework:webflux-undertow
task: appTest
webflux_undertow_checkpoint_restore_app_test:
name: Webflux Undertow Checkpoint Restore App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: framework:webflux-undertow
task: checkpointRestoreAppTest

View File

@@ -0,0 +1,33 @@
name: 3.3.x | Framework Smoke Tests | Webmvc Jetty
on:
schedule:
- cron : '10 0 * * *'
workflow_dispatch:
jobs:
webmvc_jetty_test:
name: Webmvc Jetty Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: framework:webmvc-jetty
task: test
webmvc_jetty_app_test:
name: Webmvc Jetty App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: framework:webmvc-jetty
task: appTest
webmvc_jetty_checkpoint_restore_app_test:
name: Webmvc Jetty Checkpoint Restore App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: framework:webmvc-jetty
task: checkpointRestoreAppTest

View File

@@ -0,0 +1,33 @@
name: 3.3.x | Framework Smoke Tests | Webmvc Tomcat
on:
schedule:
- cron : '10 0 * * *'
workflow_dispatch:
jobs:
webmvc_tomcat_test:
name: Webmvc Tomcat Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: framework:webmvc-tomcat
task: test
webmvc_tomcat_app_test:
name: Webmvc Tomcat App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: framework:webmvc-tomcat
task: appTest
webmvc_tomcat_checkpoint_restore_app_test:
name: Webmvc Tomcat Checkpoint Restore App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: framework:webmvc-tomcat
task: checkpointRestoreAppTest

View File

@@ -0,0 +1,24 @@
name: 3.3.x | Integration Smoke Tests | Integration Basic
on:
schedule:
- cron : '10 0 * * *'
workflow_dispatch:
jobs:
integration_basic_app_test:
name: Integration Basic App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: integration:integration-basic
task: appTest
integration_basic_checkpoint_restore_app_test:
name: Integration Basic Checkpoint Restore App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: integration:integration-basic
task: checkpointRestoreAppTest

View File

@@ -0,0 +1,24 @@
name: 3.3.x | Integration Smoke Tests | Integration Webfux Data
on:
schedule:
- cron : '10 0 * * *'
workflow_dispatch:
jobs:
integration_webfux_data_app_test:
name: Integration Webfux Data App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: integration:integration-webfux-data
task: appTest
integration_webfux_data_checkpoint_restore_app_test:
name: Integration Webfux Data Checkpoint Restore App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: integration:integration-webfux-data
task: checkpointRestoreAppTest

View File

@@ -0,0 +1,24 @@
name: 3.3.x | Integration Smoke Tests | Spring Amqp Rabbit
on:
schedule:
- cron : '10 0 * * *'
workflow_dispatch:
jobs:
spring_amqp_rabbit_app_test:
name: Spring Amqp Rabbit App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: integration:spring-amqp-rabbit
task: appTest
spring_amqp_rabbit_checkpoint_restore_app_test:
name: Spring Amqp Rabbit Checkpoint Restore App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: integration:spring-amqp-rabbit
task: checkpointRestoreAppTest

View File

@@ -0,0 +1,24 @@
name: 3.3.x | Integration Smoke Tests | Spring Kafka Avro
on:
schedule:
- cron : '10 0 * * *'
workflow_dispatch:
jobs:
spring_kafka_avro_app_test:
name: Spring Kafka Avro App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: integration:spring-kafka-avro
task: appTest
spring_kafka_avro_checkpoint_restore_app_test:
name: Spring Kafka Avro Checkpoint Restore App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: integration:spring-kafka-avro
task: checkpointRestoreAppTest

View File

@@ -0,0 +1,24 @@
name: 3.3.x | Integration Smoke Tests | Spring Kafka Streams
on:
schedule:
- cron : '10 0 * * *'
workflow_dispatch:
jobs:
spring_kafka_streams_app_test:
name: Spring Kafka Streams App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: integration:spring-kafka-streams
task: appTest
spring_kafka_streams_checkpoint_restore_app_test:
name: Spring Kafka Streams Checkpoint Restore App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: integration:spring-kafka-streams
task: checkpointRestoreAppTest

View File

@@ -0,0 +1,24 @@
name: 3.3.x | Integration Smoke Tests | Spring Kafka
on:
schedule:
- cron : '10 0 * * *'
workflow_dispatch:
jobs:
spring_kafka_app_test:
name: Spring Kafka App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: integration:spring-kafka
task: appTest
spring_kafka_checkpoint_restore_app_test:
name: Spring Kafka Checkpoint Restore App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: integration:spring-kafka
task: checkpointRestoreAppTest

View File

@@ -0,0 +1,24 @@
name: 3.3.x | Integration Smoke Tests | Spring Pulsar Reactive
on:
schedule:
- cron : '10 0 * * *'
workflow_dispatch:
jobs:
spring_pulsar_reactive_app_test:
name: Spring Pulsar Reactive App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: integration:spring-pulsar-reactive
task: appTest
spring_pulsar_reactive_checkpoint_restore_app_test:
name: Spring Pulsar Reactive Checkpoint Restore App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: integration:spring-pulsar-reactive
task: checkpointRestoreAppTest

View File

@@ -0,0 +1,24 @@
name: 3.3.x | Integration Smoke Tests | Spring Pulsar
on:
schedule:
- cron : '10 0 * * *'
workflow_dispatch:
jobs:
spring_pulsar_app_test:
name: Spring Pulsar App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: integration:spring-pulsar
task: appTest
spring_pulsar_checkpoint_restore_app_test:
name: Spring Pulsar Checkpoint Restore App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: integration:spring-pulsar
task: checkpointRestoreAppTest

View File

@@ -0,0 +1,33 @@
name: 3.3.x | Security Smoke Tests | Ldap Client
on:
schedule:
- cron : '10 0 * * *'
workflow_dispatch:
jobs:
ldap_client_test:
name: Ldap Client Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: security:ldap-client
task: test
ldap_client_app_test:
name: Ldap Client App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: security:ldap-client
task: appTest
ldap_client_checkpoint_restore_app_test:
name: Ldap Client Checkpoint Restore App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: security:ldap-client
task: checkpointRestoreAppTest

View File

@@ -0,0 +1,33 @@
name: 3.3.x | Security Smoke Tests | Security Ldap
on:
schedule:
- cron : '10 0 * * *'
workflow_dispatch:
jobs:
security_ldap_test:
name: Security Ldap Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: security:security-ldap
task: test
security_ldap_app_test:
name: Security Ldap App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: security:security-ldap
task: appTest
security_ldap_checkpoint_restore_app_test:
name: Security Ldap Checkpoint Restore App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: security:security-ldap
task: checkpointRestoreAppTest

View File

@@ -0,0 +1,24 @@
name: 3.3.x | Security Smoke Tests | Security Oauth2 Authorization Server
on:
schedule:
- cron : '10 0 * * *'
workflow_dispatch:
jobs:
security_oauth2_authorization_server_app_test:
name: Security Oauth2 Authorization Server App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: security:security-oauth2-authorization-server
task: appTest
security_oauth2_authorization_server_checkpoint_restore_app_test:
name: Security Oauth2 Authorization Server Checkpoint Restore App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: security:security-oauth2-authorization-server
task: checkpointRestoreAppTest

View File

@@ -0,0 +1,24 @@
name: 3.3.x | Security Smoke Tests | Security Oauth2 Resource Server
on:
schedule:
- cron : '10 0 * * *'
workflow_dispatch:
jobs:
security_oauth2_resource_server_app_test:
name: Security Oauth2 Resource Server App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: security:security-oauth2-resource-server
task: appTest
security_oauth2_resource_server_checkpoint_restore_app_test:
name: Security Oauth2 Resource Server Checkpoint Restore App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: security:security-oauth2-resource-server
task: checkpointRestoreAppTest

View File

@@ -0,0 +1,24 @@
name: 3.3.x | Security Smoke Tests | Security Webflux
on:
schedule:
- cron : '10 0 * * *'
workflow_dispatch:
jobs:
security_webflux_app_test:
name: Security Webflux App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: security:security-webflux
task: appTest
security_webflux_checkpoint_restore_app_test:
name: Security Webflux Checkpoint Restore App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: security:security-webflux
task: checkpointRestoreAppTest

View File

@@ -0,0 +1,24 @@
name: 3.3.x | Security Smoke Tests | Security Webmvc
on:
schedule:
- cron : '10 0 * * *'
workflow_dispatch:
jobs:
security_webmvc_app_test:
name: Security Webmvc App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: security:security-webmvc
task: appTest
security_webmvc_checkpoint_restore_app_test:
name: Security Webmvc Checkpoint Restore App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: security:security-webmvc
task: checkpointRestoreAppTest

View File

@@ -0,0 +1,24 @@
name: 3.3.x | Session Smoke Tests | Session Jdbc
on:
schedule:
- cron : '10 0 * * *'
workflow_dispatch:
jobs:
session_jdbc_app_test:
name: Session Jdbc App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: session:session-jdbc
task: appTest
session_jdbc_checkpoint_restore_app_test:
name: Session Jdbc Checkpoint Restore App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: session:session-jdbc
task: checkpointRestoreAppTest

View File

@@ -0,0 +1,24 @@
name: 3.3.x | Session Smoke Tests | Session Redis Webflux
on:
schedule:
- cron : '10 0 * * *'
workflow_dispatch:
jobs:
session_redis_webflux_app_test:
name: Session Redis Webflux App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: session:session-redis-webflux
task: appTest
session_redis_webflux_checkpoint_restore_app_test:
name: Session Redis Webflux Checkpoint Restore App Test
uses: ./.github/workflows/smoke-test.yml
secrets: inherit
with:
checkout_repository: spring-projects/spring-lifecycle-smoke-tests
checkout_ref: main
project: session:session-redis-webflux
task: checkpointRestoreAppTest

63
.github/workflows/smoke-test.yml vendored Normal file
View File

@@ -0,0 +1,63 @@
name: Smoke Test
on:
workflow_call:
inputs:
project:
required: true
type: string
task:
required: true
type: string
checkout_repository:
required: true
type: string
checkout_ref:
required: true
type: string
expected_to_fail:
required: false
type: boolean
default: false
jobs:
smoke_test:
name: ${{ inputs.task }}
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v4
with:
repository: ${{ inputs.checkout_repository }}
ref: ${{ inputs.checkout_ref }}
- name: Set up Java
uses: actions/setup-java@v3
with:
java-version: '17'
java-package: 'jdk+crac'
distribution: 'zulu'
- name: Set up Gradle
uses: gradle/gradle-build-action@982da8e78c05368c70dac0351bb82647a9e9a5d2
- name: Configure Gradle user.name
run: |
mkdir -p ~/.gradle
echo 'systemProp.user.name=spring-builds+github' >> ~/.gradle/gradle.properties
- name: Build
id: build
env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }}
run: ./gradlew ${{ inputs.project }}:${{ inputs.task }}
continue-on-error: ${{ inputs.expected_to_fail }}
- name: Check out send notification action
uses: actions/checkout@v4
if: ${{ failure() }}
with:
path: ci
ref: ci
sparse-checkout: .github/actions/send-notification
- name: Send notification
uses: ./ci/.github/actions/send-notification
if: ${{ failure() }}
with:
webhook-url: ${{ secrets.GOOGLE_CHAT_WEBHOOK_URL }}
task: ${{ inputs.project }}:${{ inputs.task }}
branch: ${{ inputs.checkout_ref }}
failure-url: ${{ steps.build.outputs.build-scan-url || format('{0}/{1}/actions/runs/{2}', github.server_url, github.repository, github.run_id) }}

View File

@@ -0,0 +1,11 @@
name: "Validate Gradle Wrapper"
on: [push, pull_request]
permissions:
contents: read
jobs:
validation:
name: "Validate Gradle Wrapper"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: gradle/actions/wrapper-validation@6cec5d49d4d6d4bb982fbed7047db31ea6d38f11 #v3.3.0