Skip to content

Commit

Permalink
generic: update readmes
Browse files Browse the repository at this point in the history
  • Loading branch information
DonHaul committed Sep 27, 2024
1 parent b4ffec0 commit 0addc5e
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 407 deletions.
File renamed without changes.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,18 @@ $ brew file install
### Make

This will prepare the whole inspire development with demo records:

```bash
make run
make setup
```

This spinup the whole inspirehep development with demo records but without the backoffice
```bash
make run-inspirehep
```

This will spin up a backoffice
```bash
make run-backoffice
```

You can stop it by simply run
Expand Down
30 changes: 0 additions & 30 deletions backoffice-repo/Makefile

This file was deleted.

13 changes: 7 additions & 6 deletions backoffice-repo/README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
# INSPIRE Backoffice

This repo consists of Airflow Dags and Django backoffice. To run it:
The main services consists of a Django backoffice and Airflow Dags and.:

# Run it with docker:

Go to the parent directory and run:
```bash
make run
make init
make run-backoffice
```


# Deploying to QA

Current development process requires:
## Deploy to backoffice:
- Go to Harbor: https://registry.cern.ch/harbor/projects/2086/repositories/inspire%2Fbackoffice/artifacts-tab
- Copy the tag of the lastest image into https://github.com/cern-sis/kubernetes-inspire/blob/main/backoffice/environments/backoffice/kustomization.yml#L66
- Copy the tag of the lastest image into https://github.com/cern-sis/kubernetes-inspire/blob/main/backoffice/environments/backoffice/kustomization.yml#L68
- Go to https://argocd.sis-inspire-20240708.siscern.org/applications/argocd/inspire-backoffice and synchronize
## Deploy to airflow:
- Go to Harbor: https://registry.cern.ch/harbor/projects/2086/repositories/inspire%2Fworkflows/artifacts-tab
- Copy the tag of the lastest image into [https://github.com/cern-sis/kubernetes-inspire/blob/main/backoffice/environments/backoffice/kustomization.yml#L66](https://github.com/cern-sis/kubernetes-airflow/blob/main/airflow/environments/airflow-inspire-dev/kustomization.yml#L19)
- Copy the tag of the lastest image into https://github.com/cern-sis/kubernetes-airflow/blob/main/airflow/environments/airflow-inspire-dev/kustomization.yml#L19
- Go to https://argocd-airflow.siscern.org/applications/argocd/airflow-inspire-dev and synchronize
Loading

0 comments on commit 0addc5e

Please sign in to comment.