Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
15 commits
Select commit Hold shift + click to select a range
4faadda
Initial plan
Copilot May 23, 2026
ee3d6a2
feat: add end-to-end test workflows for all devops-infra actions
Copilot May 23, 2026
2aa5977
test: add repository and repository_path coverage in action-pull-requ…
Copilot May 23, 2026
c23b94b
feat: enhance end-to-end testing framework with new workflows and cov…
ChristophShyper May 24, 2026
3c79df1
refactor: update repository references to Triglav in documentation an…
ChristophShyper May 24, 2026
f648bc5
refactor: update repository references to Triglav in documentation an…
ChristophShyper May 24, 2026
dfd401f
feat: add end-to-end testing workflows with mode validation and actio…
ChristophShyper May 24, 2026
a608646
feat: add end-to-end testing workflows and refine input handling
ChristophShyper May 24, 2026
d53d46d
feat: add execution mode and image tag inputs to workflow dispatch fo…
ChristophShyper May 24, 2026
59c02c9
feat: enhance action input parsing and add unit tests for coverage
ChristophShyper May 24, 2026
6a1331f
feat: add validation for mode input and handle empty action repositor…
ChristophShyper May 24, 2026
212612d
feat: add input validation for mode in end-to-end workflows and handl…
ChristophShyper May 24, 2026
9ac1c87
fix: validate mode input for end-to-end testing workflow
ChristophShyper May 24, 2026
527c29e
fix: update Alpine image version to 3.23.4 in end-to-end testing work…
ChristophShyper May 24, 2026
a9cede8
feat: add preflight validation step for workflow inputs in end-to-end…
ChristophShyper May 24, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,6 +1,2 @@
DOCKER_USERNAME=your-dockerhub-user
DOCKER_ORG_NAME=your-dockerhub-org
DOCKER_TOKEN=your-docker-token
GITHUB_USERNAME=your-github-user
GITHUB_ORG_NAME=your-github-org
GITHUB_TOKEN=your-github-token
GITHUB_TOKEN=your_github_token_here
GH_REPO=devops-infra/triglav
1 change: 1 addition & 0 deletions .github/workflows/auto-pull-request-create.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
- main
- release/**
- dependabot/**
- test/**

permissions:
contents: read
Expand Down
98 changes: 98 additions & 0 deletions .github/workflows/cron-e2e-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
name: (Cron) End-to-End Tests

on:
schedule:
- cron: 0 6 * * 1
workflow_dispatch:
inputs:
mode:
description: Run mode (ref or image)
required: false
default: ref
type: choice
options:
- ref
- image
image_tag:
description: Action image tag used when mode=image (for example v1.2.3-test or v1.2.3-rc)
required: false
default: ''
type: string

permissions:
contents: read

Comment thread
ChristophShyper marked this conversation as resolved.
jobs:
action-commit-push:
permissions:
contents: write
uses: ./.github/workflows/e2e-action-commit-push.yml
with:
mode: ${{ github.event_name == 'workflow_dispatch' && inputs.mode || 'ref' }}
Comment thread
ChristophShyper marked this conversation as resolved.
image_tag: ${{ github.event_name == 'workflow_dispatch' && inputs.image_tag || '' }}
secrets: inherit

action-pull-request:
permissions:
contents: write
pull-requests: write
issues: write
uses: ./.github/workflows/e2e-action-pull-request.yml
with:
mode: ${{ github.event_name == 'workflow_dispatch' && inputs.mode || 'ref' }}
image_tag: ${{ github.event_name == 'workflow_dispatch' && inputs.image_tag || '' }}
secrets: inherit

action-tflint:
permissions:
contents: read
uses: ./.github/workflows/e2e-action-tflint.yml
with:
mode: ${{ github.event_name == 'workflow_dispatch' && inputs.mode || 'ref' }}
image_tag: ${{ github.event_name == 'workflow_dispatch' && inputs.image_tag || '' }}
secrets: inherit

action-format-hcl:
permissions:
contents: read
uses: ./.github/workflows/e2e-action-format-hcl.yml
with:
mode: ${{ github.event_name == 'workflow_dispatch' && inputs.mode || 'ref' }}
image_tag: ${{ github.event_name == 'workflow_dispatch' && inputs.image_tag || '' }}
secrets: inherit

action-terraform-validate:
permissions:
contents: read
uses: ./.github/workflows/e2e-action-terraform-validate.yml
with:
mode: ${{ github.event_name == 'workflow_dispatch' && inputs.mode || 'ref' }}
image_tag: ${{ github.event_name == 'workflow_dispatch' && inputs.image_tag || '' }}
secrets: inherit

action-terraform-copy-vars:
permissions:
contents: read
uses: ./.github/workflows/e2e-action-terraform-copy-vars.yml
with:
mode: ${{ github.event_name == 'workflow_dispatch' && inputs.mode || 'ref' }}
image_tag: ${{ github.event_name == 'workflow_dispatch' && inputs.image_tag || '' }}
secrets: inherit

action-container-structure-test:
permissions:
contents: read
uses: ./.github/workflows/e2e-action-container-structure-test.yml
with:
mode: ${{ github.event_name == 'workflow_dispatch' && inputs.mode || 'ref' }}
image_tag: ${{ github.event_name == 'workflow_dispatch' && inputs.image_tag || '' }}
secrets: inherit

action-template-action:
permissions:
contents: read
uses: ./.github/workflows/e2e-action-template-action.yml
with:
mode: ${{ github.event_name == 'workflow_dispatch' && inputs.mode || 'ref' }}
image_tag: ${{ github.event_name == 'workflow_dispatch' && inputs.image_tag || '' }}
secrets: inherit
Loading
Loading