-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
eksperimenti iom pri testo per docker-compose...
- Loading branch information
Wolfram Diestel
committed
Mar 7, 2020
1 parent
03b5f06
commit 8c9144a
Showing
4 changed files
with
64 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
#!/bin/bash | ||
|
||
docker build -t voko-formiko . | ||
docker tag voko-formiko registry.local:5000/voko-formiko | ||
docker push registry.local:5000/voko-formiko | ||
img=voko-formiko | ||
|
||
docker build -t $img . | ||
docker tag $img registry.local:5000/$img | ||
docker push registry.local:5000/$img |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
version: '3' | ||
|
||
services: | ||
sut: # test container | ||
image: gcr.io/gcp-runtimes/container-structure-test | ||
#build: https://github.com/GoogleContainerTools/container-structure-test.git#:deploy | ||
command: test --image voko-formiko --config voko-formiko-test.yaml -v debug | ||
volumes: | ||
- /var/run/docker.sock:/var/run/docker.sock | ||
- ./tst/voko-formiko-test.yaml:/voko-formiko-test.yaml | ||
|
||
## formiko: | ||
## image: voko-formiko | ||
## build: Dockerfile | ||
## # restart: always | ||
# volumes: | ||
# - formiko-revo:/home/formiko/revo | ||
# - formiko-tmp:/home/formiko/tmp | ||
# - formiko-log:/home/formiko/log | ||
# secrets: | ||
# - voko-formiko.ssh_key | ||
# configs: | ||
# - source: voko-formiko.agordo-cron | ||
# #uid: '1001' | ||
# mode: 0644 | ||
# - source: voko-formiko.agordo-redaktoservo | ||
# target: /home/formiko/etc/redaktoservo-agordo | ||
# mode: 0444 | ||
|
||
# secrets: | ||
# | ||
# voko-formiko.ssh_key: | ||
# external: true | ||
# | ||
# voko.redaktantoj: | ||
# #external: true | ||
# file: ${HOME}/etc/redaktantoj | ||
# | ||
# configs: | ||
# # alternative uzu file: ... | ||
# # por rekte lasi la agordon sur la docker-gastiganto | ||
# voko-formiko.agordo-cron: | ||
# external: true | ||
# voko-formiko.agordo-redaktoservo: | ||
# external: true | ||
# | ||
# volumes: | ||
# formiko-revo: | ||
# formiko-tmp: | ||
# formiko-log: | ||
|
||
|
||
|
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