# This script deletes all test ssh keys (with titles including 'key for ssh tests' or 'key for audit event test') of a user specified by ENV['GITLAB_USERNAME']
# Required environment variables: GITLAB_QA_ACCESS_TOKEN, GITLAB_ADDRESS and GITLAB_USERNAME
moduleQA
moduleTools
classDeleteTestSSHKeys
includeSupport::Api
definitialize
raiseArgumentError,"Please provide GITLAB_ADDRESS"unlessENV['GITLAB_ADDRESS']
raiseArgumentError,"Please provide GITLAB_QA_ACCESS_TOKEN"unlessENV['GITLAB_QA_ACCESS_TOKEN']
raiseArgumentError,"Please provide GITLAB_USERNAME"unlessENV['GITLAB_USERNAME']