Skip to content

Commit

Permalink
Revert "add new CI step: "setup upstream remote""
Browse files Browse the repository at this point in the history
This reverts commit 4454fa9.
  • Loading branch information
pietroalbini committed Jan 6, 2025
1 parent fb95f00 commit 395fb70
Showing 3 changed files with 0 additions and 39 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -130,9 +130,6 @@ jobs:
# which then uses log commands to actually set them.
EXTRA_VARIABLES: ${{ toJson(matrix.env) }}

- name: setup upstream remote
run: src/ci/scripts/setup-upstream-remote.sh

- name: ensure the channel matches the target branch
run: src/ci/scripts/verify-channel.sh

24 changes: 0 additions & 24 deletions src/ci/scripts/setup-upstream-remote.sh

This file was deleted.

12 changes: 0 additions & 12 deletions src/ci/shared.sh
Original file line number Diff line number Diff line change
@@ -136,15 +136,3 @@ function releaseChannel {
echo $RUST_CI_OVERRIDE_RELEASE_CHANNEL
fi
}

# Parse values from src/stage0 file by key
function parse_stage0_file_by_key {
local key="$1"
local file="$ci_dir/../stage0"
local value=$(awk -F= '{a[$1]=$2} END {print(a["'$key'"])}' $file)
if [ -z "$value" ]; then
echo "ERROR: Key '$key' not found in '$file'."
exit 1
fi
echo "$value"
}

0 comments on commit 395fb70

Please sign in to comment.