mirror of
https://github.com/containers/podman.git
synced 2025-08-02 01:09:21 +08:00
Assure validate includes lint
Fixed issue where lint was not run on CI, so we missed to prevent regressions. Signed-off-by: Sorin Sbarnea <ssbarnea@redhat.com>
This commit is contained in:
2
Makefile
2
Makefile
@ -591,7 +591,7 @@ validate.completions: completions/bash/podman
|
||||
if [ -x /bin/zsh ]; then /bin/zsh completions/zsh/_podman; fi
|
||||
|
||||
.PHONY: validate
|
||||
validate: gofmt .gitvalidation validate.completions golangci-lint man-page-check
|
||||
validate: lint gofmt .gitvalidation validate.completions man-page-check
|
||||
|
||||
.PHONY: build-all-new-commits
|
||||
build-all-new-commits:
|
||||
|
@ -5,15 +5,15 @@
|
||||
The following unit file examples assume:
|
||||
1. copied the `service` executable into `/usr/local/bin`
|
||||
1. `chcon system_u:object_r:container_runtime_exec_t:s0 /usr/local/bin/service`
|
||||
|
||||
|
||||
then:
|
||||
1. copy the `podman.service` and `podman.socket` files into `/etc/systemd/system`
|
||||
1. `systemctl daemon-reload`
|
||||
1. `systemctl enable podman.socket`
|
||||
1. `systemctl start podman.socket`
|
||||
1. `systemctl status podman.socket podman.service`
|
||||
|
||||
Assuming the status messages show no errors, the libpod service is ready to respond to the APIv2 on the unix domain socket `/run/podman/podman.sock`
|
||||
|
||||
Assuming the status messages show no errors, the libpod service is ready to respond to the APIv2 on the unix domain socket `/run/podman/podman.sock`
|
||||
|
||||
### podman.service
|
||||
```toml
|
||||
@ -55,15 +55,15 @@ The following unit file examples assume:
|
||||
1. you have a created a directory `~/bin`
|
||||
1. copied the `service` executable into `~/bin`
|
||||
1. `chcon system_u:object_r:container_runtime_exec_t:s0 ~/bin/service`
|
||||
|
||||
|
||||
then:
|
||||
1. `mkdir -p ~/.config/systemd/user`
|
||||
1. copy the `podman.service` and `podman.socket` files into `~/.config/systemd/user`
|
||||
1. `systemctl --user enable podman.socket`
|
||||
1. `systemctl --user start podman.socket`
|
||||
1. `systemctl --user status podman.socket podman.service`
|
||||
|
||||
Assuming the status messages show no errors, the libpod service is ready to respond to the APIv2 on the unix domain socket `/run/user/$(id -u)/podman/podman.sock`
|
||||
|
||||
Assuming the status messages show no errors, the libpod service is ready to respond to the APIv2 on the unix domain socket `/run/user/$(id -u)/podman/podman.sock`
|
||||
|
||||
### podman.service
|
||||
|
||||
|
@ -90,7 +90,7 @@ Built-in, no need to install
|
||||
#### [Raspbian](https://raspbian.org)
|
||||
|
||||
The Kubic project provides packages for Raspbian 10.
|
||||
|
||||
|
||||
```bash
|
||||
# Raspbian 10
|
||||
echo 'deb http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/Raspbian_10/ /' > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list
|
||||
@ -184,7 +184,7 @@ with our [COPR repository](https://copr.fedorainfracloud.org/coprs/baude/Upstrea
|
||||
#### [Raspbian](https://raspbian.org)
|
||||
|
||||
The Kubic project provides RC/testing packages for Raspbian 10.
|
||||
|
||||
|
||||
```bash
|
||||
# Raspbian 10
|
||||
echo 'deb http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/testing/Raspbian_10/ /' > /etc/apt/sources.list.d/devel:kubic:libcontainers:testing.list
|
||||
|
@ -10,4 +10,3 @@ ${SWAGGER_OUT}:
|
||||
# generate doesn't remove file on error
|
||||
rm -f ${SWAGGER_OUT}
|
||||
swagger generate spec -o ${SWAGGER_OUT} -i tags.yaml -w ./
|
||||
|
||||
|
Reference in New Issue
Block a user