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

View File

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

View File

@ -1 +1 @@
rocky8/ rocky9

View File

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

View File

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