-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: document how to run the plugin locally [OSM-2184]
- Loading branch information
1 parent
3e42217
commit a233261
Showing
4 changed files
with
29 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
artifactory-docker-compose/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Local development | ||
|
||
## Running artifactory locally | ||
Artifactory pro is required to run this plugin. If you want to try it out, | ||
you can sign up for free on the [JFrog website](https://jfrog.com/start-free/) | ||
and download a self-hosted version powered by Docker Compose. | ||
|
||
Follow the installation instructions to run artifactory. | ||
The `artifactory-docker-compose` folder, which is .gitignored, | ||
can be used to extract artifactory to. | ||
|
||
## Installing the plugin | ||
Build it first: | ||
|
||
```shell | ||
mvn install -DskipTests | ||
``` | ||
|
||
Unpack the release into artifactory's plugins folder: | ||
|
||
```shell | ||
unzip -o distribution/target/artifactory-snyk-security-plugin-LOCAL-SNAPSHOT.zip -d local-dev/artifactory-docker-compose/artifactory/var/etc/artifactory/ | ||
``` | ||
|
||
Restart Artifactory and check the logs to confirm the plugin gets loaded. | ||
|