You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -32,7 +35,7 @@ RUN setup-envtest use 1.27.1 --bin-dir /usr/local/envtest/bin
32
35
# (entrypoint is only run on start, not on exec). Due to that, the following approaches do not work:
33
36
# - ~/.bashrc - only works for one user in a shell but we must support -u $(id -u ${USER}):$(id -g ${USER}) which means the container could run as more than 1 user
34
37
# - /etc/profile or /etc/profile.d - only works for one user in a login shell
Copy file name to clipboardexpand all lines: docs/hugo/content/contributing/dependencies.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -2,13 +2,13 @@
2
2
title: Developer Dependencies
3
3
linktitle: Dependencies
4
4
---
5
-
Development of Azure Service Operator depends on a number of development tools and libraries that need to be installed.
5
+
Development of Azure Service Operator depends on a number of development tools and libraries that need to be installed.
6
6
7
-
If you prefer to install those dependencies manually (instead of using the `.devcontainer/install-dependencies.sh` script), here is a list of what's required.
7
+
If you prefer to install those dependencies manually (instead of using the `.devcontainer/install-dependencies.sh` script), here is a list of what's required.
Copy file name to clipboardexpand all lines: docs/hugo/content/contributing/developer-setup.md
+10-10
Original file line number
Diff line number
Diff line change
@@ -10,11 +10,11 @@ description: "How to set up your developer environment for Azure Service Operato
10
10
11
11
We support a number of different approaches to ASO development.
12
12
13
-
- Dev Container with VS Code on Linux
14
-
- Dev Container with VS Code on Windows
15
-
- Docker on Linux
16
-
- CLI on Linux
17
-
- CLI on MacOS
13
+
-[Dev Container with VS Code on Linux](#dev-container-with-vs-code-on-linux)
14
+
-[Dev Container with VS Code on Windows](#dev-container-with-vs-code-on-windows)
15
+
-[Docker on Linux](#docker-on-linux)
16
+
-[CLI on Linux](#cli-on-linux)
17
+
-[CLI on MacOS](#cli-on-macos)
18
18
19
19
Each of these is described in a different section below. See also the [troubleshooting](#troubleshooting-repo-health) sections below for help with common problems.
Note: If you mount the source like this from a Windows folder, performance will be poor as file operations between the container and Windows are very slow.
75
75
76
-
77
76
## CLI on Linux
78
77
79
78
If you are using Linux, instead of using VS Code you can run the `dev.sh` script in the root of the repository. This will install all required tooling into the `hack/tools` directory and then start a new shell with the `PATH` updated to use it.
80
79
81
80
## CLI on MacOS
82
81
83
-
Development of ASO on MacOS is possible (one of our team does so), but things are less automated.
82
+
Development of ASO on MacOS is also possible.
84
83
85
-
You'll need to manually install the tools as listed by`.devcontainer/install-dependencies.sh`.
84
+
You can either use the VS Code devcontainer approach (recommended) which installs all the tools into a container, or you can install the tools directly on your Mac. In case of the latter, you'll need to install the following tools manually running:`.devcontainer/install-dependencies.sh`.
86
85
87
-
If you have an ARM based Mac, you'll also need to install [Rosetta](https://support.apple.com/en-nz/HT211861).
86
+
This creates `hack/tools` and downloads all the required tools into it based on the architecture(arm64 or amd64) of your machine.
88
87
88
+
If you have an ARM based Mac, you'll also need to install [Rosetta](https://support.apple.com/en-nz/HT211861).
89
89
90
90
## Troubleshooting: Repo health
91
91
@@ -115,7 +115,7 @@ If you see a list of tags (as shown above), then you're good to go.
115
115
Otherwise, pull tags from your upstream repo and check again:
0 commit comments