Skip to content

Commit 3a70403

Browse files
committed
Temporary disable release automation check on CI
1 parent 77d4c90 commit 3a70403

File tree

2 files changed

+84
-84
lines changed

2 files changed

+84
-84
lines changed

.github/workflows/ci.yml

Lines changed: 52 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -97,55 +97,55 @@ jobs:
9797
# Releases
9898
###################################################
9999

100-
release:
101-
name: Check release automation
102-
103-
runs-on: ubuntu-latest
104-
105-
steps:
106-
- name: Checkout
107-
uses: actions/checkout@v2
108-
with:
109-
fetch-depth: 20
110-
111-
- name: Install rust
112-
uses: actions-rs/toolchain@v1
113-
with:
114-
toolchain: stable
115-
profile: minimal
116-
override: true
117-
118-
- uses: davidB/rust-cargo-make@v1
119-
with:
120-
version: '0.20.0'
121-
122-
- name: Install cargo-release
123-
uses: actions-rs/cargo@v1
124-
with:
125-
command: install
126-
args: --version=0.19.4 cargo-release
127-
128-
- name: Setup git
129-
run: |
130-
git config --global user.email "[email protected]"
131-
git config --global user.name "Release Test Bot"
132-
133-
- name: Dry run mode
134-
env:
135-
RELEASE_LEVEL: minor
136-
run: |
137-
cargo make release-dry-run
138-
139-
- name: Local test mode
140-
env:
141-
RELEASE_LEVEL: minor
142-
run: |
143-
cargo make release-local-test
144-
145-
- name: Echo local changes
146-
run: |
147-
git --no-pager log -p HEAD...HEAD~20
148-
149-
- name: Run tests
150-
run: |
151-
cargo make workspace-ci-flow --no-workspace
100+
#release:
101+
# name: Check release automation
102+
103+
# runs-on: ubuntu-latest
104+
105+
# steps:
106+
# - name: Checkout
107+
# uses: actions/checkout@v2
108+
# with:
109+
# fetch-depth: 20
110+
111+
# - name: Install rust
112+
# uses: actions-rs/toolchain@v1
113+
# with:
114+
# toolchain: stable
115+
# profile: minimal
116+
# override: true
117+
118+
# - uses: davidB/rust-cargo-make@v1
119+
# with:
120+
# version: '0.20.0'
121+
122+
# - name: Install cargo-release
123+
# uses: actions-rs/cargo@v1
124+
# with:
125+
# command: install
126+
# args: --version=0.19.4 cargo-release
127+
128+
# - name: Setup git
129+
# run: |
130+
# git config --global user.email "[email protected]"
131+
# git config --global user.name "Release Test Bot"
132+
133+
# - name: Dry run mode
134+
# env:
135+
# RELEASE_LEVEL: minor
136+
# run: |
137+
# cargo make release-dry-run
138+
139+
# - name: Local test mode
140+
# env:
141+
# RELEASE_LEVEL: minor
142+
# run: |
143+
# cargo make release-local-test
144+
145+
# - name: Echo local changes
146+
# run: |
147+
# git --no-pager log -p HEAD...HEAD~20
148+
149+
# - name: Run tests
150+
# run: |
151+
# cargo make workspace-ci-flow --no-workspace

azure-pipelines.yml

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -75,35 +75,35 @@ jobs:
7575
# Releases
7676
###################################################
7777

78-
- job: check_release_automation
79-
displayName: Check release automation
80-
pool:
81-
vmImage: 'ubuntu-latest'
82-
steps:
83-
- script: |
84-
export CARGO_HOME="$HOME/.cargo"
85-
curl https://sh.rustup.rs -sSf | sh -s -- -y
86-
echo "##vso[task.setvariable variable=PATH;]$PATH:$HOME/.cargo/bin"
87-
displayName: Install stable Rust
88-
- script: |
89-
_build/cargo-make.sh "0.20.0" "x86_64-unknown-linux-musl"
90-
displayName: Install cargo-make binary
91-
- script: |
92-
cargo install --debug --version=0.19.4 cargo-release
93-
displayName: Install cargo-release binary
94-
- script: |
95-
git config --local user.name "Release Test Bot"
96-
git config --local user.email "[email protected]"
97-
displayName: Set up git
98-
- script: |
99-
RELEASE_LEVEL="minor" cargo make release-dry-run
100-
displayName: Dry run mode
101-
- script: |
102-
RELEASE_LEVEL="minor" cargo make release-local-test
103-
displayName: Local test mode
104-
- script: |
105-
git --no-pager log -p HEAD...HEAD~20
106-
# NOTE: this is rolled into one task due to onerous
107-
# "bash not found" error on Azure.
108-
cargo make workspace-ci-flow --no-workspace
109-
displayName: Echo local changes && make sure build and tests still work
78+
#- job: check_release_automation
79+
# displayName: Check release automation
80+
# pool:
81+
# vmImage: 'ubuntu-latest'
82+
# steps:
83+
# - script: |
84+
# export CARGO_HOME="$HOME/.cargo"
85+
# curl https://sh.rustup.rs -sSf | sh -s -- -y
86+
# echo "##vso[task.setvariable variable=PATH;]$PATH:$HOME/.cargo/bin"
87+
# displayName: Install stable Rust
88+
# - script: |
89+
# _build/cargo-make.sh "0.20.0" "x86_64-unknown-linux-musl"
90+
# displayName: Install cargo-make binary
91+
# - script: |
92+
# cargo install --debug --version=0.19.4 cargo-release
93+
# displayName: Install cargo-release binary
94+
# - script: |
95+
# git config --local user.name "Release Test Bot"
96+
# git config --local user.email "[email protected]"
97+
# displayName: Set up git
98+
# - script: |
99+
# RELEASE_LEVEL="minor" cargo make release-dry-run
100+
# displayName: Dry run mode
101+
# - script: |
102+
# RELEASE_LEVEL="minor" cargo make release-local-test
103+
# displayName: Local test mode
104+
# - script: |
105+
# git --no-pager log -p HEAD...HEAD~20
106+
# # NOTE: this is rolled into one task due to onerous
107+
# # "bash not found" error on Azure.
108+
# cargo make workspace-ci-flow --no-workspace
109+
# displayName: Echo local changes && make sure build and tests still work

0 commit comments

Comments
 (0)