mirror of
https://github.com/project-zot/zot.git
synced 2024-12-30 22:34:13 -05:00
a702a2377e
Signed-off-by: Nicol Draghici <idraghic@cisco.com> Remove check and set header every time Signed-off-by: Nicol Draghici <idraghic@cisco.com>
54 lines
1.5 KiB
YAML
54 lines
1.5 KiB
YAML
name: "Ecosystem client tools"
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
branches: [main]
|
|
release:
|
|
types:
|
|
- published
|
|
|
|
permissions: read-all
|
|
|
|
jobs:
|
|
client-tools:
|
|
name: Check client tools
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: actions/setup-go@v3
|
|
with:
|
|
go-version: 1.18.x
|
|
- name: Install dependencies
|
|
run: |
|
|
cd $GITHUB_WORKSPACE
|
|
go get -u github.com/swaggo/swag/cmd/swag
|
|
go mod download
|
|
sudo apt-get update
|
|
sudo apt-get -y install rpm uidmap
|
|
# install skopeo
|
|
. /etc/os-release
|
|
echo "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_${VERSION_ID}/ /" | sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list
|
|
curl -L https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_${VERSION_ID}/Release.key | sudo apt-key add -
|
|
sudo apt-get update
|
|
sudo apt-get -y upgrade
|
|
sudo apt-get -y install skopeo
|
|
- name: Run push-pull tests
|
|
run: |
|
|
make push-pull
|
|
- name: Run metrics tests
|
|
run: |
|
|
make bats-metrics
|
|
- name: Run cve tests
|
|
run: |
|
|
make bats-cve
|
|
- name: Run sync test
|
|
run: |
|
|
make bats-sync
|
|
- name: Run scrub tests
|
|
run: |
|
|
make bats-scrub
|
|
- name: Run anonymous-push-pull tests
|
|
run: |
|
|
make anonymous-push-pull
|