-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Navid Yaghoobi <[email protected]>
- Loading branch information
Showing
362 changed files
with
216,712 additions
and
1,443 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
name: validate pull requests | ||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
|
||
jobs: | ||
vendoring: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: '>=1.20' | ||
- uses: actions/checkout@v3 | ||
- run: | | ||
go mod tidy | ||
go mod vendor | ||
go mod verify | ||
bash ./hack/tree_status.sh | ||
golangci-lint_fmt: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: fedora:latest | ||
steps: | ||
- uses: actions/setup-go@v3 | ||
with: | ||
# cannot use 1.21.X latest version since golangci-lint has an issue. | ||
go-version: '1.21.4' | ||
- uses: actions/checkout@v3 | ||
- run: | | ||
bash hack/install_dep.sh | ||
make .install.golangci-lint | ||
make lint | ||
make gofmt | ||
tests: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: quay.io/containers/podman:v4 | ||
volumes: | ||
- container_volume:/var/lib/containers | ||
options: "--device /dev/fuse:rw --security-opt label=disable --security-opt seccomp=unconfined --privileged" | ||
steps: | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: '1.21.4' | ||
- uses: actions/checkout@v3 | ||
- run: | | ||
yum -y install make gcc glib2-devel glibc-devel glibc-static device-mapper-devel | ||
export GOBIN=$(pwd)/bin/ | ||
export CGO_ENABLED=1 | ||
make .install.ginkgo | ||
make test | ||
build_binary: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: fedora:latest | ||
steps: | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: '>=1.20' | ||
- uses: actions/checkout@v3 | ||
- run: | | ||
bash hack/install_dep.sh | ||
make binary |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
.vagrant/ | ||
.vscode/ | ||
.coverage | ||
bin/* | ||
*.log | ||
*.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
run: | ||
deadline: 5m | ||
skip-files: | ||
- ".*_test.go" | ||
linters: | ||
enable-all: true | ||
disable: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
[ | ||
{ | ||
"Id": "3f57d9401f8d42f986df300f0c69192fc41da28ccc8d797829467780db3dd741", | ||
"Digest": "sha256:6d9ac9237a84afe1516540f40a0fafdc86859b2141954b4d643af7066d598b74", | ||
"RepoTags": [ | ||
"docker.io/library/busybox:latest" | ||
], | ||
"RepoDigests": [ | ||
"docker.io/library/busybox@sha256:538721340ded10875f4710cad688c70e5d0ecb4dcd5e7d0c161f301f36f79414", | ||
"docker.io/library/busybox@sha256:6d9ac9237a84afe1516540f40a0fafdc86859b2141954b4d643af7066d598b74" | ||
], | ||
"Parent": "", | ||
"Comment": "buildkit.dockerfile.v0", | ||
"Created": "2024-01-17T21:49:12Z", | ||
"Config": { | ||
"Env": [ | ||
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" | ||
], | ||
"Cmd": [ | ||
"sh" | ||
], | ||
"WorkingDir": "/", | ||
"ArgsEscaped": true | ||
}, | ||
"Version": "", | ||
"Author": "", | ||
"Architecture": "amd64", | ||
"Os": "linux", | ||
"Size": 4504102, | ||
"VirtualSize": 4504102, | ||
"GraphDriver": { | ||
"Name": "overlay", | ||
"Data": { | ||
"UpperDir": "/home/navid/.local/share/containers/storage/overlay/2e112031b4b923a873c8b3d685d48037e4d5ccd967b658743d93a6e56c3064b9/diff", | ||
"WorkDir": "/home/navid/.local/share/containers/storage/overlay/2e112031b4b923a873c8b3d685d48037e4d5ccd967b658743d93a6e56c3064b9/work" | ||
} | ||
}, | ||
"RootFS": { | ||
"Type": "layers", | ||
"Layers": [ | ||
"sha256:2e112031b4b923a873c8b3d685d48037e4d5ccd967b658743d93a6e56c3064b9" | ||
] | ||
}, | ||
"Labels": null, | ||
"Annotations": { | ||
"org.opencontainers.image.revision": "09ee80aedec1d8c604f104e8bec41ed19274620a", | ||
"org.opencontainers.image.source": "https://github.com/docker-library/busybox.git#09ee80aedec1d8c604f104e8bec41ed19274620a:latest/glibc", | ||
"org.opencontainers.image.url": "https://hub.docker.com/_/busybox", | ||
"org.opencontainers.image.version": "1.36.1-glibc" | ||
}, | ||
"ManifestType": "application/vnd.oci.image.manifest.v1+json", | ||
"User": "", | ||
"History": [ | ||
{ | ||
"created": "2024-01-17T21:49:12Z", | ||
"created_by": "ADD busybox.tar.xz / # buildkit", | ||
"comment": "buildkit.dockerfile.v0" | ||
}, | ||
{ | ||
"created": "2024-01-17T21:49:12Z", | ||
"created_by": "CMD [\"sh\"]", | ||
"comment": "buildkit.dockerfile.v0", | ||
"empty_layer": true | ||
} | ||
], | ||
"NamesHistory": [ | ||
"docker.io/library/busybox:latest" | ||
] | ||
} | ||
] |
Oops, something went wrong.