Skip to content

Commit

Permalink
[Alloy] Init role and molecule
Browse files Browse the repository at this point in the history
  • Loading branch information
ethinot committed Oct 9, 2024
1 parent dcd1d63 commit 7ba0e49
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 4 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/molecule.alloy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Molecule - Alloy

on:
pull_request:
paths:
- .manala.yaml
- .github/workflows/molecule.alloy.yaml
- .config/molecule/config.yml
- molecule/Dockerfile.*
- molecule/alloy/**
- roles/alloy/**
workflow_dispatch:
inputs:
debug:
type: boolean
description: Run with tmate debugging
required: false
default: false

jobs:
alloy:
uses: ./.github/workflows/molecule.yaml
with:
debug: ${{ inputs.debug == true }}
scenario: alloy
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Added
- [Alloy] Add installation and basics configuration role and test it with molecule


## [4.2.2] - 2024-09-20
### Fixed
- [Fail2ban] Fix Bookworm sshd jail by installing python3-systemd
Expand Down
4 changes: 0 additions & 4 deletions roles/alloy/tasks/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,5 @@
'started'
}}
enabled: true
# Ensure `systemctl daemon-reload` is run, even if package post-install script
# does not handle it properly.
# See: https://github.com/grafana/agent/issues/2653
daemon_reload: true
loop:
- alloy

0 comments on commit 7ba0e49

Please sign in to comment.