CI: Update hrval validation job

master
stefanprodan 2019-10-28 18:20:50 +02:00
parent 1cbdb18994
commit 2f339c050e
1 changed files with 1 additions and 9 deletions

View File

@ -2,17 +2,9 @@ version: 2.1
jobs: jobs:
validate-yamls: validate-yamls:
docker: docker:
- image: circleci/golang:1.13 - image: stefanprodan/hrval:v2.6.0
steps: steps:
- checkout - checkout
- run:
name: Install kubeval and hrval
command: |
curl -sL https://raw.githubusercontent.com/stefanprodan/hrval-action/v2.3.0/src/deps.sh | sudo bash
sudo curl -sL https://raw.githubusercontent.com/stefanprodan/hrval-action/v2.3.0/src/hrval.sh \
-o /usr/local/bin/hrval.sh && sudo chmod +x /usr/local/bin/hrval.sh
sudo curl -sL https://raw.githubusercontent.com/stefanprodan/hrval-action/v2.3.0/src/hrval-all.sh \
-o /usr/local/bin/hrval && sudo chmod +x /usr/local/bin/hrval
- run: - run:
name: Validate workloads name: Validate workloads
environment: environment: