소스 검색

Add extra_args support to install-service justfile command

It's now possible to do: `just install-service prometheus -l host.example.com`
pull/2593/head
Slavi Pantaleev 2 년 전
부모
커밋
abf96569e0
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      justfile

+ 2
- 2
justfile 파일 보기

@@ -15,8 +15,8 @@ lint:
install-all *extra_args: (run-tags "install-all,ensure-matrix-users-created,start" extra_args)

# Runs installation tasks for a single service
install-service service:
just --justfile {{ justfile() }} run --tags=install-{{ service }},start-group --extra-vars=group={{ service }}
install-service service *extra_args:
just --justfile {{ justfile() }} run --tags=install-{{ service }},start-group --extra-vars=group={{ service }} {{ extra_args }}

# Runs the playbook with --tags=setup-all,ensure-matrix-users-created,start and optional arguments
setup-all *extra_args: (run-tags "setup-all,ensure-matrix-users-created,start" extra_args)


불러오는 중...
취소
저장