github.com/juju/juju@v0.0.0-20240430160146-1752b71fcf00/testcharms/charm-hub/charms/juju-qa-test-v2/README.md (about)

     1  # juju-qa-test-v2
     2  
     3  ## Description
     4  
     5  A non-container-based V2 metadata charm to use in testing juju.
     6  
     7  ## Usage
     8  
     9  Basic deploy: <br>
    10  <code>juju deploy juju-qa-test-v2</code>
    11  
    12  Set the unit status to the first line of the resource, if available, one time:<br>
    13  <code>juju config juju-qa-test-v2 foo-file=true</code>
    14  
    15  Get your fortune<br>
    16  <code>juju run-action juju-qa-test-v2/0 fortune</code>
    17  
    18  
    19  ## Deployment
    20  
    21  It is expected that you have charmcraft installed via
    22  
    23  <code>snap install charmcraft</code>
    24  
    25  Then cd in to testcharms/charm-hub/charms/juju-qa-test-v2 and run
    26  
    27  <code>
    28  charmcraft build
    29  juju deploy juju-qa-test-v2.charm
    30  </code>