-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
39 additions
and
27 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 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
11 changes: 11 additions & 0 deletions
11
docs/quickstarts/snippets/n3dr/docker/CONFIG_REPOSITORY.md
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,11 @@ | ||
# config repository docker | ||
|
||
```bash | ||
./n3dr configRepository \ | ||
-u admin \ | ||
-p $(docker exec -it nexus3-n3dr-src cat /nexus-data/admin.password) \ | ||
-n localhost:8081 \ | ||
--https=false \ | ||
--configRepoName docker-images \ | ||
--configRepoType docker | ||
``` |
11 changes: 11 additions & 0 deletions
11
docs/quickstarts/snippets/n3dr/docker/CONFIG_REPOSITORY_DEST.md
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,11 @@ | ||
# config repository docker dest | ||
|
||
```bash | ||
./n3dr configRepository \ | ||
-u admin \ | ||
-p $(docker exec -it nexus3-n3dr-dest cat /nexus-data/admin.password) \ | ||
-n localhost:9000 \ | ||
--https=false \ | ||
--configRepoName docker-images \ | ||
--configRepoType docker | ||
``` |
13 changes: 13 additions & 0 deletions
13
docs/quickstarts/snippets/n3dr/docker/POPULATE_ARTIFACTS.md
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,13 @@ | ||
# populate artifacts | ||
|
||
```bash | ||
docker login localhost:8082 \ | ||
-p $(docker exec -it nexus3-n3dr-src cat /nexus-data/admin.password) \ | ||
-u admin && \ | ||
for d in $(seq 5); do | ||
docker_registry_tag=localhost:8082/repository/docker-images/utrecht/n3dr:6.${d}.0 | ||
docker pull "utrecht/n3dr:6.${d}.0" | ||
docker tag "utrecht/n3dr:6.${d}.0" localhost:8082/repository/docker-images/utrecht/n3dr:6.${d}.0 | ||
docker push localhost:8082/repository/docker-images/utrecht/n3dr:6.${d}.0 | ||
done | ||
``` |