github.com/upcmd/up@v0.8.1-0.20230108151705-ad8b797bf04f/tests/modtests/m0014/up.yml (about)

     1  notes:
     2    - add username/password auth support
     3  
     4  dvars:
     5    - name: enc_key
     6      value: my_enc_key
     7      flags:
     8        - secret
     9  
    10    - name: github_password
    11      value: '{{ "something_secret" | encryptAES .enc_key }}'
    12      flags:
    13        - v
    14  
    15    - name: GITHUB_USERNAME
    16      value: my_github_username
    17      flags:
    18        - envVar
    19        - v
    20  
    21    - name: GITHUB_PASSWORD_ENCRYPTED
    22      value: '{{.github_password}}'
    23      flags:
    24        - secure
    25        - envVar
    26        - v
    27  
    28  tasks:
    29    -
    30      name: Main
    31      desc: main entry
    32      task:
    33  
    34        -
    35          func: call
    36          desc: |
    37            note that the module dir is: hello-module, but in upconfig.yml you give the alias hello as module name
    38          do: hello.Say_world