1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-08-16 18:01:34 +00:00
Commit graph

1811 commits

Author SHA1 Message Date
Renovate Bot
5970e45df4
Update module google.golang.org/protobuf to v1.36.4 (#453)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [google.golang.org/protobuf](https://github.com/protocolbuffers/protobuf-go) | require | patch | `v1.36.3` -> `v1.36.4` |

---

### Release Notes

<details>
<summary>protocolbuffers/protobuf-go (google.golang.org/protobuf)</summary>

### [`v1.36.4`](https://github.com/protocolbuffers/protobuf-go/releases/tag/v1.36.4)

[Compare Source](https://github.com/protocolbuffers/protobuf-go/compare/v1.36.3...v1.36.4)

**Full Changelog**: https://github.com/protocolbuffers/protobuf-go/compare/v1.36.3...v1.36.4

Bug fixes:
[CL/642975](https://go-review.googlesource.com/c/protobuf/+/642975): reflect/protodesc: fix panic when working with dynamicpb

Maintenance:
[CL/643276](https://go-review.googlesource.com/c/protobuf/+/643276): internal_gengo: avoid allocations in rawDescGZIP() accessors
[CL/642857](https://go-review.googlesource.com/c/protobuf/+/642857): internal_gengo: switch back from string literal to hex byte slice
[CL/642055](https://go-review.googlesource.com/c/protobuf/+/642055): internal_gengo: use unsafe.StringData() to avoid a descriptor copy
[CL/638135](https://go-review.googlesource.com/c/protobuf/+/638135): internal_gengo: store raw descriptor in .rodata section

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "* 0-3 * * *" (UTC), Automerge - "* 0-3 * * *" (UTC).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, 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 [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMTcuMiIsInVwZGF0ZWRJblZlciI6IjM5LjExNy4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/453
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-01-25 06:53:56 +00:00
earl-warren
0e99df94b7 Merge pull request 'fix(tests): binds are not sorted' (#97) from earl-warren/act:wip-test into main
Reviewed-on: https://code.forgejo.org/forgejo/act/pulls/97
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
2025-01-23 16:45:52 +00:00
Earl Warren
d0abf2e1ea
chore(docs): 6.2.0 release notes (#447)
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/447
Co-authored-by: Earl Warren <contact@earl-warren.org>
Co-committed-by: Earl Warren <contact@earl-warren.org>
2025-01-22 21:52:02 +00:00
Renovate Bot
80fd3f15fb
Update module code.forgejo.org/forgejo/act to v1.24.0 (#448)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [code.forgejo.org/forgejo/act](https://code.forgejo.org/forgejo/act) | replace | minor | `v1.23.1` -> `v1.24.0` |

---

### Release Notes

<details>
<summary>forgejo/act (code.forgejo.org/forgejo/act)</summary>

### [`v1.24.0`](https://code.forgejo.org/forgejo/act/compare/v1.23.1...v1.24.0)

[Compare Source](https://code.forgejo.org/forgejo/act/compare/v1.23.1...v1.24.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "* 0-3 * * *" (UTC), Automerge - "* 0-3 * * *" (UTC).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, 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 [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMTcuMiIsInVwZGF0ZWRJblZlciI6IjM5LjExNy4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/448
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-01-22 21:43:29 +00:00
Earl Warren
e0facd1ee5 fix(tests): binds are not sorted
That creates false negative in test runs. Just keep one, there is no
value in having more.
2025-01-22 22:24:27 +01:00
Earl Warren
d92e4a8aff feat: --hostname is allowed in container options (#95)
It is useful to set an alternative hostname when running a service
such as:

```yaml
services:
  minio:
    image: data.forgejo.org/oci/bitnami/minio:2024.8.17
    options: >-
      --hostname alternate.minio
```

Reviewed-on: https://code.forgejo.org/forgejo/act/pulls/95
Reviewed-by: Kwonunn <kwonunn@noreply.code.forgejo.org>
Co-authored-by: Earl Warren <contact@earl-warren.org>
Co-committed-by: Earl Warren <contact@earl-warren.org>
2025-01-22 18:22:29 +00:00
Earl Warren
94f94a56d4
chore(release): migrate to invisible.forgejo.org (#444)
Also move all non-secret variables to `vars` so that they are easier
to maintain. The workflow was designed back when Forgejo Actions
variables did not exist.

Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/444
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: Earl Warren <contact@earl-warren.org>
Co-committed-by: Earl Warren <contact@earl-warren.org>
2025-01-22 10:35:09 +00:00
Renovate Bot
f6a0cd8954
Update module google.golang.org/protobuf to v1.36.3 (#440)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [google.golang.org/protobuf](https://github.com/protocolbuffers/protobuf-go) | require | patch | `v1.36.2` -> `v1.36.3` |

---

### Release Notes

<details>
<summary>protocolbuffers/protobuf-go (google.golang.org/protobuf)</summary>

### [`v1.36.3`](https://github.com/protocolbuffers/protobuf-go/releases/tag/v1.36.3)

[Compare Source](https://github.com/protocolbuffers/protobuf-go/compare/v1.36.2...v1.36.3)

**Full Changelog**: https://github.com/protocolbuffers/protobuf-go/compare/v1.36.2...v1.36.3

Bug fixes:
[CL/642575](https://go-review.googlesource.com/c/protobuf/+/642575): reflect/protodesc: fix panic when working with dynamicpb
[CL/641036](https://go-review.googlesource.com/c/protobuf/+/641036): cmd/protoc-gen-go: remove json struct tags from unexported fields

User-visible changes:
[CL/641876](https://go-review.googlesource.com/c/protobuf/+/641876): proto: add example for GetExtension, SetExtension
[CL/642015](https://go-review.googlesource.com/c/protobuf/+/642015): runtime/protolazy: replace internal doc link with external link

Maintenance:
[CL/641635](https://go-review.googlesource.com/c/protobuf/+/641635): all: split flags.ProtoLegacyWeak out of flags.ProtoLegacy
[CL/641019](https://go-review.googlesource.com/c/protobuf/+/641019): internal/impl: remove unused exporter parameter
[CL/641018](https://go-review.googlesource.com/c/protobuf/+/641018): internal/impl: switch to reflect.Value.IsZero
[CL/641035](https://go-review.googlesource.com/c/protobuf/+/641035): internal/impl: clean up unneeded Go<1.12 MapRange() alternative
[CL/641017](https://go-review.googlesource.com/c/protobuf/+/641017): types/dynamicpb: switch atomicExtFiles to atomic.Uint64 type

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "* 0-3 * * *" (UTC), Automerge - "* 0-3 * * *" (UTC).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, 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 [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMTUuMCIsInVwZGF0ZWRJblZlciI6IjM5LjExNS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/440
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-01-18 09:22:46 +00:00
Renovate Bot
8ef03b4e83
Update dependency go to v1.23.5 (#439)
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/439
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-01-17 11:08:06 +00:00
earl-warren
5240d4e0d4 Merge pull request 'Update actions/setup-forgejo action to v2.0.6' (#437) from renovate/actions-setup-forgejo-2.x into main
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/437
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
2025-01-16 06:27:25 +00:00
Renovate Bot
6de32c5c61
Update actions/setup-forgejo action to v2.0.6 2025-01-16 00:02:14 +00:00
earl-warren
3b56c3e8f1 Merge pull request 'fix: use data.forgejo.org/oci' (#436) from earl-warren/runner:wip-default into main
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/436
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
2025-01-15 15:31:18 +00:00
Earl Warren
6567e23ca0
fix: upgrade forgejo-build-publish/build@v5.3.1
So that it does not use docker.io
2025-01-15 16:00:11 +01:00
Earl Warren
ee7b68842d
fix: use data.forgejo.org/oci
Otherwise it may get rate limited in the CI verifying it works
2025-01-15 14:44:16 +01:00
cobak78
ba78c11326 New "one shot" type of execution by adding a new command called one-job. (#423)
As commented here https://code.forgejo.org/forgejo/runner/issues/422, this PR aims to allow a new type of one shot execution compatible with autoscaling features and other job types.

Co-authored-by: jaime merino <jaime.merino_mora@mail.schwarzª>
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/423
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
Co-authored-by: cobak78 <cobak78@noreply.code.forgejo.org>
Co-committed-by: cobak78 <cobak78@noreply.code.forgejo.org>
2025-01-15 12:29:07 +00:00
earl-warren
a3cb2b7d6c Merge pull request 'fix: example uses code.forgejo.org/oci' (#434) from earl-warren/runner:wip-docker into main
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/434
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
2025-01-15 11:25:29 +00:00
Earl Warren
564134560b
fix: example uses code.forgejo.org/oci
Otherwise it may get rate limited in the CI verifying it works
2025-01-15 12:24:32 +01:00
earl-warren
48e0db5ddb Merge pull request 'Update actions/setup-forgejo action to v2.0.5' (#430) from renovate/actions-setup-forgejo-2.x into main
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/430
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
2025-01-12 09:13:21 +00:00
gratux
72049ccff9 chore(docs): 6.1.0 release notes (#428)
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/428
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
Co-authored-by: gratux <gratux@noreply.code.forgejo.org>
Co-committed-by: gratux <gratux@noreply.code.forgejo.org>
2025-01-12 06:03:21 +00:00
Renovate Bot
cd63166f34
Update actions/setup-forgejo action to v2.0.5 2025-01-12 00:01:33 +00:00
earl-warren
483a54dd08 Merge pull request 'expose "ForceRebuild" as a config option' (#406) from gratux/runner:main into main
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/406
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
2025-01-11 15:04:42 +00:00
earl-warren
f415dc9c34 Merge pull request 'Update module code.forgejo.org/forgejo/act to v1.23.1' (#427) from renovate/code.forgejo.org-forgejo-act-1.x into main
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/427
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
2025-01-11 14:53:02 +00:00
Renovate Bot
8fae35db44
Update module code.forgejo.org/forgejo/act to v1.23.1 2025-01-11 14:19:06 +00:00
Earl Warren
7d063c087d
chore(docs): 6.0.1 release notes 2025-01-11 12:05:43 +01:00
earl-warren
a8bfb47292 Merge pull request 'fix: do not ignore the config container.options when starting a job' (#92) from earl-warren/act:wip-mount into main
Reviewed-on: https://code.forgejo.org/forgejo/act/pulls/92
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
2025-01-11 11:01:26 +00:00
Earl Warren
790d1776e7 fix: do not ignore the config container.options when starting a job 2025-01-11 08:45:08 +01:00
earl-warren
4b080604b0 Merge pull request 'Update module code.forgejo.org/forgejo/act to v1.23.0' (#424) from renovate/code.forgejo.org-forgejo-act-1.x into main
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/424
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
2025-01-10 13:26:28 +00:00
Renovate Bot
139adb723a
Update module code.forgejo.org/forgejo/act to v1.23.0 2025-01-10 11:01:56 +00:00
Earl Warren
ed911869e1 fix: filter job container options with an allow list
The workflow can only contain the following options for a container:

- --volume
- --tmpfs
2025-01-09 12:10:21 +01:00
Earl Warren
1a77a34726 chore(refactor): split parseOptions out of mergeContainerConfigs 2025-01-09 12:10:21 +01:00
Earl Warren
fc518884f9 chore(refactor): split Options into ConfigOptions & JobOptions
They are both command line options to be parsed as if provided to
docker-run, but they are not to be trusted in the same way.
2025-01-09 12:10:21 +01:00
earl-warren
b03a6b9004 Merge pull request 'feat: Improve logging of error messages' (#90) from vpotyarkin/act:feature/improve-error-logging into main
Reviewed-on: https://code.forgejo.org/forgejo/act/pulls/90
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
2025-01-09 10:29:17 +00:00
Vitaliy Potyarkin
591770bf63 refactor: Improve logging of error messages
Logging bare errors might lead to long troubleshooting sessions when error
is not specific enough. This commit adds helpful context messages to
logged errors.

Signed-off-by: Vitaliy Potyarkin <v.potyarkin@yadro.com>
2025-01-09 12:36:30 +03:00
earl-warren
6ab318af04 Merge pull request 'Update module connectrpc.com/connect to v1.18.1' (#418) from renovate/connectrpc.com-connect-1.x into main
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/418
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
2025-01-09 07:02:24 +00:00
Renovate Bot
724b0e0115
Update module connectrpc.com/connect to v1.18.1 2025-01-09 00:02:03 +00:00
earl-warren
e15a421be5 Merge pull request 'Update module google.golang.org/protobuf to v1.36.2' (#417) from renovate/google.golang.org-protobuf-1.x into main
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/417
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
2025-01-08 08:21:28 +00:00
Renovate Bot
f93c145ee0
Update module google.golang.org/protobuf to v1.36.2 2025-01-08 00:01:25 +00:00
earl-warren
d0bb58d781 Merge pull request 'Update forgejo/forgejo-build-publish action to v5.3.0' (#415) from renovate/forgejo-forgejo-build-publish-5.x into main
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/415
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
2025-01-07 05:31:52 +00:00
Renovate Bot
53f8b6f0bb
Update forgejo/forgejo-build-publish action to v5.3.0 2025-01-07 00:01:08 +00:00
earl-warren
bb3e905b62 Merge pull request 'Update module golang.org/x/term to v0.28.0' (#412) from renovate/golang.org-x-term-0.x into main
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/412
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
2025-01-06 06:39:04 +00:00
Renovate Bot
ce7a3eaefe
Update module golang.org/x/term to v0.28.0 2025-01-06 00:02:27 +00:00
earl-warren
84eca8312d Merge pull request 'feat: export runtime token as FORGEJO_TOKEN' (#88) from xtex/act:forgejo-token-env into main
Reviewed-on: https://code.forgejo.org/forgejo/act/pulls/88
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
2025-01-05 11:28:57 +00:00
earl-warren
4f459ac1d3 Merge pull request 'Update module golang.org/x/time to v0.9.0' (#411) from renovate/golang.org-x-time-0.x into main
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/411
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
2025-01-05 10:03:34 +00:00
Renovate Bot
c2c47116b3
Update module golang.org/x/time to v0.9.0 2025-01-05 00:01:37 +00:00
xtex
606d8701ed feat: export runtime token as FORGEJO_TOKEN 2025-01-04 20:01:43 +08:00
earl-warren
cf74c364fb Merge pull request 'chore(lint): fix lint errors' (#84) from earl-warren/act:wip-lint into main
Reviewed-on: https://code.forgejo.org/forgejo/act/pulls/84
2025-01-02 08:50:27 +00:00
earl-warren
bf1dcaff8e Merge pull request 'examples: Version update for current release of runner' (#407) from edsouza/runner:examples-version into main
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/407
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
2024-12-31 19:49:49 +00:00
Ellery D'Souza
00ba378d0e
examples: Version update for current release of runner
Updated runner image version from 3.0.0 to 5.0.4
Updated docker-dind version from 23.0.6-dind to 27.4.1-dind
2024-12-31 13:29:54 -05:00
Earl Warren
58966f5a8a chore(lint): fix lint errors
- upgrade to golangci-lint@v1.62.2
- make it renovate friendly
- remove most frequent lint check that are not of consequence (unused
  args, etc.)
- fix remaining lint errors
- add renovate custom manager to update the Makefile variable
2024-12-30 21:11:02 +00:00
earl-warren
5fef70c653 Merge pull request 'Update Tests to Latest Release' (#404) from Merith-TK/runner:bug-tests-fail into main
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/404
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
2024-12-30 19:15:15 +00:00