chore(ci): add renovate + ocis_full smoke workflow
This commit is contained in:
1 parent
0d20a329fb
commit
e231e18fa7
3 files changed
+63
No files matched your search
@@ -0,0 +1,38 @@
|
||||
name: oCIS Full Smoke
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- "deployments/examples/ocis_full/**"
|
||||
|
||||
jobs:
|
||||
smoke:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 20
|
||||
defaults:
|
||||
run:
|
||||
working-directory: deployments/examples/ocis_full
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Validate compose config
|
||||
run: docker compose --env-file .env config >/dev/null
|
||||
|
||||
- name: Start default stack
|
||||
run: docker compose --env-file .env up -d
|
||||
|
||||
- name: Wait for startup
|
||||
run: sleep 45
|
||||
|
||||
- name: Show compose status
|
||||
if: always()
|
||||
run: docker compose --env-file .env ps
|
||||
|
||||
- name: Show recent compose logs
|
||||
if: always()
|
||||
run: docker compose --env-file .env logs --tail 200
|
||||
|
||||
- name: Tear down stack
|
||||
if: always()
|
||||
run: docker compose --env-file .env down -v --remove-orphans
|
||||
@@ -64,3 +64,5 @@ go.work.sum
|
||||
.envrc
|
||||
CLAUDE.md
|
||||
.claude/
|
||||
|
||||
.DS_Store
|
||||
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"extends": ["config:base", "docker:pinDigests"],
|
||||
"labels": ["dependencies", "docker", "ocis_full"],
|
||||
"reviewers": ["owncloud/qa"],
|
||||
"assignees": ["owncloud/qa"],
|
||||
"timezone": "Europe/Berlin",
|
||||
"schedule": ["every day"],
|
||||
"prConcurrentLimit": 10,
|
||||
"docker-compose": {
|
||||
"fileMatch": ["^deployments/examples/ocis_full/.*\\.ya?ml$"]
|
||||
},
|
||||
"packageRules": [
|
||||
{
|
||||
"matchManagers": ["docker-compose"],
|
||||
"matchFileNames": [
|
||||
"deployments/examples/ocis_full/**/*.yml",
|
||||
"deployments/examples/ocis_full/**/*.yaml"
|
||||
],
|
||||
"groupName": "ocis_full image updates (tags+digests)"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user