Skip to content

Commit d5a78fb

Browse files
pietroalbinicuviper
authored andcommitted
Revert "add new CI step: "setup upstream remote""
This reverts commit 4454fa9. (cherry picked from commit 395fb70)
1 parent 1d56b49 commit d5a78fb

File tree

3 files changed

+0
-39
lines changed

3 files changed

+0
-39
lines changed

.github/workflows/ci.yml

-3
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,6 @@ jobs:
130130
# which then uses log commands to actually set them.
131131
EXTRA_VARIABLES: ${{ toJson(matrix.env) }}
132132

133-
- name: setup upstream remote
134-
run: src/ci/scripts/setup-upstream-remote.sh
135-
136133
- name: ensure the channel matches the target branch
137134
run: src/ci/scripts/verify-channel.sh
138135

src/ci/scripts/setup-upstream-remote.sh

-24
This file was deleted.

src/ci/shared.sh

-12
Original file line numberDiff line numberDiff line change
@@ -137,15 +137,3 @@ function releaseChannel {
137137
echo $RUST_CI_OVERRIDE_RELEASE_CHANNEL
138138
fi
139139
}
140-
141-
# Parse values from src/stage0 file by key
142-
function parse_stage0_file_by_key {
143-
local key="$1"
144-
local file="$ci_dir/../stage0"
145-
local value=$(awk -F= '{a[$1]=$2} END {print(a["'$key'"])}' $file)
146-
if [ -z "$value" ]; then
147-
echo "ERROR: Key '$key' not found in '$file'."
148-
exit 1
149-
fi
150-
echo "$value"
151-
}

0 commit comments

Comments
 (0)