Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update infra ci to run weekly and on release pr #1124

Merged
merged 4 commits into from
Dec 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/test-aks.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
# Copyright 2024 Defense Unicorns
# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial

name: AKS Nightly Test
name: AKS Test

on:
schedule:
- cron: '0 6 * * *' # Runs at midnight Mountain every day
- cron: '0 0 * * 0' # Every Sunday Midnight (UTC) / Saturday 5pm MT
pull_request:
types: [milestoned, opened, reopened, synchronize]
paths:
- tasks/iac.yaml
- .github/bundles/aks/*
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/test-eks.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
# Copyright 2024 Defense Unicorns
# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial

name: EKS Nightly Test
name: EKS Test

on:
schedule:
- cron: '0 6 * * *' # Runs at midnight Mountain every day
- cron: '0 0 * * 0' # Every Sunday Midnight (UTC) / Saturday 5pm MT
pull_request:
types: [milestoned, opened, reopened, synchronize]
paths:
- tasks/iac.yaml
- .github/bundles/eks/*
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/test-rke2.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
# Copyright 2024 Defense Unicorns
# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial

name: RKE2 Nightly Test
name: RKE2 Test

on:
schedule:
- cron: '0 6 * * *' # Runs at midnight Mountain every day
- cron: '0 0 * * 0' # Every Sunday Midnight (UTC) / Saturday 5pm MT
pull_request:
types: [milestoned, opened, reopened, synchronize]
paths:
- tasks/iac.yaml
- .github/bundles/rke2/*
Expand Down
2 changes: 1 addition & 1 deletion tasks/iac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ tasks:

# wait for cluster components
while true; do
if [ $(uds zarf tools kubectl get po -A --no-headers=true | egrep -v 'Running|Completed' | wc -l) -gt 0 ]; then
if [ $(uds zarf tools kubectl get po,job -A --no-headers=true | egrep -v 'Running|Complete' | wc -l) -gt 0 ]; then
echo "Waiting for cluster components to be ready...";
sleep 5;
else
Expand Down
Loading