Skip to content

Commit

Permalink
Added the days to delete action to 14 days
Browse files Browse the repository at this point in the history
  • Loading branch information
athiruma committed Jan 27, 2024
1 parent d68230b commit 54f0855
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion jenkins/tenant/aws/common/run_policies.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ def get_container_cmd(env_dict: dict):
"AWS_ACCESS_KEY_ID": access_key, "AWS_SECRET_ACCESS_KEY": secret_key,
"dry_run": "yes", "LDAP_HOST_NAME": LDAP_HOST_NAME, "DAYS_TO_DELETE_RESOURCE": days_to_delete_resource,
"es_host": ES_HOST, "es_port": ES_PORT,
"MANAGER_EMAIL_ALERT": "False", "EMAIL_ALERT": "False", "log_level": "INFO"
"MANAGER_EMAIL_ALERT": "False", "EMAIL_ALERT": "False", "log_level": "INFO",
'DAYS_TO_TAKE_ACTION': days_to_delete_resource
}


Expand Down
2 changes: 1 addition & 1 deletion jenkins/tenant/aws/ecoeng_01/PolicyJenkinsfileDaily
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
account = ['partnerlab', 'coreos-training']
account = ['partnerlab']
pipeline {
options {
disableConcurrentBuilds()
Expand Down
1 change: 0 additions & 1 deletion jenkins/tenant/aws/ecoeng_01/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@

Accounts:
- partnerlab
- coreos-training
2 changes: 1 addition & 1 deletion jenkins/tenant/aws/ecoeng_01/TaggingJenkinsfileHourly
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
account = ['partnerlab', 'coreos-training']
account = ['partnerlab']
pipeline {
options {
disableConcurrentBuilds()
Expand Down
2 changes: 1 addition & 1 deletion jenkins/tenant/aws/ecoeng_03/PolicyJenkinsfileDaily
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
account = ['industry-partners', 'special-projects', 'edgeinfra', 'specialprojects-qe', 'ecoeng-sap', 'sysdeseng', 'verticals-ui']
account = ['coreos-training', industry-partners', 'special-projects', 'edgeinfra', 'specialprojects-qe', 'ecoeng-sap', 'sysdeseng', 'verticals-ui']
pipeline {
options {
disableConcurrentBuilds()
Expand Down
1 change: 1 addition & 0 deletions jenkins/tenant/aws/ecoeng_03/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
### ecoeng_03

Accounts:
- coreos-training
- industry-partners
- special-projects
- edgeinfra
Expand Down
2 changes: 1 addition & 1 deletion jenkins/tenant/aws/ecoeng_03/TaggingJenkinsfileHourly
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
account = ['industry-partners', 'special-projects', 'edgeinfra', 'specialprojects-qe', 'ecoeng-sap', 'sysdeseng', 'verticals-ui']
account = ['coreos-training', 'industry-partners', 'special-projects', 'edgeinfra', 'specialprojects-qe', 'ecoeng-sap', 'sysdeseng', 'verticals-ui']
pipeline {
options {
disableConcurrentBuilds()
Expand Down

0 comments on commit 54f0855

Please sign in to comment.