prod fixes
parent
6a126590d0
commit
3dd83d0ccf
|
|
@ -6,4 +6,4 @@ services:
|
|||
volumes:
|
||||
- /opt/docker/services:/services
|
||||
- ./:/out/
|
||||
command: bash -c 'python3 /out/show_updateable.py -o /out/updates.json /services/* --ignore zammad'
|
||||
command: bash -c 'python3 /out/show_updateable.py -s -o /out/updates.json /services/* --ignore zammad'
|
||||
|
|
|
|||
|
|
@ -129,7 +129,7 @@ def args_setup(description):
|
|||
parser.add_argument("compose_files", nargs="+")
|
||||
parser.add_argument("--output", "-o")
|
||||
parser.add_argument("--ignore", "-i", nargs="+", default=False)
|
||||
parser.add_argument("--match-suffix", "-s", action="store_false")
|
||||
parser.add_argument("--match-suffix", "-s", action="store_true")
|
||||
return parser
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
@ -142,4 +142,4 @@ if __name__ == "__main__":
|
|||
with open(args.output, "w") as out:
|
||||
json.dump(overview, out, indent=1, sort_keys=True)
|
||||
else:
|
||||
print(json.dumps(overview, indent=1))
|
||||
print(json.dumps(overview, indent=1))
|
||||
|
|
|
|||
|
|
@ -52,5 +52,5 @@ def main(args):
|
|||
if __name__=="__main__":
|
||||
parser = docker_compose.args_setup("Show updates for docker-compose style services")
|
||||
args = parser.parse_args()
|
||||
print(args)
|
||||
main(args)
|
||||
|
||||
Loading…
Reference in New Issue