Skip to content

Commit

Permalink
Only installing goss to validate
Browse files Browse the repository at this point in the history
  • Loading branch information
luisdalmolin committed Feb 2, 2024
1 parent 0b3efb9 commit acc6219
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 25 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/php-8.1-couch-mongo-validate.yml

This file was deleted.

12 changes: 12 additions & 0 deletions .github/workflows/php-8.1-couch-mongo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,15 @@ jobs:
password: ${{ secrets.DOCKER_PASSWORD }}
workdir: 8.1-couch-mongo
tags: "8.1-couch-mongo"

validate:
runs-on: ubuntu-latest
needs: publish
container:
image: kirschbaumdevelopment/laravel-test-runner:8.1-couch-mongo

steps:
- uses: actions/checkout@v2
- run: |
curl -fsSL https://goss.rocks/install | GOSS_VER=v${GOSS_VERSION} sh
goss --gossfile 8.1-couch-mongo/goss.yaml validate
6 changes: 4 additions & 2 deletions .github/workflows/php-8.1-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,7 @@ jobs:
image: kirschbaumdevelopment/laravel-test-runner:8.1

steps:
- uses: actions/checkout@v1
- run: goss --gossfile 8.1/goss.yaml validate
- uses: actions/checkout@v2
- run: |
curl -fsSL https://goss.rocks/install | GOSS_VER=v${GOSS_VERSION} sh
goss --gossfile 8.1/goss.yaml validate
6 changes: 4 additions & 2 deletions .github/workflows/php-8.2-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,7 @@ jobs:
image: kirschbaumdevelopment/laravel-test-runner:8.2

steps:
- uses: actions/checkout@v1
- run: goss --gossfile 8.2/goss.yaml validate
- uses: actions/checkout@v2
- run: |
curl -fsSL https://goss.rocks/install | GOSS_VER=v${GOSS_VERSION} sh
goss --gossfile 8.2/goss.yaml validate
4 changes: 3 additions & 1 deletion .github/workflows/php-8.3-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,6 @@ jobs:

steps:
- uses: actions/checkout@v2
- run: goss --gossfile 8.3/goss.yaml validate
- run: |
curl -fsSL https://goss.rocks/install | GOSS_VER=v${GOSS_VERSION} sh
goss --gossfile 8.3/goss.yaml validate
3 changes: 0 additions & 3 deletions 8.1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,3 @@ RUN apt-get install -y git
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash -
RUN apt-get install -y nodejs
RUN npm install -g yarn

# goss
RUN curl -fsSL https://goss.rocks/install | GOSS_VER=v${GOSS_VERSION} sh
3 changes: 0 additions & 3 deletions 8.2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,3 @@ RUN apt-get install -y git
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash -
RUN apt-get install -y nodejs
RUN npm install -g yarn

# goss
RUN curl -fsSL https://goss.rocks/install | GOSS_VER=v${GOSS_VERSION} sh
3 changes: 0 additions & 3 deletions 8.3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,3 @@ RUN apt-get update && apt-get install nodejs -y

# yarn
RUN npm install -g yarn

# goss
RUN curl -fsSL https://goss.rocks/install | GOSS_VER=v${GOSS_VERSION} sh

0 comments on commit acc6219

Please sign in to comment.