github.com/argoproj/argo-cd/v3@v3.2.1/resource_customizations/apps/Deployment/actions/action_test.yaml (about)

     1  actionTests:
     2    - action: restart
     3      inputPath: testdata/deployment.yaml
     4      expectedOutputPath: testdata/deployment-restarted.yaml
     5    - action: pause
     6      inputPath: testdata/deployment.yaml
     7      expectedOutputPath: testdata/deployment-pause.yaml
     8    - action: resume
     9      inputPath: testdata/deployment-pause.yaml
    10      expectedOutputPath: testdata/deployment-resume.yaml
    11    - action: scale
    12      inputPath: testdata/deployment.yaml
    13      expectedOutputPath: testdata/deployment-scaled.yaml
    14      parameters:
    15        replicas: '6'
    16    - action: scale
    17      inputPath: testdata/deployment.yaml
    18      expectedErrorMessage: 'invalid number: not_a_number'
    19      parameters:
    20        replicas: 'not_a_number'