Skip to content

Adding a EKS Purge Job, removing the AKS job, making the frequency once a day for test job#1462

Merged
ytimocin merged 1 commit into
v0.33from
ytimocin/addPurgeEKSJob
May 1, 2024
Merged

Adding a EKS Purge Job, removing the AKS job, making the frequency once a day for test job#1462
ytimocin merged 1 commit into
v0.33from
ytimocin/addPurgeEKSJob

Conversation

@ytimocin
Copy link
Copy Markdown
Contributor

@ytimocin ytimocin commented Apr 29, 2024

  • Adding a job that will purge AWS EKS clusters once every day at 7 AM. The reasoning behind this is that the scheduled test job will run at 12 PM and the EKS Cluster will be already 7 hours old at the time purge job runs. So, if the cluster is not deleted, this job will clean the cluster and all of its underlying resources.
  • Removing the job that runs tests on the AKS Cluster.
  • Decreasing the schedule to once a day.

@ytimocin ytimocin requested a review from willdavsmith April 29, 2024 20:56
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

reformat

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

reformat

@ytimocin ytimocin force-pushed the ytimocin/addPurgeEKSJob branch 12 times, most recently from d68d978 to 13f6a7c Compare May 1, 2024 21:15
@ytimocin ytimocin changed the title Adding a job that will purge AWS EKS clusters every 6 hours Adding a EKS Purge Job, removing the AKS job, making the frequency once a day for test job May 1, 2024
Signed-off-by: ytimocin <ytimocin@microsoft.com>
@ytimocin ytimocin force-pushed the ytimocin/addPurgeEKSJob branch from 13f6a7c to 2d2d82d Compare May 1, 2024 21:31
Copy link
Copy Markdown
Contributor

@rynowak rynowak left a comment

Choose a reason for hiding this comment

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

:shipit:

else
echo "Cluster $name is not older than 6 hours or does not meet naming criteria."
fi
done
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

very cool 👍

@ytimocin ytimocin merged commit da710de into v0.33 May 1, 2024
@ytimocin ytimocin deleted the ytimocin/addPurgeEKSJob branch May 1, 2024 22:07
sk593 pushed a commit that referenced this pull request May 23, 2024
Signed-off-by: ytimocin <ytimocin@microsoft.com>
Signed-off-by: sk593 <shruthikumar@microsoft.com>
sk593 pushed a commit that referenced this pull request May 23, 2024
Signed-off-by: ytimocin <ytimocin@microsoft.com>
Signed-off-by: sk593 <shruthikumar@microsoft.com>
sk593 added a commit that referenced this pull request May 23, 2024
* update gh to ado sync workflow to use service principals (#1363)

* Make env configurable (#1046)

Signed-off-by: Reshma Abdul Rahim <reshmarahim.abdul@microsoft.com>

* Adding test AKS workflow to v0.32 (#1052)

* Run functional tests every 2 hours and add another workflow that runs… (#1020)

* Run functional tests every 2 hours and add another workflow that runs the tests on AKS instead of k3d

Signed-off-by: ytimocin <ytimocin@microsoft.com>

* Triggering workflow

Signed-off-by: ytimocin <ytimocin@microsoft.com>

---------

Signed-off-by: ytimocin <ytimocin@microsoft.com>

* Removing the run of the AKS workflow on PRs (#1051)

Signed-off-by: ytimocin <ytimocin@microsoft.com>

* Update the timeout (30s) for Playwright

Signed-off-by: ytimocin <ytimocin@microsoft.com>

---------

Signed-off-by: ytimocin <ytimocin@microsoft.com>

* Use retry and update eshop playwright tests to wait for the catalog to appear (#1213)

Signed-off-by: ytimocin <ytimocin@microsoft.com>

* update gh to ado sync workflow to use service principals

Signed-off-by: Will Tsai <28876888+willtsai@users.noreply.github.com>

---------

Signed-off-by: Reshma Abdul Rahim <reshmarahim.abdul@microsoft.com>
Signed-off-by: ytimocin <ytimocin@microsoft.com>
Signed-off-by: Will Tsai <28876888+willtsai@users.noreply.github.com>
Signed-off-by: Will <28876888+willtsai@users.noreply.github.com>
Co-authored-by: Reshma Abdul Rahim <61033581+Reshrahim@users.noreply.github.com>
Co-authored-by: Yetkin Timocin <ytimocin@microsoft.com>
Signed-off-by: sk593 <shruthikumar@microsoft.com>

* Workflow and playwright test updates (#1360)

Signed-off-by: ytimocin <ytimocin@microsoft.com>
Signed-off-by: sk593 <shruthikumar@microsoft.com>

* Changing the place of page.reload in the tests (#1492)

Signed-off-by: ytimocin <ytimocin@microsoft.com>
Signed-off-by: sk593 <shruthikumar@microsoft.com>

* Adding a job that will purge AWS EKS clusters every 6 hours (#1462)

Signed-off-by: ytimocin <ytimocin@microsoft.com>
Signed-off-by: sk593 <shruthikumar@microsoft.com>

* Update all deps of all apps (#1536)

Signed-off-by: ytimocin <ytimocin@microsoft.com>
Signed-off-by: sk593 <shruthikumar@microsoft.com>

* Updating the runner of purge azure test resources workflow (#1537)

Signed-off-by: ytimocin <ytimocin@microsoft.com>
Signed-off-by: sk593 <shruthikumar@microsoft.com>

* Update purget test resources to fix the workflow failures (#1552)

Signed-off-by: ytimocin <ytimocin@microsoft.com>
Signed-off-by: sk593 <shruthikumar@microsoft.com>

* Fixing the eShop catalog load issue for the UI tests (#1548)

Signed-off-by: ytimocin <ytimocin@microsoft.com>
Signed-off-by: sk593 <shruthikumar@microsoft.com>

---------

Signed-off-by: Reshma Abdul Rahim <reshmarahim.abdul@microsoft.com>
Signed-off-by: ytimocin <ytimocin@microsoft.com>
Signed-off-by: Will Tsai <28876888+willtsai@users.noreply.github.com>
Signed-off-by: Will <28876888+willtsai@users.noreply.github.com>
Signed-off-by: sk593 <shruthikumar@microsoft.com>
Co-authored-by: Will <28876888+willtsai@users.noreply.github.com>
Co-authored-by: Reshma Abdul Rahim <61033581+Reshrahim@users.noreply.github.com>
Co-authored-by: Yetkin Timocin <ytimocin@microsoft.com>
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.

3 participants