Fixed Minor Violations by UX writing Audit of Jfrog CLI (#3386) #4855
This file contains hidden or 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
| name: Podman Tests | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - "master" | |
| # Triggers the workflow on PRs to master branch only. | |
| pull_request_target: | |
| types: [labeled] | |
| branches: | |
| - "master" | |
| # Ensures that only the latest commit is running for each PR at a time. | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| Podman-tests: | |
| name: Podman tests (${{ matrix.os.name }}) | |
| if: github.event_name == 'workflow_dispatch' || github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'safe to test') | |
| strategy: | |
| matrix: | |
| os: | |
| - name: ubuntu | |
| version: 24.04 | |
| runs-on: ${{ matrix.os.name }}-${{ matrix.os.version }} | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v5 | |
| with: | |
| ref: ${{ github.event.pull_request.head.sha || github.ref }} | |
| - name: Configure Docker 29 for Legacy Support | |
| run: | | |
| sudo bash -c 'cat <<EOF > /etc/docker/daemon.json | |
| { | |
| "insecure-registries": ["localhost:8082"], | |
| "features": { | |
| "containerd-snapshotter": false | |
| } | |
| } | |
| EOF' | |
| sudo systemctl restart docker | |
| - name: Setup FastCI | |
| uses: jfrog-fastci/fastci@v0 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| fastci_otel_token: ${{ secrets.FASTCI_TOKEN }} | |
| - name: Setup Go with cache | |
| uses: jfrog/.github/actions/install-go-with-cache@main | |
| - name: Run podman tests | |
| run: go test -v -timeout 0 --test.podman --jfrog.url=${{ secrets.EPLUS_PLATFORM_URL }} --jfrog.adminToken=${{ secrets.EPLUS_ADMIN_TOKEN }} --test.containerRegistry=${{ secrets.CONTAINER_REGISTRY }} |