Skip to content

Commit

Permalink
document behavior of COMMIT variable for make deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
jfchevrette committed Dec 20, 2024
1 parent 3dfa2ab commit b5586be
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -235,10 +235,10 @@ clouds:
imageTag: 9aca808
# Frontend
frontend:
imageTag: '' # if empty uses commit sha of repo
imageTag: '' # if empty will use the most recent tag
# Backend
backend:
imageTag: '' # if empty uses commit sha of repo
imageTag: '' # if empty will use the most recent tag
# Shared SVC KV
serviceKeyVault:
name: 'aro-hcp-dev-svc-kv'
Expand Down
9 changes: 9 additions & 0 deletions dev-infrastructure/docs/development-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,15 @@ The ARO-HCP resource provider consists of independent frontend and backend compo
make backend.deploy
```

This will deploy the most recent image tags of the frontend and backend components.

Optionally, a commit hash can be provided to the `frontend.deploy` and `backend.deploy` targets to deploy a specific version of the components. This is useful for testing changes in the frontend or backend components.

```bash
make frontend.deploy COMMIT=<short-sha>
make backend.deploy COMMIT=<short-sha>
```

To validate, have a look at the `aro-hcp` namespace on the service cluster.

## Deploy Services to the management cluster
Expand Down

0 comments on commit b5586be

Please sign in to comment.