Skip to content

Commit 68d795b

Browse files
committed
Update README
1 parent 9a6eebf commit 68d795b

File tree

1 file changed

+26
-5
lines changed

1 file changed

+26
-5
lines changed

README.md

Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
# udp
22

3-
[Unified Openshift deployment Project](https://docs.google.com/presentation/d/1MlLuuawzxJg6U15zbPby6JAtNNEWZAhfGEWNcpYSWeo) for the [Packit Validation Service](https://github.com/packit/deployment/tree/main/cron-jobs/packit-service-validation).
3+
[Unified Openshift deployment Project](https://docs.google.com/presentation/d/1MlLuuawzxJg6U15zbPby6JAtNNEWZAhfGEWNcpYSWeo)
4+
for the [Packit Service Validation](https://github.com/packit/deployment/tree/main/cron-jobs/packit-service-validation).
45

5-
To deploy the *Packit Validation Service* through *Helm* into *cyborg* follow this steps:
6+
To deploy the *Packit Service Validation* through *Helm* follow this steps:
67

78
### Setup deployment
89

9-
Helm uses an **image** created through a GitHub action and pushed to Quay.io, the **tag** for this image is the first *7 digit for the commit SHA* of the packit/deployment repo.
10+
Helm uses an **image** created through a GitHub action and pushed to Quay.io,
11+
the **tag** for this image is the first *7 digit for the commit SHA* of the packit/deployment repo.
1012

1113
To use a new image update the referenced tag [here](https://github.com/packit/udp/blob/main/ocp-deployments/packit-service-validation-prod.yaml#L18).
1214

@@ -20,12 +22,31 @@ export PACKIT_SENTRY=$( echo -n 'token from bitwarden' | base64 )
2022
export PACKIT_GITHUB_TOKEN=$( echo -n 'token from bitwarden' | base64 )
2123
```
2224

23-
### Install Service
25+
### Install Helm Chart
26+
27+
#### From this repo
2428
```
2529
helm upgrade --install --cleanup-on-fail packit-service-validation ocp-helm-charts/packit-service-validation/ --set secrets.sentry=${PACKIT_SENTRY} --set secrets.github=${PACKIT_GITHUB_TOKEN} --values ocp-deployments/packit-service-validation-prod.yaml
2630
```
2731

28-
### Uninstall Service
32+
#### From chart repository
33+
```
34+
helm repo add packit https://helm.packit.dev
35+
helm repo update
36+
helm upgrade --install --cleanup-on-fail packit-service-validation packit/packit-service-validation --set secrets.sentry=${PACKIT_SENTRY} --set secrets.github=${PACKIT_GITHUB_TOKEN} --values ocp-deployments/packit-service-validation-prod.yaml
37+
```
38+
39+
### Uninstall Helm Chart
2940
```
3041
helm uninstall packit-service-validation
3142
```
43+
44+
### Releases
45+
There's a [release workflow](.github/workflows/release.yml) to automate releasing the Helm charts.
46+
It uses [Helm Chart Releaser Action](https://github.com/marketplace/actions/helm-chart-releaser)
47+
which turns this project into a self-hosted Helm chart repository.
48+
It does this – during every push to `main` – by checking each chart in the project,
49+
and whenever there's a new chart version, creates a corresponding GitHub release
50+
named for the chart version, adds Helm chart artifacts to the release,
51+
and creates or updates an `index.yaml` file with metadata about those releases,
52+
which is then hosted on GitHub Pages at https://helm.packit.dev.

0 commit comments

Comments
 (0)