To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit 52b35854 authored by Bengt Giger's avatar Bengt Giger
Browse files

Test roles only if they really have changed

parent d633abe2
Pipeline #88902 passed with stage
in 13 minutes and 59 seconds
......@@ -26,6 +26,10 @@ timeservice-chrony-test:
script:
- cd roles/timeservice;
molecule test;
only:
changes:
- .gitlab-ci.yml
- roles/timeservice/**/*
timeservice-ntp-test:
stage: tests
tags:
......@@ -33,6 +37,10 @@ timeservice-ntp-test:
script:
- cd roles/timeservice;
molecule test -s ntp;
only:
changes:
- .gitlab-ci.yml
- roles/timeservice/**/*
# Test private_subnet_client on Kubernetes
private_subnet_client-test:
......@@ -44,6 +52,10 @@ private_subnet_client-test:
script:
- cd roles/private_subnet_client;
molecule test;
only:
changes:
- .gitlab-ci.yml
- roles/private_subnet_client/**/*
# Test console_configuration on Kubernetes
console_configuration-test:
......@@ -55,6 +67,10 @@ console_configuration-test:
script:
- cd roles/console_configuration;
molecule test;
only:
changes:
- .gitlab-ci.yml
- roles/console_configuration/**/*
# Test system_update_manager on Kubernetes
system_update_manager-test:
......@@ -69,6 +85,11 @@ system_update_manager-test:
molecule test;
molecule test -s increase;
molecule test -s decrease;
only:
changes:
- .gitlab-ci.yml
- roles/system_update_manager/**/*
# Test rsyslog_forwarder on dedicated runner (systemd)
rsyslog_forwarder-test:
......@@ -78,3 +99,7 @@ rsyslog_forwarder-test:
script:
- cd roles/rsyslog_forwarder;
molecule test;
only:
changes:
- .gitlab-ci.yml
- roles/rsyslog_forwarder/**/*
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment