Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
3bbdf9e
fix: check repo trusted when running privileged containers
plyr4 Oct 12, 2022
c23c6b9
revert: docker-compose local changes
plyr4 Oct 12, 2022
7b2b277
revert: docker-compose local changes
plyr4 Oct 12, 2022
7d94146
fix: add repo nil check
plyr4 Oct 12, 2022
4dca3ba
wip: enabling flag for trusted repo protection
plyr4 Oct 13, 2022
4982778
wip: enforcement runtime flag
plyr4 Oct 14, 2022
3dc2082
wip: moving flag to executor and remove changes from runtime
plyr4 Oct 14, 2022
751b5ee
wip: removing more changes from runtime
plyr4 Oct 14, 2022
b695195
wip: code cleanup
plyr4 Oct 14, 2022
36d1425
fix: golangci lint
plyr4 Oct 14, 2022
24a5c0c
fix: golangci lint
plyr4 Oct 14, 2022
f4d1665
fix: golangci lint
plyr4 Oct 14, 2022
245cea3
fix: improve comments
plyr4 Oct 14, 2022
11fbff9
fix: improve comments
plyr4 Oct 14, 2022
e73c88f
fix: improve comments
plyr4 Oct 14, 2022
baf7ebb
fix: improve comments
plyr4 Oct 14, 2022
573a223
fix: improve comments
plyr4 Oct 14, 2022
fa6cee2
fix: improve comments
plyr4 Oct 14, 2022
2264236
fix: golangci lint
plyr4 Oct 14, 2022
b844114
wip: code cleanup
plyr4 Oct 14, 2022
a83514d
wip: code cleanup
plyr4 Oct 14, 2022
9fa2e95
fix: golint goconst
plyr4 Oct 14, 2022
9cee4ba
fix: golint goconst
plyr4 Oct 14, 2022
6d07ba2
fix: golint goconst
plyr4 Oct 14, 2022
d6917a7
fix: golint goconst
plyr4 Oct 14, 2022
f793a7e
fix: return cuddle
plyr4 Oct 14, 2022
308e76e
fix: contextcheck
plyr4 Oct 14, 2022
f7b073e
fix: add var to docker-compose
plyr4 Oct 14, 2022
1f0fff4
fix: add var to docker-compose
plyr4 Oct 14, 2022
c367ac9
fix: change var default in docker-compose to false
plyr4 Oct 14, 2022
9934ce9
enhance: executor and opts tests
plyr4 Oct 14, 2022
3b0ea9d
enhance: executor and opts tests
plyr4 Oct 14, 2022
55ae629
enhance: executor and opts tests
plyr4 Oct 14, 2022
55b9519
enhance: executor and opts tests remove foobar list
plyr4 Oct 14, 2022
85e6643
enhance: add log for denials
plyr4 Oct 14, 2022
c9e24f9
enhance: move log for denials
plyr4 Oct 14, 2022
4db9f3a
fix: fullname access
plyr4 Oct 14, 2022
91e3074
enhance: fix log for denials
plyr4 Oct 14, 2022
e7a055f
fix: cleanup logs
plyr4 Oct 14, 2022
3748a75
fix: wording around log and error
plyr4 Oct 14, 2022
5e216ab
fix: apply logic to services and stages
plyr4 Oct 14, 2022
4e1974a
fix: apply logic to services and stages
plyr4 Oct 14, 2022
19bdcb7
fix: update stages when skipped
plyr4 Oct 17, 2022
6ec071d
revert: docker-compose local changes
plyr4 Oct 19, 2022
932aa6f
Merge branch 'main' into fix/trusted-repos
plyr4 Oct 26, 2022
6e64e43
alter: change default setting to TRUE
plyr4 Oct 28, 2022
92f13d8
Merge branch 'fix/trusted-repos' of github.com:go-vela/worker into fi…
plyr4 Oct 28, 2022
390d700
fix: match struct param order
plyr4 Oct 31, 2022
7847195
fix: skip init image, not name
plyr4 Nov 1, 2022
45855b7
fix: remove nolint:goconst directive
plyr4 Nov 2, 2022
4fe08b7
test: add init-named steps
plyr4 Nov 2, 2022
66300e9
test: add init-named steps
plyr4 Nov 2, 2022
c21e7a3
test: fix service tests comments
plyr4 Nov 2, 2022
7ef5ea6
Merge branch 'main' into fix/trusted-repos
wass3r Nov 9, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: improve comments
  • Loading branch information
plyr4 committed Oct 14, 2022
commit 573a2238f909b7e5c7cf6ba6b1d5f9c203c9912a
1 change: 1 addition & 0 deletions executor/linux/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ func (c *client) CreateBuild(ctx context.Context) error {
// check the build for privileged images
containsPrivilegedImages := false
trustedRepo := c.repo != nil && c.repo.GetTrusted()

for _, s := range c.pipeline.Steps {
// skip built-in steps
// TODO: remove hardcoded reference
Expand Down