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

Increase Starlark execution limit, abstract limit resolver #1

Closed
wants to merge 298 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
298 commits
Select commit Hold shift + click to select a range
8d3befc
chore(deps): update dependency redis to v7 (#631)
renovate[bot] Apr 29, 2022
ee9e80a
feat(compiler/database/scm)!: add event action build field and use fo…
ecrupper May 2, 2022
efe4228
fix(deps): update golang.org/x/oauth2 digest to 9780585 (#632)
renovate[bot] May 2, 2022
5b0c408
fix(deps): update module github.com/aws/aws-sdk-go to v1.44.4 (#633)
renovate[bot] May 2, 2022
ffec8ae
feat(scm/api/hook): create in-house webhook redelivery method (#622)
ecrupper May 2, 2022
7ce7bd8
chore(release): dependency updates for v0.14.0-rc1 (#634)
KellyMerrick May 2, 2022
0951009
fix(deps): update module k8s.io/apimachinery to v0.24.0 (#635)
renovate[bot] May 4, 2022
168d207
fix(deps): update module github.com/urfave/cli/v2 to v2.6.0 (#638)
renovate[bot] May 9, 2022
1c061a4
fix(deps): update module github.com/alicebob/miniredis/v2 to v2.21.0 …
renovate[bot] May 9, 2022
9c89282
fix(api/build): restarting before pipeline support (#642)
jbrockopp May 18, 2022
24d566d
fix(deps): update deps (patch) (#640)
renovate[bot] May 19, 2022
8db1ffd
fix: all alerts flagged by CodeQL (#645)
jbrockopp May 25, 2022
68ad2a1
fix(api): always set Strict-Transport-Security header (#644)
jbrockopp May 25, 2022
5a7342b
fix(hook/webhook)!: clean up rename repo code with EventAction and sh…
ecrupper May 27, 2022
7512f64
fix(deps): update module github.com/urfave/cli/v2 to v2.8.1 (#643)
renovate[bot] May 27, 2022
0bc21af
fix(deps): update module github.com/google/go-github/v44 to v44.1.0 (…
renovate[bot] May 27, 2022
b529e39
fix(deps): update module github.com/hashicorp/vault/api to v1.6.0 (#647)
renovate[bot] May 27, 2022
df86a43
fix(db): add source index to builds (#648)
wass3r May 27, 2022
1f691b8
fix(deps): update module github.com/gin-gonic/gin to v1.8.0 (#649)
renovate[bot] May 31, 2022
05f8b42
fix(deps): update deps (patch) (#652)
renovate[bot] Jun 1, 2022
a7d8962
fix: lookup of pipelines for older builds (#650)
jbrockopp Jun 1, 2022
b61a977
fix(api/hook): handle 202 error for webhook redelivery (#654)
ecrupper Jun 1, 2022
0ad43b4
fix(deps): update golang.org/x/oauth2 digest to 622c5d5 (#651)
renovate[bot] Jun 2, 2022
953c670
fix(api/repo): fix path for GetOrgRepos in swagger spec (#655)
ecrupper Jun 2, 2022
62ddf45
chore(release): v0.14.0-rc2 (#656)
wass3r Jun 3, 2022
cd5cfd8
fix(deps): update deps (patch) (#657)
renovate[bot] Jun 9, 2022
8c74c47
fix: webhook race condition on pipeline creation (#659)
jbrockopp Jun 15, 2022
3d4fef2
fix(deps): update module github.com/hashicorp/vault/api to v1.7.2 (#658)
renovate[bot] Jun 15, 2022
e56417b
chore(release): v0.14.0-rc3 (#660)
wass3r Jun 15, 2022
d6317bf
fix(deps): update deps (patch) (#662)
renovate[bot] Jun 21, 2022
22fc514
fix: check for nil source repos (#661)
plyr4 Jun 22, 2022
7dbbc86
chore(release): dependency updates for v0.14.0 (#664)
KellyMerrick Jun 22, 2022
46bd570
refactor: update substitute tests to use table syntax (#653)
JordanSussman Jun 24, 2022
a831efd
fix(deps): update module github.com/alicebob/miniredis/v2 to v2.22.0 …
renovate[bot] Jul 6, 2022
d475046
fix(webhook): avoid panics (#671)
wass3r Jul 15, 2022
9b27b07
enhance(router/pipeline): change expand, validate, and compile to Mus…
ecrupper Jul 18, 2022
0740ca5
fix(scm/webhook): temporarily turn off pr:edited events (#677)
ecrupper Jul 21, 2022
5276264
fix(build/ruleset): handle legacy PR ruleset for restarted build (#678)
ecrupper Jul 21, 2022
db15cf1
fix(deps): update module github.com/sirupsen/logrus to v1.9.0 (#675)
renovate[bot] Jul 29, 2022
b966e6e
fix(deps): update module github.com/urfave/cli/v2 to v2.11.1 (#670)
renovate[bot] Jul 29, 2022
66ef7d7
fix(deps): update module github.com/spf13/afero to v1.9.2 (#673)
renovate[bot] Jul 29, 2022
37d66c7
fix(deps): update go.starlark.net digest to 4cadf0a (#672)
renovate[bot] Aug 5, 2022
30933c7
fix(deps): update deps (patch) (#668)
renovate[bot] Aug 5, 2022
4c3147f
fix(deps): update module github.com/prometheus/client_golang to v1.13…
renovate[bot] Aug 9, 2022
a08413f
refactor(database): move user logic into separate package (#663)
jbrockopp Aug 11, 2022
048364c
feat(compiler): support deployment parameters in templates (#665)
jbrockopp Aug 15, 2022
7d6c7d5
enhance(metrics)!: query parameter support on metrics endpoint (#682)
plyr4 Aug 18, 2022
8672cbc
feat(logger): censor build author email for security compliance (#667)
ecrupper Aug 18, 2022
e2071f2
fix(deps): update module github.com/alicebob/miniredis/v2 to v2.23.0 …
renovate[bot] Aug 20, 2022
92ef555
fix(deps): update go.starlark.net digest to f738f55 (#685)
renovate[bot] Aug 29, 2022
c0abd52
chore: upgrade go 1.19 (#690)
plyr4 Sep 12, 2022
7e9cfa2
fix(deps): update module k8s.io/apimachinery to v0.25.0 (#686)
renovate[bot] Sep 14, 2022
5693244
chore(linter): fix the golangci-lint errors (#693)
ecrupper Sep 14, 2022
b7cdc17
fix(deps): update golang.org/x/oauth2 digest to f213421 (#669)
renovate[bot] Sep 14, 2022
2f14f38
fix(deps): update module github.com/go-playground/assert/v2 to v2.2.0…
renovate[bot] Sep 15, 2022
17b6c3d
fix(deps): update module github.com/urfave/cli/v2 to v2.16.3 (#695)
renovate[bot] Sep 16, 2022
99d66e6
fix(deps): update deps (patch) (#688)
renovate[bot] Sep 16, 2022
4d07c5b
chore: change default branch to main (#696)
wass3r Sep 16, 2022
ada3f00
chore(ci): fix full-review to use setup-go action (#698)
wass3r Sep 16, 2022
2015910
fix(deps): update module github.com/hashicorp/vault/api to v1.8.0 (#699)
renovate[bot] Sep 26, 2022
49e720d
fix(deps): update go.starlark.net digest to 14b0506 (#702)
renovate[bot] Sep 26, 2022
f0741c9
refactor(database): move repo logic into separate package (#687)
jbrockopp Sep 26, 2022
f60ee1d
enhance(secrets): verify casing of orgs and repos in SCM before addin…
ecrupper Sep 27, 2022
fa289f3
enhance(webhook): add extra debug logging at various points in workfl…
ecrupper Sep 27, 2022
8e8d0d4
chore: v0.15.0-rc1 prep (#703)
wass3r Sep 27, 2022
93d38a9
fix(webhook): more general error message for redelivery failure (#707)
ecrupper Sep 29, 2022
435f63f
fix(deps): update go.starlark.net digest to 5fccb4d (#705)
renovate[bot] Sep 30, 2022
0cc9a01
fix(compiler): add template name to inline render (#691)
rfigueroa Oct 3, 2022
0e4c589
fix(deps): update deps (patch) (#709)
renovate[bot] Oct 3, 2022
23dfb84
fix(deps): update module github.com/urfave/cli/v2 to v2.17.1 (#710)
renovate[bot] Oct 3, 2022
8c20967
fix(secret): check org casing for repo secret creation (#708)
ecrupper Oct 3, 2022
6af47f8
chore: v0.15.0-rc2 (#711)
wass3r Oct 3, 2022
d6e280a
chore: v0.15.0 release prep (#712)
wass3r Oct 6, 2022
9dbf815
fix(actions): make sure to use latest Go version (#716)
wass3r Oct 7, 2022
b2dded3
chore: update deps (#718)
plyr4 Oct 7, 2022
24e0360
fix(deps): update module gorm.io/driver/postgres to v1.4.1 (#714)
renovate[bot] Oct 12, 2022
1cc1eab
fix(deps): update module gorm.io/driver/sqlite to v1.4.2 (#715)
renovate[bot] Oct 13, 2022
05558ee
Merge pull request from GHSA-5m7g-pj8w-7593
wass3r Nov 9, 2022
04ff9e1
enhance(repo): allow platform admins to update repo.trusted (#724)
plyr4 Nov 9, 2022
e972584
chore(release): v0.16.0 release (#732)
wass3r Nov 9, 2022
b6074fb
fix(deps): update go.starlark.net digest to acb66ad (#723)
renovate[bot] Nov 9, 2022
f9e3663
fix(actions): sudo make spec-install (#726)
KellyMerrick Nov 9, 2022
1028fff
fix(deps): update deps (patch) (#728)
renovate[bot] Nov 9, 2022
26796ef
fix(deps): update module github.com/urfave/cli/v2 to v2.23.5 (#729)
renovate[bot] Nov 9, 2022
6f494bb
fix(deps): update module github.com/prometheus/client_golang to v1.14…
renovate[bot] Nov 9, 2022
60026ee
chore(deps): update postgres docker tag to v15 (#725)
renovate[bot] Nov 9, 2022
c47375a
fix(deps): update module github.com/go-vela/types to v0.16.1 (#733)
renovate[bot] Nov 9, 2022
4846386
enhance(admin/api): remove collect all endpoints for DB resources (#734)
ecrupper Nov 15, 2022
4335e56
chore(release): v0.16.2 prep (#735)
ecrupper Nov 15, 2022
4fd6409
refactor(database): move worker logic into separate package (#692)
jbrockopp Dec 9, 2022
754141c
fix(deps): update module github.com/masterminds/semver/v3 to v3.2.0 (…
renovate[bot] Dec 9, 2022
cdbba9c
fix(deps): update deps (patch) (#738)
renovate[bot] Dec 9, 2022
bcbdbe1
chore: remove code of conduct in favor of global version (#736)
wass3r Dec 9, 2022
8f3d712
chore(deps): update elgohr/publish-docker-github-action action to v5 …
renovate[bot] Dec 9, 2022
a7fa4cf
fix(deps): update module golang.org/x/oauth2 to v0.3.0 (#740)
renovate[bot] Dec 9, 2022
7638451
fix(deps): update go.starlark.net digest to 3fd0dac (#741)
renovate[bot] Dec 9, 2022
cd67f9a
fix(deps): update module k8s.io/apimachinery to v0.26.0 (#742)
renovate[bot] Dec 9, 2022
9aa91f7
feat(templates): support same-repo templates using build commit (#713)
ecrupper Dec 13, 2022
09e827e
enhance(scm/webhook): handle default branch change and archived repo …
ecrupper Dec 13, 2022
6253d20
feat(api/build): add endpoint to get build by id (#646)
ecrupper Dec 14, 2022
60dd8d7
chore(release): dependency updates for v0.17.0-rc1 (#745)
KellyMerrick Dec 14, 2022
8c8bdfb
fix(deps): update deps (patch) (#746)
renovate[bot] Dec 16, 2022
903804f
chore(release): v0.17.0-rc2 (#747)
KellyMerrick Dec 16, 2022
74d2a68
chore(release): update dependencies for v0.17.0 (#748)
KellyMerrick Dec 16, 2022
f76146b
refactor(database): move hook logic into separate package (#721)
jbrockopp Feb 14, 2023
204a906
enhance(repo): customizable default events for new repos (#758)
JordanSussman Feb 20, 2023
343d53e
feat(clone-image): make clone image configurable (#755)
wass3r Feb 23, 2023
bff8352
feat(auth): build token implementation (#765)
ecrupper Feb 23, 2023
c4283eb
fix: revert buildkite yaml upgrade from #765 (#767)
plyr4 Feb 24, 2023
9e83ba0
fix(validate): update validation to use new, shorter name for token d…
ecrupper Feb 24, 2023
4ba2735
refactor(database): move log logic into separate package (#722)
jbrockopp Feb 24, 2023
a8149f4
fix(deps): update deps (patch) (#750)
renovate[bot] Feb 24, 2023
4146511
fix(deps): update go.starlark.net digest to c52844e (#751)
renovate[bot] Feb 24, 2023
82f6c6b
fix(deps): update module github.com/alicebob/miniredis/v2 to v2.30.0 …
renovate[bot] Feb 24, 2023
4cb4fae
fix(deps): update module github.com/google/go-github/v44 to v50 (#756)
renovate[bot] Feb 24, 2023
56c313e
fix(deps): update module github.com/urfave/cli/v2 to v2.24.4 (#759)
renovate[bot] Feb 24, 2023
8be8a48
fix(deps): update module golang.org/x/oauth2 to v0.5.0 (#760)
renovate[bot] Feb 24, 2023
4c9778b
fix(deps): update module github.com/joho/godotenv to v1.5.1 (#761)
renovate[bot] Feb 24, 2023
0939253
fix(deps): update module github.com/hashicorp/vault/api to v1.9.0 (#762)
renovate[bot] Feb 24, 2023
0f7bdd2
fix(deps): update module github.com/golang-jwt/jwt/v4 to v4.5.0 (#763)
renovate[bot] Feb 24, 2023
a441479
chore(deps): bump golang.org/x/net (#766)
dependabot[bot] Feb 27, 2023
822be06
fix(deps): update module github.com/gin-gonic/gin to v1.9.0 (#769)
renovate[bot] Feb 27, 2023
d267ed2
chore(queue): update go-redis to v9 (#771)
plyr4 Feb 27, 2023
3c330f8
fix(deps): update go.starlark.net digest to dded032 (#774)
renovate[bot] Feb 28, 2023
54689ef
chore: v0.18.0-rc1 prep (#775)
plyr4 Feb 28, 2023
32522bb
fix(deps): update deps (patch) (#777)
renovate[bot] Mar 1, 2023
91f607a
fix(perm): allow workers with build tokens to access MustRead() for p…
ecrupper Mar 1, 2023
d24da14
chore: upgrade types to v0.18.0 (#783)
plyr4 Mar 6, 2023
d8995be
fix(database): revert column size bump to users token values (#784)
ecrupper Mar 8, 2023
a3ab6f0
chore: v0.18.1 (#785)
plyr4 Mar 8, 2023
214b2bd
chore: address #722 review feedback (#780)
jbrockopp Mar 15, 2023
96b5d86
fix(pipelines): support for file template type when gathering templat…
ecrupper Mar 17, 2023
b42e80f
refactor(api): move repo logic to separate package (#754)
jbrockopp Mar 21, 2023
b37567d
enhance(scm/repo): mirror allowed events with sent events (#679)
ecrupper Mar 23, 2023
5ffbe81
feat(auth): server side changes for new worker auth flow (#790)
ecrupper Mar 23, 2023
aa0b68e
fix: Misc typos (#797)
cognifloyd Mar 24, 2023
73f83fc
chore(docker-compose): remove unsupported log method flag (#791)
wass3r Mar 24, 2023
8b1b857
chore: Delete unused /stream endpoints (#799)
cognifloyd Mar 27, 2023
3d5b219
feat(compiler): Enables Starlark structs (#781)
colindean Mar 29, 2023
f8a9aa1
enhance(queue): validate queue route and add error wrapping to clean …
ecrupper Mar 31, 2023
34164d0
enhance(api/scm): expand sync to align SCM subscribed events with all…
ecrupper Apr 5, 2023
17c5340
enhance(metrics): gather queued builds (#802)
ecrupper Apr 6, 2023
3335f6a
enhance(api/worker): validate host name in claims against input (#806)
ecrupper Apr 7, 2023
b5777e5
refactor(api): move user handlers to new package (#809)
jbrockopp Apr 8, 2023
a7d3686
feat(api/log)!: support paging on `GetBuildLogs` (#798)
cognifloyd Apr 10, 2023
ba3dd47
chore(mock+router): Cleanup endpoints (#796)
cognifloyd Apr 10, 2023
71240b4
refactor(database): move secret logic into separate package (#782)
jbrockopp Apr 10, 2023
931e938
fix(jwt): set issued_at to nil prior to validating claims (#814)
wass3rw3rk Apr 12, 2023
4a275f6
feat(templates): allow for compile-time rulesets for template steps (…
ecrupper Apr 12, 2023
116ea3b
fix(metrics/spec): add queued_build_count to spec (#815)
ecrupper Apr 13, 2023
05371c1
fix(deps): update go.starlark.net digest to 4b1e35f (#778)
renovate[bot] Apr 17, 2023
f37d973
refactor(database): move step logic into separate package (#810)
jbrockopp Apr 17, 2023
676edd6
enhance(repo)!: add topics field to build env and repo (#807)
ecrupper Apr 17, 2023
ae034bf
fix(deps): update module gorm.io/gorm to v1.25.0 (#818)
renovate[bot] Apr 17, 2023
00e378d
enhance(webhook)!: verify repo owner has at least write access to SCM…
ecrupper Apr 17, 2023
f5fe34a
fix(deps): update module github.com/prometheus/client_golang to v1.15…
renovate[bot] Apr 17, 2023
54f3f61
fix(deps): update module gorm.io/driver/postgres to v1.5.0 (#787)
renovate[bot] Apr 17, 2023
ad6fd58
chore(deps): update to jwt v5, remove iat workaround (#821)
ecrupper Apr 17, 2023
7e020e3
fix(deps): update deps (patch) (#786)
renovate[bot] Apr 18, 2023
c80300a
fix(deps): update module github.com/google/go-github/v50 to v50.2.0 (…
renovate[bot] Apr 18, 2023
20e10f5
chore(deps): update actions/setup-go action to v4 (#789)
renovate[bot] Apr 18, 2023
98808ae
fix(deps): update module github.com/urfave/cli/v2 to v2.25.1 (#803)
renovate[bot] Apr 18, 2023
7a0afdd
fix(deps): update module golang.org/x/oauth2 to v0.7.0 (#804)
renovate[bot] Apr 18, 2023
3b38779
fix(deps): update module github.com/google/go-github/v50 to v51 (#805)
renovate[bot] Apr 18, 2023
3fd6215
fix(deps): update module k8s.io/apimachinery to v0.27.1 (#819)
renovate[bot] Apr 18, 2023
3fec46c
fix(compiler)!: webhook payload containing message with special chara…
NickHackman Apr 18, 2023
2913b6d
fix(scm): handle new go-github validation changes and ensure correct …
ecrupper Apr 19, 2023
519876b
fix(webhook): relocate topics & branch setting to avoid overwrite (#824)
ecrupper Apr 20, 2023
0410ae0
fix(scm): correct init hook status and send accurate events (#825)
ecrupper Apr 21, 2023
7bdcd54
fix(deps): update module github.com/google/go-github/v51 to v52 (#826)
renovate[bot] Apr 21, 2023
258460e
fix(deps): update process push webhook to account for changes in v52 …
ecrupper Apr 23, 2023
9f22030
fix(deps): update deps (patch) (#823)
renovate[bot] Apr 24, 2023
7eda80a
chore(release): pull in v0.19.0 types for release (#831)
ecrupper Apr 25, 2023
b601b63
chore(release): upgrade types to v0.19.1 for patch release (#832)
ecrupper Apr 26, 2023
8c2fdb2
revert(envsubst): roll back envsubst library upgrade due to multiline…
ecrupper May 4, 2023
af42abe
fix(restart): correct build sender using claims subject (#839)
ecrupper May 8, 2023
f99a894
enhance(build): add ability to cancel pending builds (#840)
ecrupper May 10, 2023
cba432f
fix(docker-compose): fix env var names for tokens (#841)
wass3r May 11, 2023
5a7b9c5
refactor(database): move service logic into separate package (#816)
jbrockopp May 15, 2023
3aa414e
refactor(api): move worker logic to separate package (#828)
jbrockopp May 15, 2023
fa4ffd7
refactor(api): move deployment logic to separate package (#847)
ecrupper May 17, 2023
cd6a651
refactor(api): move scm logic to separate package (#848)
ecrupper May 18, 2023
61419f4
refactor(api): move hook handlers to new package (#829)
jbrockopp May 18, 2023
d0f63b1
feat(database): add support for schedules (#834)
jbrockopp May 18, 2023
5092d22
fix: allow setting worker.active to false (#850)
plyr4 May 18, 2023
ca21175
refactor(api): move service logic to separate package (#849)
ecrupper May 19, 2023
3919d6c
chore: vscode gitignore from toptal (#845)
plyr4 May 19, 2023
f276fee
feat(api): add support for schedules (#836)
JordanSussman May 19, 2023
a374e2b
refactor(api): move step logic to separate package (#851)
ecrupper May 19, 2023
1884ca0
refactor(api): move auth logic to separate package (#853)
cognifloyd May 22, 2023
c1a661a
refactor(api): move log logic into separate package (#855)
ecrupper May 22, 2023
4ffd2f1
fix(router): establish claims before user on logout (#857)
ecrupper May 22, 2023
afd00ce
refactor(api): move secret logic to separate package (#856)
ecrupper May 22, 2023
ffac676
fix(compiler): add commit field to compiler engine to handle file typ…
ecrupper May 23, 2023
5a9a92d
feat: add support for processing schedules (#846)
jbrockopp May 23, 2023
5f5bfe3
refactor(database): move build logic into separate package (#858)
jbrockopp May 26, 2023
f7c3c6b
refactor(db): return hook created or updated (#861)
ecrupper May 26, 2023
2f1b70e
feat(templates): add ability to call templates within a template (#794)
ecrupper May 30, 2023
ca68a09
feat(api/admin): add endpoint to clean pending / running builds (#863)
ecrupper May 30, 2023
a5fc7c6
refactor(api): move build logic to separate package (#864)
ecrupper May 30, 2023
a600274
feat(database): add agnostic engine (#868)
jbrockopp Jun 2, 2023
e4bfa4e
feat(database): add engine.Ping() (#869)
jbrockopp Jun 5, 2023
e8bdb15
feat(database): add engine.NewResources() (#870)
jbrockopp Jun 7, 2023
63d323f
fix(mock): correct query param mocks (#866)
ecrupper Jun 8, 2023
da73438
refactor(db/log): return library log on created and updated (#865)
ecrupper Jun 8, 2023
470791d
refactor(database): use agnostic engine (#873)
jbrockopp Jun 8, 2023
3e88795
fix(schedules): increment repo counter after read (#877)
plyr4 Jun 9, 2023
ad8d7d7
refactor(testing): use database.NewTest() (#878)
jbrockopp Jun 9, 2023
f8c795f
enhance(log): do not return log object for POST and PUT requests (#879)
ecrupper Jun 9, 2023
e2e86a7
enhance(clone): upgrade target/vela-git to v0.8.0 (#876)
jbrockopp Jun 9, 2023
0410f86
chore(database): remove unused packages (#880)
jbrockopp Jun 9, 2023
d51b1c3
refactor(templates): use yaml for tests instead of base64 encoded jso…
JordanSussman Jun 12, 2023
ca3e1e3
refactor(database): return pipeline on created and updated (#882)
ecrupper Jun 13, 2023
e06d557
fix(deps): update deps (patch) (#835)
renovate[bot] Jun 13, 2023
e17c971
refactor(database): return build object on created and updated (#884)
ecrupper Jun 15, 2023
4e5d484
feat(worker-visibility): extend worker table with 5 fields (#772)
KellyMerrick Jun 16, 2023
ef7d338
feat(database): add engine options (#886)
jbrockopp Jun 20, 2023
3b439fc
enhance(webhook): handle repository transfer events (#883)
ecrupper Jun 20, 2023
6f9f29e
chore(deps): bulk deps update (#888)
ecrupper Jun 21, 2023
7e3fda6
fix(deps): update module github.com/gin-gonic/gin to v1.9.1 [security…
renovate[bot] Jun 21, 2023
45c6007
chore(release): upgrade types to v0.20.0-rc1 (#890)
ecrupper Jun 21, 2023
9f92c24
fix(schedules): updated_at automatically updates to any change to row…
ecrupper Jun 26, 2023
a6277ab
fix(compose): use hashicorp/vault docker repo (#897)
ecrupper Jun 29, 2023
900608b
fix(api): support schedule in filter (#900)
wass3rw3rk Jul 6, 2023
71a484d
fix(api/schedule): make validateEntry more strict and set updated_by …
ecrupper Jul 7, 2023
563f226
fix(schedules): criteria for triggering a build (#893)
jbrockopp Jul 10, 2023
3f0c184
fix(db tests): use lenient timestamp check for time.Now query matchin…
ecrupper Jul 10, 2023
8a25e31
fix(deps): update deps (patch) (#895)
renovate[bot] Jul 10, 2023
73674fc
chore(release): upgrade types to v0.20.0 and upgrade other deps (#907)
ecrupper Jul 17, 2023
af55191
chore(docker-alpine): pin to alpine tag and sha (#909)
ecrupper Jul 17, 2023
41fdfd1
refactor(database): return repo object on created and updated (#913)
ecrupper Jul 25, 2023
acbb8f1
fix(compiler): convert local templates to an engine field for nested …
ecrupper Jul 25, 2023
02fcd74
chore(release): upgrade types to v0.20.1 (#918)
ecrupper Jul 27, 2023
adf4f65
feat(database): add integration testing (#896)
jbrockopp Jul 31, 2023
b3084f9
fix: getting visbility to match on vela and SCM (#924)
claire1618 Aug 4, 2023
516d4fe
chore: add context to schedule functions (#898)
JordanSussman Aug 9, 2023
439455c
chore: add context to build functions (#922)
plyr4 Aug 11, 2023
635c18b
refactor(db): return schedule on create and update (#915)
ecrupper Aug 15, 2023
7dc577f
refactor(db): return secret on created / updated (#928)
ecrupper Aug 16, 2023
9750002
chore: add context to repos functions (#930)
plyr4 Aug 17, 2023
26aa0b6
chore: add WithContext test to builds (#931)
plyr4 Aug 17, 2023
c41cb14
chore: add context to pipeline functions (#923)
plyr4 Aug 17, 2023
ee0d2a0
refactor(db): return service on created and updated (#932)
ecrupper Aug 21, 2023
6874831
feat(queuing)!: build executable server-side implementation (#927)
ecrupper Aug 23, 2023
a980c86
enhance: adding a branch field to scheduled builds (#934)
claire1618 Aug 23, 2023
5f6be5c
refactor(db): return step on created and updated (#933)
ecrupper Aug 23, 2023
172a998
feat(queue)!: add priv/pub key signing (#843)
plyr4 Aug 25, 2023
2187e6b
chore: simplify queue env variable names (#939)
plyr4 Aug 25, 2023
6a15df6
enhance: add context to Executables (#937)
plyr4 Aug 28, 2023
1b95cf6
Increase Starlark execution limit, abstract limit resolver
colindean Aug 28, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
30 changes: 0 additions & 30 deletions .chglog/CHANGELOG.tpl.md

This file was deleted.

28 changes: 0 additions & 28 deletions .chglog/config.yml

This file was deleted.

44 changes: 32 additions & 12 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,32 @@
# #
##################

# These are used by the ui service
# defined in the docker compose stack
# These are used by the ui service defined in the docker compose stack

# customize the location where you want users to provide feedback
# customize the location for the Vela server address
#
# default: https://github.com/go-vela/ui/issues/new
# VELA_FEEDBACK_URL=
# Should match the "VELA_ADDR" value in docker-compose.yml when running locally.
VELA_API=http://localhost:8080

# customize the location where users can review documentation
#
# default: https://go-vela.github.io/docs
# VELA_DOCS_URL=

# customize the location for the Vela server address
# customize the location where you want users to provide feedback
#
# Should match the "VELA_ADDR" value in docker-compose.yml when running locally.
VELA_API=http://localhost:8080
# default: https://github.com/go-vela/ui/issues/new
# VELA_FEEDBACK_URL=

# customize the number of bytes for size of logs the UI will attempt to render
#
# default: 20000 (2 MB)
# VELA_LOG_BYTES_LIMIT=

# customize the number of concurrent builds for a repo the UI will allow configuring
#
# default: 30
# VELA_MAX_BUILD_LIMIT=

############################################################
# _______ _______ ______ __ __ _______ ______ #
Expand All @@ -38,16 +47,27 @@ VELA_API=http://localhost:8080
# #
############################################################

# These are used by the server service
# defined in the docker compose stack
# These are used by the server service defined in the docker compose stack

# github web url (only required if using GitHub Enterprise)
#
# default: https://github.com
# VELA_SCM_ADDR=

# github client id from oauth application
VELA_SCM_CLIENT=
# VELA_SCM_CLIENT=

# github client secret from oauth application
VELA_SCM_SECRET=
# VELA_SCM_SECRET=

# COMPILER FLAGS
#
# compiler github is whether or not the compiler uses github to pull templates
#
# default: false
# VELA_COMPILER_GITHUB=

# compiler github url is the url used by the compiler to fetch templates
#
# default: https://github.com
# VELA_COMPILER_GITHUB_URL
74 changes: 0 additions & 74 deletions .github/CODE_OF_CONDUCT.md

This file was deleted.

63 changes: 6 additions & 57 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,14 @@
# Contributing

We'd love to accept your contributions to this project!

There are just a few guidelines you need to follow.

## Bugs

Bug reports should be opened up as [issues](https://help.github.com/en/github/managing-your-work-on-github/about-issues) on the [go-vela/community](https://github.com/go-vela/community) repository!

## Feature Requests

Feature Requests should be opened up as [issues](https://help.github.com/en/github/managing-your-work-on-github/about-issues) on the [go-vela/community](https://github.com/go-vela/community) repository!

## Pull Requests

**NOTE: We recommend you start by opening a new issue describing the bug or feature you're intending to fix. Even if you think it's relatively minor, it's helpful to know what people are working on.**

We are always open to new PRs! You can follow the below guide for learning how you can contribute to the project!

## Getting Started

We'd love to accept your contributions to this project! If you are a first time contributor, please review our [Contributing Guidelines](https://go-vela.github.io/docs/community/contributing_guidelines/) before proceeding.

### Prerequisites

* [Review the commit guide we follow](https://chris.beams.io/posts/git-commit/#seven-rules) - ensure your commits follow our standards
* [Review the local development docs](../DOCS.md) - ensures you have the Vela application stack running locally
* [Review the commit guide we follow](https://chris.beams.io/posts/git-commit/#seven-rules) - ensure your commits follow our standards
* [Review our style guide](https://go-vela.github.io/docs/community/contributing_guidelines/#style-guide) to ensure your code is clean and consistent.

### Setup

Expand Down Expand Up @@ -62,23 +47,6 @@ cd $HOME/go-vela/server
```

* Write your code and tests to implement the changes you desire.
* Please be sure to [follow our commit rules](https://chris.beams.io/posts/git-commit/#seven-rules)
* Please address linter warnings appropriately. If you are intentionally violating a rule that triggers a linter, please annotate the respective code with `nolint` declarations [[docs](https://golangci-lint.run/usage/false-positives/)]. we are using the following format for `nolint` declarations:

```go
// nolint:<linter(s)> // <short reason>
```

Example:

```go
// nolint:gocyclo // legacy function is complex, needs simplification
func superComplexFunction() error {
// ..
}
```

Check the [documentation for more examples](https://golangci-lint.run/usage/false-positives/).

* Run the repository code (ensures your changes perform as you desire):

Expand All @@ -105,28 +73,9 @@ make clean

```bash
# push your code up to your fork
git push fork master
git push fork main
```

* Open a pull request!
* For the title of the pull request, please use the following format for the title:

```text
feat(wobble): add hat wobble
^--^^------^ ^------------^
| | |
| | +---> Summary in present tense.
| +---> Scope: a noun describing a section of the codebase (optional)
+---> Type: chore, docs, feat, fix, refactor, or test.
```

* feat: adds a new feature (equivalent to a MINOR in Semantic Versioning)
* fix: fixes a bug (equivalent to a PATCH in Semantic Versioning)
* docs: changes to the documentation
* refactor: refactors production code, eg. renaming a variable; doesn't change public API
* test: adds missing tests, refactors tests; no production code change
* chore: updates something without impacting the user (ex: bump a dependency in package.json or go.mod); no production code change

If a code change introduces a breaking change, place ! suffix after type, ie. feat(change)!: adds breaking change. correlates with MAJOR in semantic versioning.
* Make sure to follow our [PR process](https://go-vela.github.io/docs/community/contributing_guidelines/#development-workflow) when opening a pull request

Thank you for your contribution!
2 changes: 1 addition & 1 deletion .github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![license](https://img.shields.io/crates/l/gl.svg)](../LICENSE)
[![GoDoc](https://godoc.org/github.com/go-vela/server?status.svg)](https://godoc.org/github.com/go-vela/server)
[![Go Report Card](https://goreportcard.com/badge/go-vela/server)](https://goreportcard.com/report/go-vela/server)
[![codecov](https://codecov.io/gh/go-vela/server/branch/master/graph/badge.svg)](https://codecov.io/gh/go-vela/server)
[![codecov](https://codecov.io/gh/go-vela/server/branch/main/graph/badge.svg)](https://codecov.io/gh/go-vela/server)

> Vela is in active development and is a pre-release product.
>
Expand Down
13 changes: 10 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,18 @@ on:
jobs:
build:
runs-on: ubuntu-latest
container:
image: golang:1.17

steps:
- name: clone
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: install go
uses: actions/setup-go@v4
with:
# use version from go.mod file
go-version-file: 'go.mod'
cache: true
check-latest: true

- name: build
run: |
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ name: "CodeQL"

on:
push:
branches: [ master ]
branches: [ main ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ master ]
branches: [ main ]
schedule:
- cron: '23 1 * * 0'

Expand All @@ -35,11 +35,11 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -50,7 +50,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1
uses: github/codeql-action/autobuild@v2

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -64,4 +64,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2
Loading