Skip to content

Commit

Permalink
docs: fix running-locally.md (#8187)
Browse files Browse the repository at this point in the history
Signed-off-by: Rohan Kumar <rohankmr414@gmail.com>
  • Loading branch information
rohankmr414 authored Mar 18, 2022
1 parent 41fd07a commit 3ef403b
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions docs/running-locally.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,7 @@ make argoexec-image

1. Configure your IDE to set the `KUBECONFIG` environment variable to your k3d kubeconfig file
2. Find an e2e test that you want to run in `test/e2e`
3. Determine which profile the e2e test is using by inspecting the go build flag at the top of the file and referring to [ci-build.yaml]

.github/workflows/ci-build.yaml
3. Determine which profile the e2e test is using by inspecting the go build flag at the top of the file and referring to [ci-build.yaml](https://github.com/argoproj/argo-workflows/blob/master/.github/workflows/ci-build.yaml)

For example `TestArchiveStrategies` in `test/e2e/functional_test.go` has the following build flags

Expand All @@ -87,13 +85,13 @@ For example `TestArchiveStrategies` in `test/e2e/functional_test.go` has the fol
// +build functional
```

In ci-build.yaml the functional test suite is using the `minimal` profile
In [ci-build.yaml](https://github.com/argoproj/argo-workflows/blob/master/.github/workflows/ci-build.yaml) the functional test suite is using the `minimal` profile

4. Run the profile in a terminal window
4. Run the profile in a terminal window

```shell
make start PROFILE=minimal E2E_EXECUTOR=emissary AUTH_MODE=client STATIC_FILES=false LOG_LEVEL=info API=true UI=false
````
```shell
make start PROFILE=minimal E2E_EXECUTOR=emissary AUTH_MODE=client STATIC_FILES=false LOG_LEVEL=info API=true UI=false
```

5. Run the test in your IDE

Expand Down

0 comments on commit 3ef403b

Please sign in to comment.