-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add separate work flow and dry up package setup
- Loading branch information
Showing
6 changed files
with
73 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Copyright 2024 Defense Unicorns | ||
# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial | ||
|
||
# This workflow runs smoke tests for the unicorn and registry1 flavors of UDS Runtime. | ||
name: Flavor Tests | ||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: "0 9 * * 1" # Runs Mondays at 9:00 AM UTC, which is 3:00 AM MT during Daylight Saving Time | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
smoke-test-flavors: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
flavor: [registry1, unicorn] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | ||
|
||
- name: Setup Environment (Go, Node, Homebrew, UDS CLI, k3d) | ||
uses: ./.github/actions/setup | ||
|
||
- name: Iron Bank Login | ||
env: | ||
REGISTRY_USERNAME: ${{ secrets.IRON_BANK_ROBOT_USERNAME }} | ||
REGISTRY_PASSWORD: ${{ secrets.IRON_BANK_ROBOT_PASSWORD }} | ||
run: echo "${{ env.REGISTRY_PASSWORD }}" | uds zarf tools registry login -u "${{ env.REGISTRY_USERNAME }}" --password-stdin registry1.dso.mil | ||
shell: bash | ||
|
||
- name: smoke-test | ||
run: | | ||
uds run test:smoke-flavor --set FLAVOR=${{ matrix.flavor }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Copyright 2024 Defense Unicorns | ||
# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial | ||
kind: ZarfPackageConfig | ||
metadata: | ||
name: uds-common-runtime | ||
description: "UDS Common Runtime" | ||
components: | ||
- name: uds-runtime | ||
required: true | ||
charts: | ||
- name: uds-runtime | ||
localPath: ../../../chart | ||
namespace: uds-runtime | ||
version: 0.1.0 | ||
actions: | ||
onDeploy: | ||
after: | ||
- description: Validate Runtime Package | ||
maxTotalSeconds: 300 | ||
wait: | ||
cluster: | ||
kind: packages.uds.dev | ||
name: uds-runtime | ||
namespace: uds-runtime | ||
condition: "'{.status.phase}'=Ready" |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters