Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add CI tests with and without bzlmod enabled #233

Merged
merged 13 commits into from
Mar 8, 2023

Conversation

cgrindel
Copy link
Owner

@cgrindel cgrindel commented Mar 8, 2023

  • Upgrade runners to macos-12 and ubuntu-22.04.
  • Add matrix jobs for running examples with and without bzlmod enabled.

Related to #195.

@cgrindel cgrindel self-assigned this Mar 8, 2023
@cgrindel cgrindel changed the title Upgrade to macos-12 and ubuntu-22.04 chore: add CI tests with and without bzlmod enabled Mar 8, 2023
@cgrindel cgrindel marked this pull request as ready for review March 8, 2023 20:53
@cgrindel cgrindel mentioned this pull request Mar 8, 2023
21 tasks
@cgrindel cgrindel enabled auto-merge (squash) March 8, 2023 20:55
@cgrindel cgrindel merged commit 5962eab into main Mar 8, 2023
@cgrindel cgrindel deleted the gh195_bzlmo_ci_tests branch March 8, 2023 21:17
renovate bot referenced this pull request in cgrindel/github_snippets Mar 10, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [cgrindel_bazel_starlib](https://togithub.com/cgrindel/bazel-starlib)
| http_archive | minor | `v0.13.1` -> `v0.14.3` |

---

### Release Notes

<details>
<summary>cgrindel/bazel-starlib</summary>

###
[`v0.14.3`](https://togithub.com/cgrindel/bazel-starlib/releases/tag/v0.14.3)

[Compare
Source](https://togithub.com/cgrindel/bazel-starlib/compare/v0.14.2...v0.14.3)

#### What's Changed

- fix: use minimal .bazelrc in `bzlmod_e2e` workspace by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/244](https://togithub.com/cgrindel/bazel-starlib/pull/244)

**Full Changelog**:
cgrindel/bazel-starlib@v0.14.2...v0.14.3

#### Workspace Snippet

```python
load("@&#8203;bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "cgrindel_bazel_starlib",
    sha256 = "0b78a96eff4d0059321643a78e54f11ab9d0e319994299c0f2b2ebd5325c3f48",
    urls = [
        "https://github.com/cgrindel/bazel-starlib/releases/download/v0.14.3/bazel-starlib.v0.14.3.tar.gz",
    ],
)

load("@&#8203;cgrindel_bazel_starlib//:deps.bzl", "bazel_starlib_dependencies")

bazel_starlib_dependencies()

load("@&#8203;bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")

bazel_skylib_workspace()
```

###
[`v0.14.2`](https://togithub.com/cgrindel/bazel-starlib/releases/tag/v0.14.2)

[Compare
Source](https://togithub.com/cgrindel/bazel-starlib/compare/v0.14.1...v0.14.2)

#### What's Changed

- fix: update metadata for BCR to include OWNER and REPO by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/242](https://togithub.com/cgrindel/bazel-starlib/pull/242)

**Full Changelog**:
cgrindel/bazel-starlib@v0.14.1...v0.14.2

#### Workspace Snippet

```python
load("@&#8203;bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "cgrindel_bazel_starlib",
    sha256 = "ef8c590a63ba69bc36b888180ddbdd59b10aa2a0777b61b2be24f2137bffa1d0",
    urls = [
        "https://github.com/cgrindel/bazel-starlib/releases/download/v0.14.2/bazel-starlib.v0.14.2.tar.gz",
    ],
)

load("@&#8203;cgrindel_bazel_starlib//:deps.bzl", "bazel_starlib_dependencies")

bazel_starlib_dependencies()

load("@&#8203;bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")

bazel_skylib_workspace()
```

###
[`v0.14.1`](https://togithub.com/cgrindel/bazel-starlib/releases/tag/v0.14.1)

[Compare
Source](https://togithub.com/cgrindel/bazel-starlib/compare/v0.14.0...v0.14.1)

#### What's Changed

- Update README.md for v0.14.0 by
[@&#8203;cgrindel-app-token-generator](https://togithub.com/cgrindel-app-token-generator)
in
[https://github.com/cgrindel/bazel-starlib/pull/239](https://togithub.com/cgrindel/bazel-starlib/pull/239)
- fix: include `examples/bzlmod_e2e` in release archive by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/240](https://togithub.com/cgrindel/bazel-starlib/pull/240)

**Full Changelog**:
cgrindel/bazel-starlib@v0.14.0...v0.14.1

#### Workspace Snippet

```python
load("@&#8203;bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "cgrindel_bazel_starlib",
    sha256 = "ef8c590a63ba69bc36b888180ddbdd59b10aa2a0777b61b2be24f2137bffa1d0",
    urls = [
        "https://github.com/cgrindel/bazel-starlib/releases/download/v0.14.1/bazel-starlib.v0.14.1.tar.gz",
    ],
)

load("@&#8203;cgrindel_bazel_starlib//:deps.bzl", "bazel_starlib_dependencies")

bazel_starlib_dependencies()

load("@&#8203;bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")

bazel_skylib_workspace()
```

###
[`v0.14.0`](https://togithub.com/cgrindel/bazel-starlib/releases/tag/v0.14.0)

[Compare
Source](https://togithub.com/cgrindel/bazel-starlib/compare/v0.13.1...v0.14.0)

#### What's Changed

- Update README.md for v0.13.1 by
[@&#8203;cgrindel-app-token-generator](https://togithub.com/cgrindel-app-token-generator)
in
[https://github.com/cgrindel/bazel-starlib/pull/229](https://togithub.com/cgrindel/bazel-starlib/pull/229)
- chore(deps): update dependency bazel to v6.1.0 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/cgrindel/bazel-starlib/pull/230](https://togithub.com/cgrindel/bazel-starlib/pull/230)
- chore: add support for `bzlmod` by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/232](https://togithub.com/cgrindel/bazel-starlib/pull/232)
- chore: add CI tests with and without `bzlmod` enabled by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/233](https://togithub.com/cgrindel/bazel-starlib/pull/233)
- chore: add `bzlmod_e2e` in preparation for publishing to BCR by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/234](https://togithub.com/cgrindel/bazel-starlib/pull/234)
- chore: refactor CI matrices by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/236](https://togithub.com/cgrindel/bazel-starlib/pull/236)
- fix: set `MODULE.bazel` version to 0.0.0 and fix download URL by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/237](https://togithub.com/cgrindel/bazel-starlib/pull/237)
- chore: introduce strict bzlmod by adding `WORKSPACE.bzlmod` by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/238](https://togithub.com/cgrindel/bazel-starlib/pull/238)

**Full Changelog**:
cgrindel/bazel-starlib@v0.13.1...v0.14.0

#### Workspace Snippet

```python
load("@&#8203;bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "cgrindel_bazel_starlib",
    sha256 = "7c34796efaadf9b3a5bcf2a8364e5ffc2e2a4a2ef2e0f18c0e876161ba8d21c5",
    urls = [
        "https://github.com/cgrindel/bazel-starlib/releases/download/v0.14.0/bazel-starlib.v0.14.0.tar.gz",
    ],
)

load("@&#8203;cgrindel_bazel_starlib//:deps.bzl", "bazel_starlib_dependencies")

bazel_starlib_dependencies()

load("@&#8203;bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")

bazel_skylib_workspace()
```

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/cgrindel/github_snippets).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xNTkuMiIsInVwZGF0ZWRJblZlciI6IjM0LjE1OS4yIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot referenced this pull request in cgrindel/rules_swift_package_manager Mar 10, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [cgrindel_bazel_starlib](https://togithub.com/cgrindel/bazel-starlib)
| http_archive | minor | `v0.13.1` -> `v0.14.3` |

---

### Release Notes

<details>
<summary>cgrindel/bazel-starlib</summary>

###
[`v0.14.3`](https://togithub.com/cgrindel/bazel-starlib/releases/tag/v0.14.3)

[Compare
Source](https://togithub.com/cgrindel/bazel-starlib/compare/v0.14.2...v0.14.3)

#### What's Changed

- fix: use minimal .bazelrc in `bzlmod_e2e` workspace by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/244](https://togithub.com/cgrindel/bazel-starlib/pull/244)

**Full Changelog**:
cgrindel/bazel-starlib@v0.14.2...v0.14.3

#### Workspace Snippet

```python
load("@&#8203;bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "cgrindel_bazel_starlib",
    sha256 = "0b78a96eff4d0059321643a78e54f11ab9d0e319994299c0f2b2ebd5325c3f48",
    urls = [
        "https://github.com/cgrindel/bazel-starlib/releases/download/v0.14.3/bazel-starlib.v0.14.3.tar.gz",
    ],
)

load("@&#8203;cgrindel_bazel_starlib//:deps.bzl", "bazel_starlib_dependencies")

bazel_starlib_dependencies()

load("@&#8203;bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")

bazel_skylib_workspace()
```

###
[`v0.14.2`](https://togithub.com/cgrindel/bazel-starlib/releases/tag/v0.14.2)

[Compare
Source](https://togithub.com/cgrindel/bazel-starlib/compare/v0.14.1...v0.14.2)

#### What's Changed

- fix: update metadata for BCR to include OWNER and REPO by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/242](https://togithub.com/cgrindel/bazel-starlib/pull/242)

**Full Changelog**:
cgrindel/bazel-starlib@v0.14.1...v0.14.2

#### Workspace Snippet

```python
load("@&#8203;bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "cgrindel_bazel_starlib",
    sha256 = "ef8c590a63ba69bc36b888180ddbdd59b10aa2a0777b61b2be24f2137bffa1d0",
    urls = [
        "https://github.com/cgrindel/bazel-starlib/releases/download/v0.14.2/bazel-starlib.v0.14.2.tar.gz",
    ],
)

load("@&#8203;cgrindel_bazel_starlib//:deps.bzl", "bazel_starlib_dependencies")

bazel_starlib_dependencies()

load("@&#8203;bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")

bazel_skylib_workspace()
```

###
[`v0.14.1`](https://togithub.com/cgrindel/bazel-starlib/releases/tag/v0.14.1)

[Compare
Source](https://togithub.com/cgrindel/bazel-starlib/compare/v0.14.0...v0.14.1)

#### What's Changed

- Update README.md for v0.14.0 by
[@&#8203;cgrindel-app-token-generator](https://togithub.com/cgrindel-app-token-generator)
in
[https://github.com/cgrindel/bazel-starlib/pull/239](https://togithub.com/cgrindel/bazel-starlib/pull/239)
- fix: include `examples/bzlmod_e2e` in release archive by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/240](https://togithub.com/cgrindel/bazel-starlib/pull/240)

**Full Changelog**:
cgrindel/bazel-starlib@v0.14.0...v0.14.1

#### Workspace Snippet

```python
load("@&#8203;bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "cgrindel_bazel_starlib",
    sha256 = "ef8c590a63ba69bc36b888180ddbdd59b10aa2a0777b61b2be24f2137bffa1d0",
    urls = [
        "https://github.com/cgrindel/bazel-starlib/releases/download/v0.14.1/bazel-starlib.v0.14.1.tar.gz",
    ],
)

load("@&#8203;cgrindel_bazel_starlib//:deps.bzl", "bazel_starlib_dependencies")

bazel_starlib_dependencies()

load("@&#8203;bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")

bazel_skylib_workspace()
```

###
[`v0.14.0`](https://togithub.com/cgrindel/bazel-starlib/releases/tag/v0.14.0)

[Compare
Source](https://togithub.com/cgrindel/bazel-starlib/compare/v0.13.1...v0.14.0)

#### What's Changed

- Update README.md for v0.13.1 by
[@&#8203;cgrindel-app-token-generator](https://togithub.com/cgrindel-app-token-generator)
in
[https://github.com/cgrindel/bazel-starlib/pull/229](https://togithub.com/cgrindel/bazel-starlib/pull/229)
- chore(deps): update dependency bazel to v6.1.0 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/cgrindel/bazel-starlib/pull/230](https://togithub.com/cgrindel/bazel-starlib/pull/230)
- chore: add support for `bzlmod` by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/232](https://togithub.com/cgrindel/bazel-starlib/pull/232)
- chore: add CI tests with and without `bzlmod` enabled by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/233](https://togithub.com/cgrindel/bazel-starlib/pull/233)
- chore: add `bzlmod_e2e` in preparation for publishing to BCR by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/234](https://togithub.com/cgrindel/bazel-starlib/pull/234)
- chore: refactor CI matrices by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/236](https://togithub.com/cgrindel/bazel-starlib/pull/236)
- fix: set `MODULE.bazel` version to 0.0.0 and fix download URL by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/237](https://togithub.com/cgrindel/bazel-starlib/pull/237)
- chore: introduce strict bzlmod by adding `WORKSPACE.bzlmod` by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/238](https://togithub.com/cgrindel/bazel-starlib/pull/238)

**Full Changelog**:
cgrindel/bazel-starlib@v0.13.1...v0.14.0

#### Workspace Snippet

```python
load("@&#8203;bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "cgrindel_bazel_starlib",
    sha256 = "7c34796efaadf9b3a5bcf2a8364e5ffc2e2a4a2ef2e0f18c0e876161ba8d21c5",
    urls = [
        "https://github.com/cgrindel/bazel-starlib/releases/download/v0.14.0/bazel-starlib.v0.14.0.tar.gz",
    ],
)

load("@&#8203;cgrindel_bazel_starlib//:deps.bzl", "bazel_starlib_dependencies")

bazel_starlib_dependencies()

load("@&#8203;bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")

bazel_skylib_workspace()
```

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/cgrindel/swift_bazel).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xNTkuMiIsInVwZGF0ZWRJblZlciI6IjM0LjE1OS4yIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant