]> git.lizzy.rs Git - rust.git/blob - .azure-pipelines/master.yml
Rollup merge of #61698 - davidtwco:ice-const-generic-length, r=varkor
[rust.git] / .azure-pipelines / master.yml
1 #
2 # Azure Pipelines job to publish toolstate. Only triggers on pushes to master.
3 #
4
5 pr: none
6 trigger:
7   - master
8
9 pool:
10   vmImage: ubuntu-16.04
11
12 steps:
13 - checkout: self
14   fetchDepth: 2
15
16 - script: |
17     export MESSAGE_FILE=$(mktemp -t msg.XXXXXX)
18     . src/ci/docker/x86_64-gnu-tools/repo.sh
19     # FIXME(pietro): committing is disabled until we switch to Azure Pipelines
20     # as the source of truth, or until we setup a separate test repo.
21     #commit_toolstate_change "$MESSAGE_FILE" "$BUILD_SOURCESDIRECTORY/src/tools/publish_toolstate.py" "$(git rev-parse HEAD)" "$(git log --format=%s -n1 HEAD)" "$MESSAGE_FILE" "$TOOLSTATE_REPO_ACCESS_TOKEN"
22   displayName: Publish toolstate
23   env:
24     TOOLSTATE_REPO_ACCESS_TOKEN: $(TOOLSTATE_REPO_ACCESS_TOKEN_SECRET)