File tree 4 files changed +18
-83
lines changed
4 files changed +18
-83
lines changed Original file line number Diff line number Diff line change @@ -25,44 +25,16 @@ x_defaults:
25
25
test_targets : *linux_targets
26
26
27
27
tasks :
28
- macos_latest :
29
- name : " Latest Bazel"
30
- bazel : latest
31
- << : *mac_common
32
-
33
28
macos_last_green :
34
29
name : " Last Green Bazel"
35
30
bazel : last_green
36
31
<< : *mac_common
37
32
38
- macos_latest_head_deps :
39
- name : " Latest Bazel with Head Deps"
40
- bazel : latest
41
- shell_commands :
42
- # Update the WORKSPACE to use head versions of some deps to ensure nothing
43
- # has landed on them breaking this project.
44
- - .bazelci/update_workspace_to_deps_heads.sh
45
- << : *mac_common
46
-
47
- ubuntu1804_latest :
48
- name : " Latest Bazel"
49
- bazel : latest
50
- << : *linux_common
51
-
52
33
ubuntu1804_last_green :
53
34
name : " Last Green Bazel"
54
35
bazel : last_green
55
36
<< : *linux_common
56
37
57
- ubuntu1804_latest_head_deps :
58
- name : " Latest Bazel with Head Deps"
59
- bazel : latest
60
- shell_commands :
61
- # Update the WORKSPACE to use head versions of some deps to ensure nothing
62
- # has landed on them breaking this project.
63
- - .bazelci/update_workspace_to_deps_heads.sh
64
- << : *linux_common
65
-
66
38
buildifier :
67
39
version : latest
68
40
# Disable 'bzl-visibility' since it doesn't work properly.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -47,14 +47,23 @@ replacing the `urls` and `sha256` attributes with the values from the release
47
47
you wish to depend on:
48
48
49
49
``` python
50
+ load(" @bazel_tools//tools/build_defs/repo:git.bzl" , " git_repository" )
50
51
load(" @bazel_tools//tools/build_defs/repo:http.bzl" , " http_archive" )
51
52
52
- http_archive(
53
+ # rules_swift and apple_support no longer support releases. If you'd like to pin
54
+ # down these dependencies to a specific commit, please add the following to the
55
+ # top of your WORKSPACE, using the commit you'd like to pin for each of the
56
+ # repositories.
57
+ git_repository(
53
58
name = " build_bazel_rules_swift" ,
54
- sha256 = " 96a86afcbdab215f8363e65a10cf023b752e90b23abf02272c4fc668fcb70311" ,
55
- urls = [
56
- " https://github.com/bazelbuild/rules_swift/releases/download/0.11.1/rules_swift.0.11.1.tar.gz" ,
57
- ],
59
+ remote = " https://github.com/bazelbuild/rules_swift.git" ,
60
+ commit = " [SOME_HASH_VALUE]" ,
61
+ )
62
+
63
+ git_repository(
64
+ name = " build_bazel_apple_support" ,
65
+ remote = " https://github.com/bazelbuild/apple_support.git" ,
66
+ commit = " [SOME_HASH_VALUE]" ,
58
67
)
59
68
60
69
load(
Original file line number Diff line number Diff line change 14
14
15
15
"""Definitions for handling Bazel repositories used by the Swift rules."""
16
16
17
+ load ("@bazel_tools//tools/build_defs/repo:git.bzl" , "git_repository" )
17
18
load ("@bazel_tools//tools/build_defs/repo:http.bzl" , "http_archive" )
18
19
load (
19
20
"@build_bazel_rules_swift//swift/internal:swift_autoconfiguration.bzl" ,
@@ -48,12 +49,10 @@ def swift_rules_dependencies():
48
49
)
49
50
50
51
_maybe (
51
- http_archive ,
52
+ git_repository ,
52
53
name = "build_bazel_apple_support" ,
53
- urls = [
54
- "https://github.com/bazelbuild/apple_support/releases/download/0.7.2/apple_support.0.7.2.tar.gz" ,
55
- ],
56
- sha256 = "9114c452eee622598cf9cdc90ecb12b06af7f914f33440b26deba9a9704d450c" ,
54
+ remote = "https://github.com/bazelbuild/apple_support.git" ,
55
+ branch = "master" ,
57
56
)
58
57
59
58
_maybe (
You can’t perform that action at this time.
0 commit comments