Skip to content
This repository has been archived by the owner on Feb 1, 2021. It is now read-only.

Commit

Permalink
Merge pull request #13 from stefanprodan/bin
Browse files Browse the repository at this point in the history
Copy scripts to bin
  • Loading branch information
stefanprodan authored Oct 28, 2019
2 parents 0d47a28 + f760b99 commit c72d92a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 14 deletions.
8 changes: 6 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
FROM golang:1.13

COPY LICENSE README.md /
COPY src/ /

COPY src/deps.sh /deps.sh
RUN /deps.sh

ENTRYPOINT ["/hrval-all.sh"]
COPY src/hrval.sh /usr/local/bin/hrval.sh
COPY src/hrval-all.sh /usr/local/bin/hrval

ENTRYPOINT ["hrval"]
16 changes: 4 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,17 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: Validate Helm Releases in test dir
uses: stefanprodan/hrval-action@v2.4.0
uses: stefanprodan/hrval-action@v2.6.0
with:
helmRelease: test/
- name: Validate Helm Release from Helm Repo
uses: stefanprodan/hrval-action@v2.4.0
uses: stefanprodan/hrval-action@v2.6.0
with:
helmRelease: test/flagger.yaml
helmVersion: v2
kubernetesVersion: 1.16.0
- name: Validate Helm Release from Git Repo
uses: stefanprodan/hrval-action@v2.4.0
uses: stefanprodan/hrval-action@v2.6.0
with:
helmRelease: test/podinfo.yaml
helmVersion: v3
Expand Down Expand Up @@ -84,17 +84,9 @@ version: 2.1
jobs:
hrval:
docker:
- image: circleci/golang:1.13
- image: stefanprodan/hrval
steps:
- checkout
- run:
name: Install hrval
command: |
curl -sL https://raw.githubusercontent.com/stefanprodan/hrval-action/master/src/deps.sh | sudo bash
sudo curl -sL https://raw.githubusercontent.com/stefanprodan/hrval-action/master/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/master/src/hrval-all.sh \
-o /usr/local/bin/hrval && sudo chmod +x /usr/local/bin/hrval
- run:
name: Validate Helm Releases in test dir
command: |
Expand Down

0 comments on commit c72d92a

Please sign in to comment.