Skip to content

Commit ec7d6f3

Browse files
committed
chore: add argocd submodule
1 parent 60a0bb9 commit ec7d6f3

File tree

6 files changed

+34
-8
lines changed

6 files changed

+34
-8
lines changed

.github/dependabot.yml

+4
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,7 @@ updates:
1212
directory: "/"
1313
schedule:
1414
interval: "daily"
15+
- package-ecosystem: "gitsubmodule"
16+
directory: "/argo-cd/"
17+
schedule:
18+
interval: "daily"

.github/workflows/build.yml

+2
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121
steps:
2222
- name: Check out code
2323
uses: actions/checkout@v4
24+
with:
25+
submodules: recursive
2426
- name: Install stable Toolchain
2527
uses: actions-rs/toolchain@v1
2628
with:

.github/workflows/release.yml

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
uses: actions/checkout@v4
2525
with:
2626
fetch-depth: 0
27+
submodules: recursive
2728
- name: Setup Node.js
2829
uses: actions/setup-node@v4
2930
with:

.gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "argo-cd"]
2+
path = argo-cd
3+
url = https://github.com/argoproj/argo-cd.git

DEVELOPMENT.md

+23-8
Original file line numberDiff line numberDiff line change
@@ -7,42 +7,57 @@ This guide will help you set up your development environment for the project.
77
Before you start, ensure you have the following installed:
88

99
- [Git](https://git-scm.com/downloads): For version control
10-
- Git LFS: For managing large files within the project
10+
- [Git LFS](https://git-lfs.com/): For managing large files within the project
1111
- [Node.js](https://nodejs.org/en/download): For running certain project scripts (including dependency management)
1212
- [`podman`](https://podman.io/docs/installation) or [Docker](https://www.docker.com/products/docker-desktop/): For containerization of the Vault instance and databases
1313
- This is especially required for [integration testing](#running-tests)
1414

1515
## Preparing the Repository
1616

17-
1. Clone the `propeller` project from GitHub:
17+
1. Make sure you have Git Large File Storage (LFS) installed beforehand:
18+
19+
```shell
20+
git lfs install
21+
git lfs fetch
22+
```
23+
24+
This ensures that when cloning the repository later, large files needed by the project are cloned too.
25+
26+
2. Clone the `propeller` project from GitHub:
1827

1928
```shell
2029
git clone git@github.com:postfinance/propeller.git
2130
```
2231

23-
2. Navigate into the project directory:
32+
3. Navigate into the project directory:
2433

2534
```
2635
cd propeller
2736
```
2837

29-
3. Initialize Git Large File Storage (LFS):
38+
4. Initialize Git Submodules:
3039

3140
```shell
32-
git lfs install
33-
git lfs fetch
41+
git submodule init
42+
git submodule update
3443
```
3544

36-
This ensures you have the large files needed by the project.
45+
The project is connected to [argoproj/argo-cd](https://github.com/argoproj/argo-cd) and thus includes some of its sources.
3746

38-
4. Install project dependencies (required if you're working with project resources):
47+
5. Install project dependencies:
3948

4049
```shell
4150
npm ci --cache .npm
4251
```
4352

4453
**Note:** The --cache .npm option helps speed up subsequent installations.
4554

55+
6. Generate ArgoCD client sources:
56+
57+
```shell
58+
59+
```
60+
4661
## Environment Setup
4762

4863
`propeller` requires the following components for development:

argo-cd

Submodule argo-cd added at 151ee6a

0 commit comments

Comments
 (0)