Skip to content

Move ecoeng accounts from ecoeng01 to ecoeng03#998

Merged
pragya811 merged 2 commits into
mainfrom
ecoeng-update3
May 21, 2026
Merged

Move ecoeng accounts from ecoeng01 to ecoeng03#998
pragya811 merged 2 commits into
mainfrom
ecoeng-update3

Conversation

@pragya811

@pragya811 pragya811 commented May 20, 2026

Copy link
Copy Markdown
Member

Type of change

Note: Fill x in []

  • bug
  • enhancement
  • documentation
  • dependencies

Description

Move coreos-training, partnerlab, and certification-pipeline accounts from ecoeng_01 to ecoeng_03 so all their policies (including zombie_cluster_resource) run with dry_run=yes.

Changes
ecoeng_01/TaggingJenkinsfileHourly -- Removed partnerlab and certification-pipeline from the account list (tagging now handled by ecoeng_03).

ecoeng_03/TaggingJenkinsfileHourly -- Added partnerlab and certification-pipeline alongside existing coreos-training.

ecoeng_03/PolicyJenkinsfileDaily -- Added certification-pipeline, partnerlab, and coreos-training to the accounts list with their original admin email lists.

ecoeng_03/README.md -- Updated to reflect actual POLICIES_IN_ACTION.

For security reasons, all pull requests need to be approved first before running any automated CI

Summary by CodeRabbit

  • Chores
    • Expanded pipeline account support to include certification-pipeline, partnerlab, and coreos-training alongside existing ecoeng-sap account.
    • Updated email notification distribution lists corresponding to all supported accounts.
    • Adjusted policy execution configuration to modify the set of policies running in active mode.

Review Change Stack

@coderabbitai

coderabbitai Bot commented May 20, 2026

Copy link
Copy Markdown

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 84265f1f-1532-4df7-bb4b-0d0efb0b7aca

📥 Commits

Reviewing files that changed from the base of the PR and between 72f0272 and 1ef59d7.

📒 Files selected for processing (2)
  • jenkins/tenant/aws/ecoeng_03/PolicyJenkinsfileDaily
  • jenkins/tenant/aws/ecoeng_03/README.md

📝 Walkthrough

Walkthrough

The ecoeng_03 daily Jenkins policy pipeline and documentation are updated to support additional AWS accounts and modify policy execution behavior. The accounts_list mapping is expanded, the active policies list is cleared, and the README account roster is updated accordingly.

Changes

Account and Policy Configuration for ecoeng_03

Layer / File(s) Summary
PolicyJenkinsfileDaily account roster and policy list updates
jenkins/tenant/aws/ecoeng_03/PolicyJenkinsfileDaily
accounts_list expands to include certification-pipeline, partnerlab, and coreos-training alongside ecoeng-sap. POLICIES_IN_ACTION changes from ["unused_access_key"] to [].
README account roster documentation
jenkins/tenant/aws/ecoeng_03/README.md
The accounts section is updated with email addresses for ecoeng-sap, certification-pipeline, partnerlab, and coreos-training.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

  • redhat-performance/cloud-governance#996: Both PRs modify ecoeng_03 policy pipeline configuration with account roster changes and POLICIES_IN_ACTION adjustments, though in opposite directions (this PR adds accounts and empties the policy list, while PR #996 removes accounts).

Suggested labels

documentation

Suggested reviewers

  • halbfin
  • ebattat

Poem

🐰 A Jenkins pipeline grows with care,
New accounts added to the air,
Documentation keeps the pace,
Policies find their rightful place!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Move ecoeng accounts from ecoeng01 to ecoeng03' accurately describes the main change: migrating three accounts (coreos-training, partnerlab, certification-pipeline) from ecoeng_01 to ecoeng_03.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ecoeng-update3

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@jenkins/tenant/aws/ecoeng_03/README.md`:
- Around line 7-10: The README's coreos-training admin list is missing
mrhillsman@redhat.com compared to the effective configuration in
PolicyJenkinsfileDaily (accounts_list); update the coreos-training entry in
README.md to include "mrhillsman@redhat.com" so the admin list matches the
accounts_list defined in PolicyJenkinsfileDaily.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 86ed990b-752c-4e01-99a1-237d1bbe9afe

📥 Commits

Reviewing files that changed from the base of the PR and between d307bce and 72f0272.

📒 Files selected for processing (4)
  • jenkins/tenant/aws/ecoeng_01/TaggingJenkinsfileHourly
  • jenkins/tenant/aws/ecoeng_03/PolicyJenkinsfileDaily
  • jenkins/tenant/aws/ecoeng_03/README.md
  • jenkins/tenant/aws/ecoeng_03/TaggingJenkinsfileHourly

Comment thread jenkins/tenant/aws/ecoeng_03/README.md Outdated

@ebattat ebattat left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pragya811, something weird in this PR, there are 15 old commits.
Pls close and open a new PR.
In addition, you need just move 3 accounts from 01 to 03, why did u enable
POLICIES_IN_ACTION = '["unused_access_key"]'

Move coreos-training, partnerlab, and certification-pipeline from
ecoeng_01 to ecoeng_03 for both daily policies and hourly tagging.
These accounts have CAPA/Hypershift deployments incompatible with
zombie_cluster_resource detection, so they run with dry_run=yes.
Update ecoeng_03 README to reflect actual configuration.

Co-authored-by: Cursor <cursoragent@cursor.com>
@pragya811

Copy link
Copy Markdown
Member Author

@ebattat , fixed the commits issue.
POLICIES_IN_ACTION = '["unused_access_key"]' already exists in ecoeng03 Policy Jenkinsfile https://github.com/redhat-performance/cloud-governance/blob/main/jenkins/tenant/aws/ecoeng_03/PolicyJenkinsfileDaily#L30.
I've just added to README.

@ebattat ebattat left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pragya811, Why are we moving the tagging from 01 to 03 ?

Comment thread jenkins/tenant/aws/ecoeng_03/README.md Outdated

@ebattat ebattat left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approved

@pragya811 pragya811 merged commit 8de184d into main May 21, 2026
24 checks passed
@github-project-automation github-project-automation Bot moved this from In progress to Done in Cloud-Governance project May 21, 2026
@pragya811 pragya811 deleted the ecoeng-update3 branch May 21, 2026 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

3 participants