Skip to content

Commit

Permalink
Add Env Var for Snowflake Partner Program (#279)
Browse files Browse the repository at this point in the history
Support was added in Snowflake provider: apache/airflow#16420 to attribute usage to Partners.

This PR/commit will adds this Env var for Astronomer <-> Snowflake partnership
  • Loading branch information
kaxil committed Jun 25, 2021
1 parent 3704e6d commit 932639e
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions 2.0.0/buster/Dockerfile
Expand Up @@ -193,6 +193,9 @@ RUN groupadd gosuers \
# Create man directory to solve issues installing JRE
RUN mkdir -pv /usr/share/man/man1 && mkdir -pv /usr/share/man/man7

# Environment Variables for Partner Programs
ENV AIRFLOW_SNOWFLAKE_PARTNER=ASTRONOMER

# Though this is set here we currently override this in the helm template, so
# this _might_ not have any effect once deployed. The /entrypoint script copes
# with this
Expand Down
3 changes: 3 additions & 0 deletions 2.0.2/buster/Dockerfile
Expand Up @@ -193,6 +193,9 @@ RUN groupadd gosuers \
# Create man directory to solve issues installing JRE
RUN mkdir -pv /usr/share/man/man1 && mkdir -pv /usr/share/man/man7

# Environment Variables for Partner Programs
ENV AIRFLOW_SNOWFLAKE_PARTNER=ASTRONOMER

# Though this is set here we currently override this in the helm template, so
# this _might_ not have any effect once deployed. The /entrypoint script copes
# with this
Expand Down
3 changes: 3 additions & 0 deletions 2.1.0/buster/Dockerfile
Expand Up @@ -193,6 +193,9 @@ RUN groupadd gosuers \
# Create man directory to solve issues installing JRE
RUN mkdir -pv /usr/share/man/man1 && mkdir -pv /usr/share/man/man7

# Environment Variables for Partner Programs
ENV AIRFLOW_SNOWFLAKE_PARTNER=ASTRONOMER

# Though this is set here we currently override this in the helm template, so
# this _might_ not have any effect once deployed. The /entrypoint script copes
# with this
Expand Down
3 changes: 3 additions & 0 deletions 2.1.1/buster/Dockerfile
Expand Up @@ -193,6 +193,9 @@ RUN groupadd gosuers \
# Create man directory to solve issues installing JRE
RUN mkdir -pv /usr/share/man/man1 && mkdir -pv /usr/share/man/man7

# Environment Variables for Partner Programs
ENV AIRFLOW_SNOWFLAKE_PARTNER=ASTRONOMER

# Though this is set here we currently override this in the helm template, so
# this _might_ not have any effect once deployed. The /entrypoint script copes
# with this
Expand Down

0 comments on commit 932639e

Please sign in to comment.