From 6758a283d6d600cbe30eb24c2ead256a89f99289 Mon Sep 17 00:00:00 2001 From: Keith Smiley Date: Tue, 23 Apr 2024 11:41:05 -0400 Subject: [PATCH] Delete head deps CI job (#324) This is a no-op with bzlmod, and really skylib is very unlikely to break us anyways --- .bazelci/presubmit.yml | 9 ------ .bazelci/update_workspace_to_deps_heads.sh | 33 ---------------------- 2 files changed, 42 deletions(-) delete mode 100755 .bazelci/update_workspace_to_deps_heads.sh diff --git a/.bazelci/presubmit.yml b/.bazelci/presubmit.yml index 07db49e..c06fa3c 100644 --- a/.bazelci/presubmit.yml +++ b/.bazelci/presubmit.yml @@ -37,15 +37,6 @@ tasks: bazel: last_green <<: *common - macos_latest_head_deps: - name: "Current LTS with Head Deps" - bazel: latest - shell_commands: - # Update the WORKSPACE to use head versions of some deps to ensure nothing - # has landed on them breaking this project. - - .bazelci/update_workspace_to_deps_heads.sh - <<: *common - linux_latest: name: "Current LTS" bazel: latest diff --git a/.bazelci/update_workspace_to_deps_heads.sh b/.bazelci/update_workspace_to_deps_heads.sh deleted file mode 100755 index 33f486d..0000000 --- a/.bazelci/update_workspace_to_deps_heads.sh +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/bash - -# Copyright 2019 The Bazel Authors. All rights reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -set -eu - -# Modify the WORKSPACE to pull in the master branches of some deps. -sed \ - -i "" \ - -e \ - '/^workspace.*/a \ -\ -load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")\ -\ -git_repository(\ -\ name = "bazel_skylib",\ -\ remote = "https://github.com/bazelbuild/bazel-skylib.git",\ -\ branch = "main",\ -)\ -' \ - WORKSPACE