Skip to content

Commit

Permalink
ci: Publish toolstate changes from Azure
Browse files Browse the repository at this point in the history
This commit moves toolstate publishing from Travis to Azure. We've been
testing on azure for some time now and this works by deleting the Travis
config and updating the credentials used on Azure.
  • Loading branch information
alexcrichton committed Jun 26, 2019
1 parent d3e2cec commit f78f372
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
2 changes: 1 addition & 1 deletion .azure-pipelines/master.yml
Expand Up @@ -7,7 +7,7 @@ trigger:
- master - master


variables: variables:
- group: prod-credentials - group: real-prod-credentials


pool: pool:
vmImage: ubuntu-16.04 vmImage: ubuntu-16.04
Expand Down
10 changes: 0 additions & 10 deletions .travis.yml
Expand Up @@ -229,16 +229,6 @@ matrix:
name: mingw-check name: mingw-check
if: type = pull_request OR branch = auto if: type = pull_request OR branch = auto


- stage: publish toolstate
if: branch = master AND type = push
before_install: []
install: []
sudo: false
script:
MESSAGE_FILE=$(mktemp -t msg.XXXXXX);
. src/ci/docker/x86_64-gnu-tools/repo.sh;
commit_toolstate_change "$MESSAGE_FILE" "$TRAVIS_BUILD_DIR/src/tools/publish_toolstate.py" "$(git rev-parse HEAD)" "$(git log --format=%s -n1 HEAD)" "$MESSAGE_FILE" "$TOOLSTATE_REPO_ACCESS_TOKEN";

before_install: before_install:
# We'll use the AWS cli to download/upload cached docker layers as well as # We'll use the AWS cli to download/upload cached docker layers as well as
# push our deployments, so download that here. # push our deployments, so download that here.
Expand Down

0 comments on commit f78f372

Please sign in to comment.