Skip to content

Commit 6d05114

Browse files
authored
Update run-registry command and README (#327)
* Update command and README * improve readme
1 parent 4a7289d commit 6d05114

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ The Ingest Manager will now use your locally running package registry for retrie
7777
within Kibana does some caching after it has downloaded a package, so if you are not seeing your changes you might
7878
need to restart Kibana and Elasticsearch.
7979

80-
If you want to check you are using the correct Ingest manager go to Management -> Integrations in Kibana and search for Endpoint Security. Observe the version number. You should see the `-dev` sufix in the version.
80+
If you want to check you are using the correct Ingest manager go to Management -> Integrations in Kibana and search for Elastic Defend. It is likely that you are testing a pre-release version. In order to test properly, enable the Display beta integrations switch on this page. Afterwards, you will see a beta version of Elastic Defend in the UI. Observe the version number. You should see the -dev or -next sufix in the version. Add this version of Elastic Defend to your Agent Policy to install the package and test it.
8181

8282
If you don't see your version in the Integration you want to make sure the Ingest Manager is running correctly you can try a request to test it:
8383

@@ -87,6 +87,12 @@ curl "http://localhost:8080/search?package=endpoint"
8787

8888
If you see a JSON response, the Ingest Manager is running and it is probably a problem in your Kibana configuration. If you don't get a response you should check the running Ingest Manager process you probably started with docker.
8989

90+
Note, since you are likely testing a pre-release version of the package, to ensure that the dev package that you're testing is in your locally running registry, add the `prerelease` flag to the query param.
91+
92+
```bash
93+
curl "http://localhost:8080/search?package=endpoint&prerelease=true"
94+
```
95+
9096
### PR the changes
9197

9298
After making and testing the necessary changes, PR them to this repo.

docker-compose.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ version: "3.8"
44
services:
55
package-registry:
66
# to use the latest package-registry alone you can use: docker.elastic.co/package-registry/package-registry:master
7-
image: docker.elastic.co/package-registry/distribution:production
7+
environment:
8+
- EPR_FEATURE_PROXY_MODE=true
9+
image: docker.elastic.co/package-registry/package-registry:main
810
volumes:
911
- ./package-registry.config.yml:/package-registry/config.yml
1012
- ./out/packages:/packages/endpoint-package

package-registry.config.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
11
package_paths:
2-
- /packages/production
3-
- /packages/staging
4-
- /packages/snapshot
52
- /packages/endpoint-package
63
dev_mode: true

0 commit comments

Comments
 (0)