Skip to content

Automated workflow pipeline for slack worker - #76

Open
moebasim wants to merge 419 commits into
openshift-sustaining:mainfrom
moebasim:workflow/image
Open

Automated workflow pipeline for slack worker#76
moebasim wants to merge 419 commits into
openshift-sustaining:mainfrom
moebasim:workflow/image

Conversation

@moebasim

@moebasim moebasim commented Apr 8, 2026

Copy link
Copy Markdown
Collaborator

Core flow:

  • Manual trigger
    Requires user input: registry credentials and version (major.minor).

  • Input validation
    Ensures version numbers are numeric.

  • Versioning logic
    Queries Quay API, finds existing tags matching major.minor.*, and auto-increments the patch version.

  • Authentication
    Logs into Quay.io using provided credentials.

  • Build
    Builds the Docker image locally from the slack_worker directory.

  • Security scan (Trivy)
    Scans the image for CRITICAL vulnerabilities.

  • Behavior depends on input:

"false" → fail workflow if critical issues found
"true" → allow push even with critical issues

  • Push
    Uploads the image to Quay with the computed version tag.

  • Cleanup
    Removes Docker credentials and logs out.

rhdmalone added 30 commits June 27, 2025 18:22
@moebasim
moebasim requested a review from prabhapa as a code owner April 8, 2026 14:25
@moebasim moebasim changed the title Automated docker image-build workflow pipeline for slack worker . Automated docker build image workflow pipeline for slack worker Apr 8, 2026
@moebasim
moebasim force-pushed the workflow/image branch 2 times, most recently from 090f515 to db2992b Compare April 8, 2026 14:39
@moebasim moebasim changed the title Automated docker build image workflow pipeline for slack worker Automated workflow pipeline for slack worker Apr 8, 2026
…gle-qe

Refactor ROTA with columns change & single QE model
@moebasim moebasim reopened this Apr 10, 2026
Moe Basim and others added 4 commits April 23, 2026 15:28
- Move env var setup in slack_worker/tests/conftest.py to module level so
  variables are available during pytest collection (before config.py
  validates at import time). Add root config required keys needed by the
  transitive import chain through slack_worker.jobs.
- Remove unused `import pytest` from test_slack_worker_core.py (F401).
- Export send_group_reminder and send_dm_reminders from
  slack_worker/jobs/__init__.py so the test import succeeds.
- Improve slackworker-checks.yaml: use consistent actions/checkout@v4,
  pin Python 3.12 with setup-python, run all tests in slack_worker/tests/.
- Add slack_worker/tests/__init__.py for proper package structure.
@moebasim
moebasim requested a review from rh-soboh April 27, 2026 12:59
@rh-soboh
rh-soboh force-pushed the workflow/image branch 2 times, most recently from e4b4560 to 2813836 Compare April 27, 2026 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants