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: run all integration tests in CI #323

Merged
merged 37 commits into from
Jul 23, 2023
Merged

Conversation

cgrindel
Copy link
Owner

  • Migrated the CI workflow generation code from rules_swift_package_manager.
  • Updated all packages with integration tests to follow a naming convention: all_integration_tests, smoke_integration_tests, all_test_params.
  • Update the root BUILD.bazel to list the packages with integration tests and generate the appropriate test_suite and ci_workflow declarations.
  • Generate the CI workflow.
  • Update CI workflow to be cancelable.

Closes #320.

@cgrindel cgrindel self-assigned this Jul 21, 2023
@cgrindel cgrindel enabled auto-merge (squash) July 23, 2023 16:19
@cgrindel cgrindel merged commit c573ad4 into main Jul 23, 2023
57 checks passed
@cgrindel cgrindel deleted the gh320_run_all_int_tests_in_ci branch July 23, 2023 16:51
cgrindel-self-hosted-renovate bot referenced this pull request in cgrindel/github_snippets Jul 24, 2023
This PR contains the following updates:

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

---

### Release Notes

<details>
<summary>cgrindel/bazel-starlib (cgrindel_bazel_starlib)</summary>

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

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

#### What's Changed

- chore: update README.md for v0.16.1 by
[@&#8203;cgrindel-app-token-generator](https://togithub.com/cgrindel-app-token-generator)
in
[https://github.com/cgrindel/bazel-starlib/pull/313](https://togithub.com/cgrindel/bazel-starlib/pull/313)
- chore: remove obsolete go_sdk references by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/314](https://togithub.com/cgrindel/bazel-starlib/pull/314)
- chore(deps): update dependency io_bazel_rules_go to v0.41.0 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/cgrindel/bazel-starlib/pull/315](https://togithub.com/cgrindel/bazel-starlib/pull/315)
- chore(deps): update dependency bazel_gazelle to v0.32.0 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/cgrindel/bazel-starlib/pull/316](https://togithub.com/cgrindel/bazel-starlib/pull/316)
- chore(deps): update dependency buildifier_prebuilt to v6.1.2 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/cgrindel/bazel-starlib/pull/317](https://togithub.com/cgrindel/bazel-starlib/pull/317)
- chore: address ShellCheck issues by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/318](https://togithub.com/cgrindel/bazel-starlib/pull/318)
- feat: implement `tidy_all` by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/319](https://togithub.com/cgrindel/bazel-starlib/pull/319)
- chore: rework go dependencies by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/321](https://togithub.com/cgrindel/bazel-starlib/pull/321)
- chore: run all integration tests in CI by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/323](https://togithub.com/cgrindel/bazel-starlib/pull/323)
- chore(deps): update dependency bazel to v6.3.0 by
[@&#8203;cgrindel-self-hosted-renovate](https://togithub.com/cgrindel-self-hosted-renovate)
in
[https://github.com/cgrindel/bazel-starlib/pull/325](https://togithub.com/cgrindel/bazel-starlib/pull/325)
- chore: add postUpgradeTasks in renovate.json by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/327](https://togithub.com/cgrindel/bazel-starlib/pull/327)
- fix: use bazelisk instead of bazel for renovate post-upgrade task by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/329](https://togithub.com/cgrindel/bazel-starlib/pull/329)
- chore: install bazelisk during post upgrade by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/330](https://togithub.com/cgrindel/bazel-starlib/pull/330)

#### New Contributors

-
[@&#8203;cgrindel-self-hosted-renovate](https://togithub.com/cgrindel-self-hosted-renovate)
made their first contribution in
[https://github.com/cgrindel/bazel-starlib/pull/325](https://togithub.com/cgrindel/bazel-starlib/pull/325)

**Full Changelog**:
cgrindel/bazel-starlib@v0.16.1...v0.16.2

#### Bazel Module Snippet

```python
bazel_dep(name = "cgrindel_bazel_starlib", version = "0.16.2")
```

#### Workspace Snippet

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

http_archive(
    name = "cgrindel_bazel_starlib",
    sha256 = "8814c7dbbac4f1a7c20b7f39c590fd0b5e39174718fbb3a0522e149ed085a84f",
    urls = [
        "https://github.com/cgrindel/bazel-starlib/releases/download/v0.16.2/bazel-starlib.v0.16.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()
```

</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.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

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

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

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

Co-authored-by: Self-hosted Renovate Bot <361546+cgrindel-self-hosted-renovate[bot]@users.noreply.github.enterprise.com>
cgrindel-self-hosted-renovate bot referenced this pull request in cgrindel/rules_swiftformat Jul 24, 2023
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| cgrindel_bazel_starlib | bazel_dep | patch | `0.16.1` -> `0.16.2` |
| [cgrindel_bazel_starlib](https://togithub.com/cgrindel/bazel-starlib)
| http_archive | patch | `v0.16.1` -> `v0.16.2` |

---

### Release Notes

<details>
<summary>cgrindel/bazel-starlib (cgrindel_bazel_starlib)</summary>

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

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

#### What's Changed

- chore: update README.md for v0.16.1 by
[@&#8203;cgrindel-app-token-generator](https://togithub.com/cgrindel-app-token-generator)
in
[https://github.com/cgrindel/bazel-starlib/pull/313](https://togithub.com/cgrindel/bazel-starlib/pull/313)
- chore: remove obsolete go_sdk references by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/314](https://togithub.com/cgrindel/bazel-starlib/pull/314)
- chore(deps): update dependency io_bazel_rules_go to v0.41.0 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/cgrindel/bazel-starlib/pull/315](https://togithub.com/cgrindel/bazel-starlib/pull/315)
- chore(deps): update dependency bazel_gazelle to v0.32.0 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/cgrindel/bazel-starlib/pull/316](https://togithub.com/cgrindel/bazel-starlib/pull/316)
- chore(deps): update dependency buildifier_prebuilt to v6.1.2 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/cgrindel/bazel-starlib/pull/317](https://togithub.com/cgrindel/bazel-starlib/pull/317)
- chore: address ShellCheck issues by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/318](https://togithub.com/cgrindel/bazel-starlib/pull/318)
- feat: implement `tidy_all` by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/319](https://togithub.com/cgrindel/bazel-starlib/pull/319)
- chore: rework go dependencies by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/321](https://togithub.com/cgrindel/bazel-starlib/pull/321)
- chore: run all integration tests in CI by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/323](https://togithub.com/cgrindel/bazel-starlib/pull/323)
- chore(deps): update dependency bazel to v6.3.0 by
[@&#8203;cgrindel-self-hosted-renovate](https://togithub.com/cgrindel-self-hosted-renovate)
in
[https://github.com/cgrindel/bazel-starlib/pull/325](https://togithub.com/cgrindel/bazel-starlib/pull/325)
- chore: add postUpgradeTasks in renovate.json by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/327](https://togithub.com/cgrindel/bazel-starlib/pull/327)
- fix: use bazelisk instead of bazel for renovate post-upgrade task by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/329](https://togithub.com/cgrindel/bazel-starlib/pull/329)
- chore: install bazelisk during post upgrade by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/330](https://togithub.com/cgrindel/bazel-starlib/pull/330)

#### New Contributors

-
[@&#8203;cgrindel-self-hosted-renovate](https://togithub.com/cgrindel-self-hosted-renovate)
made their first contribution in
[https://github.com/cgrindel/bazel-starlib/pull/325](https://togithub.com/cgrindel/bazel-starlib/pull/325)

**Full Changelog**:
cgrindel/bazel-starlib@v0.16.1...v0.16.2

#### Bazel Module Snippet

```python
bazel_dep(name = "cgrindel_bazel_starlib", version = "0.16.2")
```

#### Workspace Snippet

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

http_archive(
    name = "cgrindel_bazel_starlib",
    sha256 = "8814c7dbbac4f1a7c20b7f39c590fd0b5e39174718fbb3a0522e149ed085a84f",
    urls = [
        "https://github.com/cgrindel/bazel-starlib/releases/download/v0.16.2/bazel-starlib.v0.16.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()
```

</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.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

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

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

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

Co-authored-by: Self-hosted Renovate Bot <361546+cgrindel-self-hosted-renovate[bot]@users.noreply.github.enterprise.com>
cgrindel-self-hosted-renovate bot referenced this pull request in cgrindel/rules_swift_package_manager Jul 24, 2023
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| cgrindel_bazel_starlib | bazel_dep | patch | `0.16.1` -> `0.16.2` |
| [cgrindel_bazel_starlib](https://togithub.com/cgrindel/bazel-starlib)
| http_archive | patch | `v0.16.1` -> `v0.16.2` |

---

### Release Notes

<details>
<summary>cgrindel/bazel-starlib (cgrindel_bazel_starlib)</summary>

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

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

#### What's Changed

- chore: update README.md for v0.16.1 by
[@&#8203;cgrindel-app-token-generator](https://togithub.com/cgrindel-app-token-generator)
in
[https://github.com/cgrindel/bazel-starlib/pull/313](https://togithub.com/cgrindel/bazel-starlib/pull/313)
- chore: remove obsolete go_sdk references by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/314](https://togithub.com/cgrindel/bazel-starlib/pull/314)
- chore(deps): update dependency io_bazel_rules_go to v0.41.0 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/cgrindel/bazel-starlib/pull/315](https://togithub.com/cgrindel/bazel-starlib/pull/315)
- chore(deps): update dependency bazel_gazelle to v0.32.0 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/cgrindel/bazel-starlib/pull/316](https://togithub.com/cgrindel/bazel-starlib/pull/316)
- chore(deps): update dependency buildifier_prebuilt to v6.1.2 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/cgrindel/bazel-starlib/pull/317](https://togithub.com/cgrindel/bazel-starlib/pull/317)
- chore: address ShellCheck issues by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/318](https://togithub.com/cgrindel/bazel-starlib/pull/318)
- feat: implement `tidy_all` by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/319](https://togithub.com/cgrindel/bazel-starlib/pull/319)
- chore: rework go dependencies by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/321](https://togithub.com/cgrindel/bazel-starlib/pull/321)
- chore: run all integration tests in CI by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/323](https://togithub.com/cgrindel/bazel-starlib/pull/323)
- chore(deps): update dependency bazel to v6.3.0 by
[@&#8203;cgrindel-self-hosted-renovate](https://togithub.com/cgrindel-self-hosted-renovate)
in
[https://github.com/cgrindel/bazel-starlib/pull/325](https://togithub.com/cgrindel/bazel-starlib/pull/325)
- chore: add postUpgradeTasks in renovate.json by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/327](https://togithub.com/cgrindel/bazel-starlib/pull/327)
- fix: use bazelisk instead of bazel for renovate post-upgrade task by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/329](https://togithub.com/cgrindel/bazel-starlib/pull/329)
- chore: install bazelisk during post upgrade by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/330](https://togithub.com/cgrindel/bazel-starlib/pull/330)

#### New Contributors

-
[@&#8203;cgrindel-self-hosted-renovate](https://togithub.com/cgrindel-self-hosted-renovate)
made their first contribution in
[https://github.com/cgrindel/bazel-starlib/pull/325](https://togithub.com/cgrindel/bazel-starlib/pull/325)

**Full Changelog**:
cgrindel/bazel-starlib@v0.16.1...v0.16.2

#### Bazel Module Snippet

```python
bazel_dep(name = "cgrindel_bazel_starlib", version = "0.16.2")
```

#### Workspace Snippet

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

http_archive(
    name = "cgrindel_bazel_starlib",
    sha256 = "8814c7dbbac4f1a7c20b7f39c590fd0b5e39174718fbb3a0522e149ed085a84f",
    urls = [
        "https://github.com/cgrindel/bazel-starlib/releases/download/v0.16.2/bazel-starlib.v0.16.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()
```

</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.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

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

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

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

Co-authored-by: Self-hosted Renovate Bot <361546+cgrindel-self-hosted-renovate[bot]@users.noreply.github.enterprise.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.

CI is not running all of the integration tests
1 participant