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 | |
| # https://cloud.google.com/compute/docs/faq#ipranges | |
| #nslookup -q=TXT _cloud-netblocks.googleusercontent.com 8.8.8.8 | |
| for LINE in `dig txt _cloud-netblocks.googleusercontent.com +short | tr " " "\n" | grep include | cut -f 2 -d :` | |
| do | |
| dig txt $LINE +short | |
| done | tr " " "\n" | grep ip4 | cut -f 2 -d : | sort -n |
- no upfront installation/agents on remote/slave machines - ssh should be enough
- application components should use third-party software, e.g. HDFS, Spark's cluster, deployed separately
- configuration templating
- environment requires/asserts, i.e. we need a JVM in a given version before doing deployment
- deployment process run from Jenkins
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
| ############ | |
| # Option A # | |
| ############ | |
| class CategoryTestCase(RESTAPITestCase): | |
| """Tests Category API endpoints.""" | |
| base_name = 'category' | |
| user_factory = account_factories.Admin |