Skip to content

Commit

Permalink
feat: set architecture only on registry1 flavor (#31)
Browse files Browse the repository at this point in the history
* feat: set architecture only on registry1 flavor

* fix: revert var name changes and update readme

---------

Co-authored-by: zamaz <71521611+zachariahmiller@users.noreply.github.com>
  • Loading branch information
MxNxPx and zachariahmiller authored Feb 20, 2024
1 parent b512e0d commit b0862ec
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ For local testing and CI, SonarQube is bundled with the [dev-postgres package](g

| Flavor | Description | Example Creation |
| ------ | ----------- | ---------------- |
| upstream-ce | Uses upstream images within the package. | `zarf package create . -f upstream-ce` |
| registry1 | Uses images from registry1.dso.mil within the package. | `zarf package create . -f registry1` |
| `upstream-ce` | Uses upstream images within the package | `zarf package create . -f upstream-ce` |
| `registry1` | Uses images from registry1.dso.mil within the package | `zarf package create . -f registry1` |

> **_NOTE:_** `registry1` flavor only supports the amd64 architecture
## Releases

Expand Down
3 changes: 2 additions & 1 deletion zarf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ metadata:
# x-release-please-start-version
version: "8.0.3-uds.4"
# x-release-please-end
architecture: amd64

variables:
- name: SONARQUBE_DEPENDS_ON
Expand Down Expand Up @@ -46,6 +45,8 @@ components:
description: "Deploy sonarqube"
only:
flavor: registry1
cluster:
architecture: amd64
charts:
- name: uds-sonarqube-config
namespace: sonarqube
Expand Down

0 comments on commit b0862ec

Please sign in to comment.