Skip to content

Commit

Permalink
bf: Fix timeout not correctly being set
Browse files Browse the repository at this point in the history
  • Loading branch information
Salim committed Jul 27, 2018
1 parent 41fcca5 commit 4e6ba04
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion eve/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ models:
GCP_CRR_SRC_BUCKET_NAME: ci-zenko-gcp-crr-src-bucket
GCP_MPU_BUCKET_NAME: ci-zenko-gcp-mpu-bucket
GCP_MPU_BUCKET_NAME_2: ci-zenko-gcp-mpu-bucket-2
INSTALL_TIMEOUT: "600"
MULTI_CRR_SRC_BUCKET: ci-zenko-multi-crr-src-bucket
TRANSIENT_SRC_BUCKET: ci-zenko-transient-src-bucket
ZENKO_ACCESS_KEY: HEYIMAACCESSKEY
Expand All @@ -66,6 +65,7 @@ models:
ZENKO_HELM_RELEASE: 'zenko-test'
ZENKO_K8S_NAMESPACE: '%(prop:testNamespace)s'
TILLER_NAMESPACE: '%(prop:testNamespace)s'
INSTALL_TIMEOUT: "600"

- env: &global_env # contains all env values
<<: [*secrets_env, *docker_env, *k8s_env]
Expand Down
1 change: 1 addition & 0 deletions eve/workers/ci_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ FLAGS="\
--$CLI_FLAG ${CI_PREFIX}GCP_BACKEND_DESTINATION_LOCATION=$GCP_BACKEND_DESTINATION_LOCATION \
--$CLI_FLAG ${CI_PREFIX}GCP_BACKEND_SERVICE_KEY=$GCP_PRIV_KEY \
--$CLI_FLAG ${CI_PREFIX}GCP_BACKEND_SERVICE_EMAIL=$GCP_BACKEND_SERVICE_EMAIL"
--$CLI_FLAG INSTALL_TIMEOUT=$INSTALL_TIMEOUT"
if [ ! -z "$ZENKO_ACCESS_KEY" ]; then
FLAGS="$FLAGS --$CLI_FLAG ${CI_PREFIX}ZENKO_ACCESS_KEY=$ZENKO_ACCESS_KEY"
Expand Down
3 changes: 1 addition & 2 deletions tests/create_buckets.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@ def wait_for_pods(delete, timeout):
else:
_log.info('Zenko services have stabilized successfully')


TIMEOUT = get_env('INSTALL_TIMEOUT') or 240 # 4 Minutes
TIMEOUT = int(get_env('INSTALL_TIMEOUT'))

K8S_NAMESPACE = os.getenv('ZENKO_K8S_NAMESPACE')
ZENKO_HELM_RELEASE = os.getenv('ZENKO_HELM_RELEASE')
Expand Down

0 comments on commit 4e6ba04

Please sign in to comment.