Batch Executions which match multiple resources with wildcard / regex pattern.
Supports flexibile matching using comma separated patterns. If multiple patterns specified, will match resources that match to just one of the given patterns.
Example:
This matches to all resources with names starting with foo-, or bar-, or with name=specific-name
foo-*, bar-*, specific-name
Batch methods are available on Procedures, satisfying Procedure Filters feature.
Adds a lock preventing simultaneous pulls of the same repo folder too quickly.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/moghtech/komodo/pull/159
**Author:** [@mbecker20](https://github.com/mbecker20)
**Created:** 10/28/2024
**Status:** ✅ Merged
**Merged:** 10/28/2024
**Merged by:** [@mbecker20](https://github.com/mbecker20)
**Base:** `main` ← **Head:** `1.16.5`
---
### 📝 Commits (3)
- [`5d964c1`](https://github.com/moghtech/komodo/commit/5d964c1dba77204943182acef2328f5efc61281f) repo pull lock
- [`69e5402`](https://github.com/moghtech/komodo/commit/69e5402dc80c837a0aa7d473551efd99dcdfa727) implement BatchRunAction
- [`fe08315`](https://github.com/moghtech/komodo/commit/fe0831541046d5a28f224c39332853de2d39fe48) other batch methods
### 📊 Changes
**39 files changed** (+2558 additions, -461 deletions)
<details>
<summary>View changed files</summary>
📝 `Cargo.lock` (+48 -38)
📝 `Cargo.toml` (+9 -8)
📝 `bin/cli/src/exec.rs` (+276 -140)
📝 `bin/core/Cargo.toml` (+2 -1)
📝 `bin/core/src/api/execute/action.rs` (+21 -1)
📝 `bin/core/src/api/execute/build.rs` (+22 -1)
📝 `bin/core/src/api/execute/deployment.rs` (+24 -0)
📝 `bin/core/src/api/execute/mod.rs` (+82 -2)
📝 `bin/core/src/api/execute/procedure.rs` (+23 -1)
📝 `bin/core/src/api/execute/repo.rs` (+54 -0)
📝 `bin/core/src/api/execute/stack.rs` (+67 -0)
📝 `bin/core/src/helpers/procedure.rs` (+274 -2)
📝 `bin/core/src/helpers/update.rs` (+30 -0)
📝 `bin/core/src/resource/mod.rs` (+140 -73)
📝 `bin/core/src/resource/procedure.rs` (+77 -0)
📝 `bin/core/src/sync/resources.rs` (+11 -0)
📝 `bin/core/src/sync/toml.rs` (+11 -0)
📝 `client/core/rs/src/api/execute/action.rs` (+29 -1)
📝 `client/core/rs/src/api/execute/build.rs` (+31 -1)
📝 `client/core/rs/src/api/execute/deployment.rs` (+61 -1)
_...and 19 more files_
</details>
### 📄 Description
- **Batch Executions** which match multiple resources with wildcard / regex pattern.
- Supports flexibile matching using comma separated patterns. If multiple patterns specified, will match resources that match to just one of the given patterns.
- Example:
This matches to all resources with names starting with `foo-`, or `bar-`, or with name=`specific-name`
```
foo-*, bar-*, specific-name
```
- **Batch methods are available on Procedures**, satisfying Procedure Filters feature.
- Adds a lock preventing simultaneous pulls of the same repo folder too quickly.
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/moghtech/komodo/pull/159
Author: @mbecker20
Created: 10/28/2024
Status: ✅ Merged
Merged: 10/28/2024
Merged by: @mbecker20
Base:
main← Head:1.16.5📝 Commits (3)
5d964c1repo pull lock69e5402implement BatchRunActionfe08315other batch methods📊 Changes
39 files changed (+2558 additions, -461 deletions)
View changed files
📝
Cargo.lock(+48 -38)📝
Cargo.toml(+9 -8)📝
bin/cli/src/exec.rs(+276 -140)📝
bin/core/Cargo.toml(+2 -1)📝
bin/core/src/api/execute/action.rs(+21 -1)📝
bin/core/src/api/execute/build.rs(+22 -1)📝
bin/core/src/api/execute/deployment.rs(+24 -0)📝
bin/core/src/api/execute/mod.rs(+82 -2)📝
bin/core/src/api/execute/procedure.rs(+23 -1)📝
bin/core/src/api/execute/repo.rs(+54 -0)📝
bin/core/src/api/execute/stack.rs(+67 -0)📝
bin/core/src/helpers/procedure.rs(+274 -2)📝
bin/core/src/helpers/update.rs(+30 -0)📝
bin/core/src/resource/mod.rs(+140 -73)📝
bin/core/src/resource/procedure.rs(+77 -0)📝
bin/core/src/sync/resources.rs(+11 -0)📝
bin/core/src/sync/toml.rs(+11 -0)📝
client/core/rs/src/api/execute/action.rs(+29 -1)📝
client/core/rs/src/api/execute/build.rs(+31 -1)📝
client/core/rs/src/api/execute/deployment.rs(+61 -1)...and 19 more files
📄 Description
This matches to all resources with names starting with
foo-, orbar-, or with name=specific-name🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.