Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: wip add automated tests (based on prometheus-service) #48

Merged
merged 29 commits into from
Aug 12, 2022

Commits on Aug 11, 2022

  1. feat: wip add automated tests (based on prometheus-service)

    Signed-off-by: Suraj Banakar <[email protected]>
    vadasambar committed Aug 11, 2022
    Configuration menu
    Copy the full SHA
    28ebb5a View commit details
    Browse the repository at this point in the history
  2. fix: fix unit test failing because events files were moved

    Signed-off-by: Suraj Banakar <[email protected]>
    vadasambar committed Aug 11, 2022
    Configuration menu
    Copy the full SHA
    2a5bbd1 View commit details
    Browse the repository at this point in the history
  3. test: add on:push to run the the integration tests workflow for the f…

    …irst time
    
    Signed-off-by: Suraj Banakar <[email protected]>
    vadasambar committed Aug 11, 2022
    Configuration menu
    Copy the full SHA
    106a008 View commit details
    Browse the repository at this point in the history
  4. test(actions/integrated-tests): fix on:push syntax

    Signed-off-by: Suraj Banakar <[email protected]>
    vadasambar committed Aug 11, 2022
    Configuration menu
    Copy the full SHA
    c7c466a View commit details
    Browse the repository at this point in the history
  5. fix(actions/integration-tests): keep only one keptn version in the ma…

    …trix for test
    
    - remove code not needed for datadog-service:
      - remove `Download artifacts` step
      - remove `Install prometheus-service` step
    
    Signed-off-by: Suraj Banakar <[email protected]>
    vadasambar committed Aug 11, 2022
    Configuration menu
    Copy the full SHA
    8c14765 View commit details
    Browse the repository at this point in the history
  6. fix(actions/integration-tests): add virtualbox repo to apt-get

    Signed-off-by: Suraj Banakar <[email protected]>
    vadasambar committed Aug 11, 2022
    Configuration menu
    Copy the full SHA
    a378806 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    988c8da View commit details
    Browse the repository at this point in the history
  8. fix(actions/integration-tests): fix yaml syntax error

    Signed-off-by: Suraj Banakar <[email protected]>
    vadasambar committed Aug 11, 2022
    Configuration menu
    Copy the full SHA
    d34c880 View commit details
    Browse the repository at this point in the history
  9. fix(actions/integration-tests): slim down keptn installation

    Signed-off-by: Suraj Banakar <[email protected]>
    vadasambar committed Aug 11, 2022
    Configuration menu
    Copy the full SHA
    366890a View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    64e7e10 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    3e81dcf View commit details
    Browse the repository at this point in the history
  12. fix(actions/integration-tests): increase cpu and memory for minikube …

    …cluster
    
    Signed-off-by: Suraj Banakar <[email protected]>
    vadasambar committed Aug 11, 2022
    Configuration menu
    Copy the full SHA
    eb7940d View commit details
    Browse the repository at this point in the history
  13. fix(actions/integration-tests): decrease cpu to 2

    - because GHA doesn't support more than 2 cpus :(
    
    Signed-off-by: Suraj Banakar <[email protected]>
    vadasambar committed Aug 11, 2022
    Configuration menu
    Copy the full SHA
    5e5f2ec View commit details
    Browse the repository at this point in the history
  14. fix(actions/integration-tests): decrease memory to 5GB

    - because GHA only supports ~6GB of memory
    
    Signed-off-by: Suraj Banakar <[email protected]>
    vadasambar committed Aug 11, 2022
    Configuration menu
    Copy the full SHA
    fc0c6f7 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    eb81e1e View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    df9f11a View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    c64a1f9 View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2022

  1. fix(charts): add sleep before api env variable in chart

    - set the value to 120s
    
    Signed-off-by: Suraj Banakar <[email protected]>
    vadasambar committed Aug 12, 2022
    Configuration menu
    Copy the full SHA
    70c7621 View commit details
    Browse the repository at this point in the history
  2. fix(test): fix version label in test event data

    Signed-off-by: Suraj Banakar <[email protected]>
    vadasambar committed Aug 12, 2022
    Configuration menu
    Copy the full SHA
    ca7e7ba View commit details
    Browse the repository at this point in the history
  3. fix(core): fix printf and comments around sleep before api seconds

    - `30s` -> `60s` (actual is 60 but the service was printing 30)
    
    Signed-off-by: Suraj Banakar <[email protected]>
    vadasambar committed Aug 12, 2022
    Configuration menu
    Copy the full SHA
    6dd26cd View commit details
    Browse the repository at this point in the history
  4. fix(docs): add a line elaborating compatibility with keptn

    Signed-off-by: Suraj Banakar <[email protected]>
    vadasambar committed Aug 12, 2022
    Configuration menu
    Copy the full SHA
    1b7c95f View commit details
    Browse the repository at this point in the history
  5. fix(tests): remove redundant chart values

    Signed-off-by: Suraj Banakar <[email protected]>
    vadasambar committed Aug 12, 2022
    Configuration menu
    Copy the full SHA
    3c64fd3 View commit details
    Browse the repository at this point in the history
  6. fix(test): remove redundant comment in test sli file

    Signed-off-by: Suraj Banakar <[email protected]>
    vadasambar committed Aug 12, 2022
    Configuration menu
    Copy the full SHA
    f84d6c3 View commit details
    Browse the repository at this point in the history
  7. fix(test): increase test slo and wait time for tests

    - add 3m wait before evaluating slo
    - increase evaluation time frame to 2m
    
    Signed-off-by: Suraj Banakar <[email protected]>
    vadasambar committed Aug 12, 2022
    Configuration menu
    Copy the full SHA
    4446df3 View commit details
    Browse the repository at this point in the history
  8. fix(actions): add timeout=120m flag to integration tests

    - default timeout of 10m is too short
    
    Signed-off-by: Suraj Banakar <[email protected]>
    vadasambar committed Aug 12, 2022
    Configuration menu
    Copy the full SHA
    804a8b7 View commit details
    Browse the repository at this point in the history
  9. fix(actions): run minikube tunnel so that Ingress/Service LoadBalan…

    …cer can be provisioned
    
    Signed-off-by: Suraj Banakar <[email protected]>
    vadasambar committed Aug 12, 2022
    Configuration menu
    Copy the full SHA
    1bd81df View commit details
    Browse the repository at this point in the history
  10. fix(test): add old test events

    - to fix CI from failing
    
    Signed-off-by: Suraj Banakar <[email protected]>
    vadasambar committed Aug 12, 2022
    Configuration menu
    Copy the full SHA
    299b2ff View commit details
    Browse the repository at this point in the history
  11. fix(test): increase slo pass criteria to 0.25s

    - evaluation sometimes returns 0.15s
    
    Signed-off-by: Suraj Banakar <[email protected]>
    vadasambar committed Aug 12, 2022
    Configuration menu
    Copy the full SHA
    8f2dcfe View commit details
    Browse the repository at this point in the history
  12. fix(actions): add logs dump for datadog related pods

    Signed-off-by: Suraj Banakar <[email protected]>
    vadasambar committed Aug 12, 2022
    Configuration menu
    Copy the full SHA
    7e25da7 View commit details
    Browse the repository at this point in the history