Skip to content

Commit

Permalink
fix(s3): fix script permissions (#1030)
Browse files Browse the repository at this point in the history
* fix(s3): fix script permissions

* fix: restore structure tests

* fix

* fix

* fix

* fix

* fix

* fix

* fix
  • Loading branch information
Julien Bouquillon authored Aug 2, 2023
1 parent cfae3b1 commit 01f3955
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 12 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/workflow.build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
cache-to: "type=gha,mode=max"
context: "./${{ inputs.name }}"
labels: "${{ steps.docker_meta.outputs.labels }}"
push: 'true'
push: "true"
tags: "${{ steps.docker_meta.outputs.tags }}"
- name: Image digest
run: |
Expand Down Expand Up @@ -106,14 +106,3 @@ jobs:
- run: yarn workspace ${{ inputs.name }} test
env:
SG_DOCKER_IMAGE: ghcr.io/socialgouv/docker/${{ inputs.name }}:sha-${{ github.sha }}

# structure_test:
# name: Structure test
# needs:
# - Build
# runs-on: ubuntu-latest
# steps:
# - uses: brpaz/structure-tests-action@v1
# with:
# image: ghcr.io/socialgouv/docker/${{ inputs.name }}:sha-${{ github.sha }}
# configFile: ${{ inputs.name }}/tests/container-structure-test.yml
Empty file modified s3-client/dump-upload.sh
100644 → 100755
Empty file.
4 changes: 4 additions & 0 deletions s3-client/tests/container-structure-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ commandTests:
command: "aws"
args: ["--version"]
expectedOutput: ["aws-cli.*"]
fileExistenceTests:
- name: "dump script"
path: "/home/ubuntu/dump-upload.sh"
isExecutableBy: "any"

0 comments on commit 01f3955

Please sign in to comment.