This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # setting up tf and exporting service url | |
| 10:35:48 › tfenv use 0.12.20 | |
| [INFO] Switching to v0.12.20 | |
| [INFO] Switching completed | |
| 10:37:29 › export WEB_SERVICE_URL=http://pulsar.pulsar.docker:8080 | |
| # run the test |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # patterns are used for both search expressions and zip archive name | |
| patterns=("dub" "fra" "iad") | |
| # loop through patterns | |
| for i in "${patterns[@]}" | |
| do | |
| # find all files which match the pattern and include them in a zip archive | |
| find . -iname "$i-*" -exec zip "$i.zip" {} + |