all: help #upload-quickstart #test-master #test-workload # See the following links before creating the bucket # https://github.com/aws-quickstart/quickstart-linux-bastion/issues/35#issuecomment-524320027 # https://docs.aws.amazon.com/general/latest/gr/signature-version-2.html QSS3BucketName= "your-own-bucket-name" QSS3KeyPrefix="quickstart-citrix-adc-vpx" help: @echo "Please use \`make ' where is one of" @echo "\tziplambda packages lambda function" @echo "\tsync-bucket creates ${QSS3BucketName} bucket and creates a copy of quickstart code in this S3 bucket" lint: cfn-lint templates/*.yaml pyflakes functions/source/adc/*.py ziplambda: cd functions/source/adc/ && 7z -tzip a lambda-adc.zip * mv functions/source/adc/lambda-adc.zip functions/packages/adc/lambda-adc.zip sync-bucket: @echo "syncing quickstart contents to s3 bucket" aws s3api put-object --bucket ${QSS3BucketName} --key ${QSS3KeyPrefix}/ aws s3 sync . s3://${QSS3BucketName}/${QSS3KeyPrefix} --exclude Makefile --delete test-run: taskcat -d test run # -r ap-south-1 -t citrix-adc-master-ap-south-1 --no-delete --keep-failed --output-directory ci test-clean: taskcat test clean ALL