Skip to content

Instantly share code, notes, and snippets.

@brandon-dacrib
Created August 3, 2019 12:24
Show Gist options
  • Save brandon-dacrib/0493afe7aafdce46b64a14424f3462a7 to your computer and use it in GitHub Desktop.
Save brandon-dacrib/0493afe7aafdce46b64a14424f3462a7 to your computer and use it in GitHub Desktop.
diff --git a/.travis.yml b/.travis.yml
index 6a01597..fa5b456 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -24,7 +24,8 @@ env:
before_install:
- mkdir -p $(pwd)/aws
- mkdir -p $(pwd)/pip
- - pip install --upgrade awscli
+ - pip install awscli==1.16.209
+
# Install envtpl for environment variable based configuration templating
# https://github.com/andreasjansson/envtpl
- sudo pip install envtpl
diff --git a/Dockerfile.tpl b/Dockerfile.tpl
index 0e40928..680bc85 100644
--- a/Dockerfile.tpl
+++ b/Dockerfile.tpl
@@ -77,7 +77,7 @@ RUN set -ex \
&& pip install pytz \
&& pip install pyOpenSSL \
&& pip install ndg-httpsclient \
- && pip install awscli \
+ && pip install awscli==1.16.209 \
&& pip install pyasn1 \
&& pip install apache-airflow[crypto,postgres,hive,jdbc,mysql,kubernetes]==$AIRFLOW_VERSION \
&& apt-get purge --auto-remove -yqq $buildDeps \
diff --git a/requirements_airflow.txt b/requirements_airflow.txt
index f3c2f19..09b236b 100644
--- a/requirements_airflow.txt
+++ b/requirements_airflow.txt
@@ -4,7 +4,7 @@ damit==0.1.1
pypd>=1.0.0
slackclient>=1.0.0,<2.0.0
Flask-OAuthlib>=0.9.1
-awscli>=1.16.8
+awscli==1.16.209
python-dotenv>=0.9.1
python-snappy>=0.5.3
pytz>=2018.7
\ No newline at end of file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment