feat: enable chrony-wait service #2

Merged
xoxys merged 3 commits from chrony-wait into main 2023-06-05 20:04:11 +00:00
9 changed files with 15 additions and 14 deletions
Showing only changes of commit 3eee5de57e - Show all commits

View File

@ -41,7 +41,7 @@ local PipelineLinting = {
},
};
local PipelineDeployment(scenario='rocky8') = {
local PipelineDeployment(scenario='rocky9') = {
kind: 'pipeline',
name: 'testing-' + scenario,
platform: {
@ -71,7 +71,7 @@ local PipelineDeployment(scenario='rocky8') = {
'linting',
],
trigger: {
ref: ['refs/heads/main', 'refs/tags/**'],
ref: ['refs/heads/main', 'refs/tags/**', 'refs/pull/**'],
},
};
@ -115,7 +115,7 @@ local PipelineDocumentation = {
ref: ['refs/heads/main', 'refs/tags/**', 'refs/pull/**'],
},
depends_on: [
'testing-rocky8',
'testing-rocky9',
],
};
@ -153,7 +153,7 @@ local PipelineNotification = {
[
PipelineLinting,
PipelineDeployment(scenario='rocky8'),
PipelineDeployment(scenario='rocky9'),
PipelineDocumentation,
PipelineNotification,
]

View File

@ -36,7 +36,7 @@ trigger:
---
kind: pipeline
name: testing-rocky8
name: testing-rocky9
platform:
os: linux
@ -53,7 +53,7 @@ steps:
- name: ansible-molecule
image: thegeeklab/molecule:4
commands:
- molecule test -s rocky8
- molecule test -s rocky9
environment:
HCLOUD_TOKEN:
from_secret: hcloud_token
@ -62,6 +62,7 @@ trigger:
ref:
- refs/heads/main
- refs/tags/**
- refs/pull/**
depends_on:
- linting
@ -107,7 +108,7 @@ trigger:
- refs/pull/**
depends_on:
- testing-rocky8
- testing-rocky9
---
kind: pipeline
@ -147,6 +148,6 @@ depends_on:
---
kind: signature
hmac: 96908282833168a632002f8bf7c4be4f7577d84dad0016ca15e4232a64829650
hmac: b7a44b7df8263dae322f071146976aa945dda4857876c3b98475dd725a6f28c6
...

View File

@ -1 +1 @@
rocky8/
rocky9

View File

@ -2,4 +2,4 @@
- name: Converge
hosts: all
roles:
- role: xoxys.chrony
- role: xoxys.chronyd

View File

@ -117,4 +117,4 @@
- name: Wait for VM to settle down
pause:
seconds: 30
seconds: 30

View File

@ -75,4 +75,4 @@
{{ instance_conf | to_nice_yaml(indent=2) }}
dest: "{{ molecule_instance_config }}"
when: server.changed | bool
when: server.changed | bool

View File

@ -9,8 +9,8 @@ dependency:
driver:
name: delegated
platforms:
- name: rocky8-chrony
image: rocky-8
- name: rocky9-wireguard
image: rocky-9
server_type: cx11
lint: |
/usr/local/bin/flake8