Skip to content

Commit

Permalink
ENH make sure we have the staging token
Browse files Browse the repository at this point in the history
  • Loading branch information
beckermr committed Apr 26, 2020
1 parent 49ae7a1 commit fc9ead5
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions conda_smithy/templates/azure-pipelines-linux.yml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,5 @@ jobs:
BINSTAR_TOKEN: $(BINSTAR_TOKEN)
{%- if conda_forge_output_validation %}
FEEDSTOCK_TOKEN: $(FEEDSTOCK_TOKEN)
STAGING_BINSTAR_TOKEN: $(STAGING_BINSTAR_TOKEN)
{%- endif %}
1 change: 1 addition & 0 deletions conda_smithy/templates/azure-pipelines-osx.yml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,5 @@ jobs:
BINSTAR_TOKEN: $(BINSTAR_TOKEN)
{%- if conda_forge_output_validation %}
FEEDSTOCK_TOKEN: $(FEEDSTOCK_TOKEN)
STAGING_BINSTAR_TOKEN: $(STAGING_BINSTAR_TOKEN)
{%- endif %}
1 change: 1 addition & 0 deletions conda_smithy/templates/azure-pipelines-win.yml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -124,5 +124,6 @@ jobs:
BINSTAR_TOKEN: $(BINSTAR_TOKEN)
{%- if conda_forge_output_validation %}
FEEDSTOCK_TOKEN: $(FEEDSTOCK_TOKEN)
STAGING_BINSTAR_TOKEN: $(STAGING_BINSTAR_TOKEN)
{%- endif %}
condition: and(succeeded(), not(eq(variables['UPLOAD_PACKAGES'], 'False')))
2 changes: 2 additions & 0 deletions conda_smithy/templates/drone.yml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ steps:
{%- if conda_forge_output_validation %}
FEEDSTOCK_TOKEN:
from_secret: FEEDSTOCK_TOKEN
STAGING_BINSTAR_TOKEN:
from_secret: STAGING_BINSTAR_TOKEN
{%- endif %}

{%- if 'linux' in data.platform %}
Expand Down
1 change: 1 addition & 0 deletions conda_smithy/templates/run_docker_build.sh.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ export UPLOAD_PACKAGES="${UPLOAD_PACKAGES:-True}"
-e CI \
{%- if conda_forge_output_validation %}
-e FEEDSTOCK_TOKEN \
-e STAGING_BINSTAR_TOKEN \
{%- endif %}
$DOCKER_IMAGE \
{{ docker.command }} \
Expand Down

0 comments on commit fc9ead5

Please sign in to comment.