Skip to content

Fix CI environment variable name mismatches with application code #13

Closed

Description

@OkiriGabriel

Problem

CI dummy .env uses variable names that do not match what collectors read, so smoke tests validate the wrong config.

Current state

CI sets (.github/workflows/ci.yml) Code expects File
JENKINS_USER JENKINS_USERNAME collectors/jenkins.py
ARGOCD_SERVER ARGOCD_SERVER_URL collectors/argocd.py
ARGOCD_TOKEN ARGOCD_AUTH_TOKEN collectors/argocd.py
AZURE_DEVOPS_TOKEN AZURE_DEVOPS_PAT collectors/azure_devops.py

Acceptance criteria

  • Align CI .env with .env.example and collector code
  • Add a pytest that asserts documented env keys match services/org_config.CREDENTIAL_KEYS
  • Collector smoke tests should fail if required vars are missing

Files

  • .github/workflows/ci.yml, collectors/jenkins.py, collectors/argocd.py, collectors/azure_devops.py, .env.example

Activity

  1. added
    bug
    ci
    on Jul 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugci

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions