Temporary disable release automation check on CI
This commit is contained in:
parent
77d4c90b23
commit
3a70403aba
2 changed files with 74 additions and 74 deletions
84
.github/workflows/ci.yml
vendored
84
.github/workflows/ci.yml
vendored
|
@ -97,55 +97,55 @@ jobs:
|
|||
# Releases
|
||||
###################################################
|
||||
|
||||
release:
|
||||
name: Check release automation
|
||||
#release:
|
||||
# name: Check release automation
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
# runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 20
|
||||
# steps:
|
||||
# - name: Checkout
|
||||
# uses: actions/checkout@v2
|
||||
# with:
|
||||
# fetch-depth: 20
|
||||
|
||||
- name: Install rust
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
profile: minimal
|
||||
override: true
|
||||
# - name: Install rust
|
||||
# uses: actions-rs/toolchain@v1
|
||||
# with:
|
||||
# toolchain: stable
|
||||
# profile: minimal
|
||||
# override: true
|
||||
|
||||
- uses: davidB/rust-cargo-make@v1
|
||||
with:
|
||||
version: '0.20.0'
|
||||
# - uses: davidB/rust-cargo-make@v1
|
||||
# with:
|
||||
# version: '0.20.0'
|
||||
|
||||
- name: Install cargo-release
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: install
|
||||
args: --version=0.19.4 cargo-release
|
||||
# - name: Install cargo-release
|
||||
# uses: actions-rs/cargo@v1
|
||||
# with:
|
||||
# command: install
|
||||
# args: --version=0.19.4 cargo-release
|
||||
|
||||
- name: Setup git
|
||||
run: |
|
||||
git config --global user.email "juniper@example.com"
|
||||
git config --global user.name "Release Test Bot"
|
||||
# - name: Setup git
|
||||
# run: |
|
||||
# git config --global user.email "juniper@example.com"
|
||||
# git config --global user.name "Release Test Bot"
|
||||
|
||||
- name: Dry run mode
|
||||
env:
|
||||
RELEASE_LEVEL: minor
|
||||
run: |
|
||||
cargo make release-dry-run
|
||||
# - name: Dry run mode
|
||||
# env:
|
||||
# RELEASE_LEVEL: minor
|
||||
# run: |
|
||||
# cargo make release-dry-run
|
||||
|
||||
- name: Local test mode
|
||||
env:
|
||||
RELEASE_LEVEL: minor
|
||||
run: |
|
||||
cargo make release-local-test
|
||||
# - name: Local test mode
|
||||
# env:
|
||||
# RELEASE_LEVEL: minor
|
||||
# run: |
|
||||
# cargo make release-local-test
|
||||
|
||||
- name: Echo local changes
|
||||
run: |
|
||||
git --no-pager log -p HEAD...HEAD~20
|
||||
# - name: Echo local changes
|
||||
# run: |
|
||||
# git --no-pager log -p HEAD...HEAD~20
|
||||
|
||||
- name: Run tests
|
||||
run: |
|
||||
cargo make workspace-ci-flow --no-workspace
|
||||
# - name: Run tests
|
||||
# run: |
|
||||
# cargo make workspace-ci-flow --no-workspace
|
||||
|
|
|
@ -75,35 +75,35 @@ jobs:
|
|||
# Releases
|
||||
###################################################
|
||||
|
||||
- job: check_release_automation
|
||||
displayName: Check release automation
|
||||
pool:
|
||||
vmImage: 'ubuntu-latest'
|
||||
steps:
|
||||
- script: |
|
||||
export CARGO_HOME="$HOME/.cargo"
|
||||
curl https://sh.rustup.rs -sSf | sh -s -- -y
|
||||
echo "##vso[task.setvariable variable=PATH;]$PATH:$HOME/.cargo/bin"
|
||||
displayName: Install stable Rust
|
||||
- script: |
|
||||
_build/cargo-make.sh "0.20.0" "x86_64-unknown-linux-musl"
|
||||
displayName: Install cargo-make binary
|
||||
- script: |
|
||||
cargo install --debug --version=0.19.4 cargo-release
|
||||
displayName: Install cargo-release binary
|
||||
- script: |
|
||||
git config --local user.name "Release Test Bot"
|
||||
git config --local user.email "juniper@example.com"
|
||||
displayName: Set up git
|
||||
- script: |
|
||||
RELEASE_LEVEL="minor" cargo make release-dry-run
|
||||
displayName: Dry run mode
|
||||
- script: |
|
||||
RELEASE_LEVEL="minor" cargo make release-local-test
|
||||
displayName: Local test mode
|
||||
- script: |
|
||||
git --no-pager log -p HEAD...HEAD~20
|
||||
# NOTE: this is rolled into one task due to onerous
|
||||
# "bash not found" error on Azure.
|
||||
cargo make workspace-ci-flow --no-workspace
|
||||
displayName: Echo local changes && make sure build and tests still work
|
||||
#- job: check_release_automation
|
||||
# displayName: Check release automation
|
||||
# pool:
|
||||
# vmImage: 'ubuntu-latest'
|
||||
# steps:
|
||||
# - script: |
|
||||
# export CARGO_HOME="$HOME/.cargo"
|
||||
# curl https://sh.rustup.rs -sSf | sh -s -- -y
|
||||
# echo "##vso[task.setvariable variable=PATH;]$PATH:$HOME/.cargo/bin"
|
||||
# displayName: Install stable Rust
|
||||
# - script: |
|
||||
# _build/cargo-make.sh "0.20.0" "x86_64-unknown-linux-musl"
|
||||
# displayName: Install cargo-make binary
|
||||
# - script: |
|
||||
# cargo install --debug --version=0.19.4 cargo-release
|
||||
# displayName: Install cargo-release binary
|
||||
# - script: |
|
||||
# git config --local user.name "Release Test Bot"
|
||||
# git config --local user.email "juniper@example.com"
|
||||
# displayName: Set up git
|
||||
# - script: |
|
||||
# RELEASE_LEVEL="minor" cargo make release-dry-run
|
||||
# displayName: Dry run mode
|
||||
# - script: |
|
||||
# RELEASE_LEVEL="minor" cargo make release-local-test
|
||||
# displayName: Local test mode
|
||||
# - script: |
|
||||
# git --no-pager log -p HEAD...HEAD~20
|
||||
# # NOTE: this is rolled into one task due to onerous
|
||||
# # "bash not found" error on Azure.
|
||||
# cargo make workspace-ci-flow --no-workspace
|
||||
# displayName: Echo local changes && make sure build and tests still work
|
||||
|
|
Loading…
Add table
Reference in a new issue