Skip to content

Commit

Permalink
fix container dockerfiles: LAMDA_TASK_ROOT -> LAMBDA_TASK_ROOT (#…
Browse files Browse the repository at this point in the history
…2253)

* fix container dockerfiles: `LAMDA_TASK_ROOT` -> `LAMBDA_TASK_ROOT`
* update `evaluate_checks` workflow error reporting
  • Loading branch information
tom-webber authored Nov 8, 2023
1 parent ff9660b commit 6d8cd70
Show file tree
Hide file tree
Showing 33 changed files with 53 additions and 21 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/reusable-workflow-containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,21 +138,21 @@ jobs:
- name: Evaluate Checks
id: evaluate_checks
run: |
echo "# Preflight Checks" >>"${GITHUB_STEP_SUMMARY}"
echo "::notice::# Preflight Checks"
if [[ "${{ env.tag_exists }}" == "true" ]]; then
echo "FAIL: Container tag already exists" >>"${GITHUB_STEP_SUMMARY}"
echo "::error::FAIL: Container tag already exists"
export failBuild="true"
else
echo "OK: Container tag does not exist" >>"${GITHUB_STEP_SUMMARY}"
echo "::notice::OK: Container tag does not exist"
export failBuild="false"
fi
if [[ "${{ env.changelog_updated }}" == "true" ]]; then
echo "OK: CHANGELOG.md has been updated" >>"${GITHUB_STEP_SUMMARY}"
echo "::notice::OK: CHANGELOG.md has been updated"
export failBuild="false"
elif [[ "${{ env.changelog_updated }}" == "false" ]]; then
echo "FAIL: CHANGELOG.md needs to be updated" >>"${GITHUB_STEP_SUMMARY}"
echo "::error::FAIL: CHANGELOG.md needs to be updated"
export failBuild="true"
fi
Expand Down
2 changes: 2 additions & 0 deletions containers/daap-athena-load/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

- update Dockerfile COPY command fixing `LAMBDA_TASK_ROOT` typo

## [1.3.0] 2023-11-02

### Updated
Expand Down
2 changes: 1 addition & 1 deletion containers/daap-athena-load/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ARG VERSION

ENV VERSION="${VERSION}"

COPY src/var/task ${LAMDA_TASK_ROOT}
COPY src/var/task ${LAMBDA_TASK_ROOT}

RUN python -m pip install --no-cache-dir --upgrade pip==23.2.1 \
&& python -m pip install --no-cache-dir --requirement requirements.txt
Expand Down
2 changes: 2 additions & 0 deletions containers/daap-authorizer/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

- update Dockerfile COPY command fixing `LAMBDA_TASK_ROOT` typo

## [1.1.1]

### Changed
Expand Down
2 changes: 1 addition & 1 deletion containers/daap-authorizer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ ARG VERSION

ENV VERSION="${VERSION}"

COPY src/var/task ${LAMDA_TASK_ROOT}
COPY src/var/task ${LAMBDA_TASK_ROOT}

CMD ["authorizer.handler"]
2 changes: 2 additions & 0 deletions containers/daap-create-metadata/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

- update Dockerfile COPY command fixing `LAMBDA_TASK_ROOT` typo

## [2.0.0] 2023-10-13

### Changed
Expand Down
2 changes: 1 addition & 1 deletion containers/daap-create-metadata/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ ARG VERSION

ENV VERSION="${VERSION}"

COPY src/var/task ${LAMDA_TASK_ROOT}
COPY src/var/task ${LAMBDA_TASK_ROOT}

CMD ["create_metadata.handler"]
2 changes: 2 additions & 0 deletions containers/daap-create-schema/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

- update Dockerfile COPY command fixing `LAMBDA_TASK_ROOT` typo

## [1.0.2]

### Changed
Expand Down
2 changes: 1 addition & 1 deletion containers/daap-create-schema/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ ARG VERSION

ENV VERSION="${VERSION}"

COPY src/var/task ${LAMDA_TASK_ROOT}
COPY src/var/task ${LAMBDA_TASK_ROOT}

CMD ["create_schema.handler"]
2 changes: 2 additions & 0 deletions containers/daap-delete-table-for-data-product/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

- update Dockerfile COPY command fixing `LAMBDA_TASK_ROOT` typo

## [1.0.1]

### Changed
Expand Down
2 changes: 1 addition & 1 deletion containers/daap-delete-table-for-data-product/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ ARG VERSION

ENV VERSION="${VERSION}"

COPY src/var/task ${LAMDA_TASK_ROOT}
COPY src/var/task ${LAMBDA_TASK_ROOT}

CMD ["delete_table.handler"]
2 changes: 2 additions & 0 deletions containers/daap-docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

- update Dockerfile COPY command fixing `LAMBDA_TASK_ROOT` typo

## [1.0.11] 2023-11-07

### Changed
Expand Down
2 changes: 1 addition & 1 deletion containers/daap-docs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ ARG VERSION

ENV VERSION="${VERSION}"

COPY src/var/task ${LAMDA_TASK_ROOT}
COPY src/var/task ${LAMBDA_TASK_ROOT}

CMD ["main.handler"]
2 changes: 2 additions & 0 deletions containers/daap-get-glue-metadata/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

- update Dockerfile COPY command fixing `LAMBDA_TASK_ROOT` typo

## [1.1.2]

### Changed
Expand Down
2 changes: 1 addition & 1 deletion containers/daap-get-glue-metadata/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ARG VERSION

ENV VERSION="${VERSION}"

COPY src/var/task ${LAMDA_TASK_ROOT}
COPY src/var/task ${LAMBDA_TASK_ROOT}

RUN python -m pip install --no-cache-dir --upgrade pip==23.2.1 \
&& python -m pip install --no-cache-dir --requirement requirements.txt
Expand Down
2 changes: 2 additions & 0 deletions containers/daap-get-schema/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

- update Dockerfile COPY command fixing `LAMBDA_TASK_ROOT` typo

## [1.1.0] - 2023-10-18

### Changed
Expand Down
2 changes: 1 addition & 1 deletion containers/daap-get-schema/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ARG VERSION

ENV VERSION="${VERSION}"

COPY src/var/task ${LAMDA_TASK_ROOT}
COPY src/var/task ${LAMBDA_TASK_ROOT}

RUN python -m pip install --no-cache-dir --upgrade pip==23.2.1 \
&& python -m pip install --no-cache-dir --requirement requirements.txt
Expand Down
2 changes: 2 additions & 0 deletions containers/daap-landing-to-raw/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

- update Dockerfile COPY command fixing `LAMBDA_TASK_ROOT` typo

## [1.3.1]

- Bugfix for embedded newline check.
Expand Down
2 changes: 1 addition & 1 deletion containers/daap-landing-to-raw/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ARG VERSION

ENV VERSION="${VERSION}"

COPY src/var/task ${LAMDA_TASK_ROOT}
COPY src/var/task ${LAMBDA_TASK_ROOT}

RUN python -m pip install --no-cache-dir --upgrade pip==23.2.1 \
&& python -m pip install --no-cache-dir --requirement requirements.txt
Expand Down
2 changes: 2 additions & 0 deletions containers/daap-presigned-url/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

- update Dockerfile COPY command fixing `LAMBDA_TASK_ROOT` typo

## [1.3.0] 2023-10-25

### Changed
Expand Down
2 changes: 1 addition & 1 deletion containers/daap-presigned-url/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ARG VERSION

ENV VERSION="${VERSION}"

COPY src/var/task ${LAMDA_TASK_ROOT}
COPY src/var/task ${LAMBDA_TASK_ROOT}

RUN python -m pip install --no-cache-dir --upgrade pip==23.2.1 \
&& python -m pip install --no-cache-dir --requirement requirements.txt
Expand Down
2 changes: 2 additions & 0 deletions containers/daap-preview-data/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

- update Dockerfile COPY command fixing `LAMBDA_TASK_ROOT` typo

## [1.0.2] - 2023-11-06

### Changed
Expand Down
2 changes: 1 addition & 1 deletion containers/daap-preview-data/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ARG VERSION

ENV VERSION="${VERSION}"

COPY src/var/task ${LAMDA_TASK_ROOT}
COPY src/var/task ${LAMBDA_TASK_ROOT}

RUN python -m pip install --no-cache-dir --upgrade pip==23.2.1 \
&& python -m pip install --no-cache-dir --requirement requirements.txt
Expand Down
2 changes: 2 additions & 0 deletions containers/daap-python-base/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

- update Dockerfile COPY command fixing `LAMBDA_TASK_ROOT` typo

## [5.4.0] - 2023-11-02

### Updated
Expand Down
2 changes: 1 addition & 1 deletion containers/daap-python-base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ARG VERSION

ENV BASE_VERSION="${VERSION}"

COPY src/var/task ${LAMDA_TASK_ROOT}
COPY src/var/task ${LAMBDA_TASK_ROOT}

RUN python -m pip install --no-cache-dir --upgrade pip==23.2.1 \
&& python -m pip install --no-cache-dir --requirement requirements.txt
2 changes: 2 additions & 0 deletions containers/daap-reload-data-product/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

- update Dockerfile COPY command fixing `LAMBDA_TASK_ROOT` typo

## [2.0.0]

### Changed
Expand Down
2 changes: 1 addition & 1 deletion containers/daap-reload-data-product/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ ARG VERSION

ENV VERSION="${VERSION}"

COPY src/var/task ${LAMDA_TASK_ROOT}
COPY src/var/task ${LAMBDA_TASK_ROOT}

CMD ["reload_data_product.handler"]
2 changes: 2 additions & 0 deletions containers/daap-resync-unprocessed-files/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

- update Dockerfile COPY command fixing `LAMBDA_TASK_ROOT` typo

## [2.0.0]

### Changed
Expand Down
2 changes: 1 addition & 1 deletion containers/daap-resync-unprocessed-files/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ ARG VERSION

ENV VERSION="${VERSION}"

COPY src/var/task ${LAMDA_TASK_ROOT}
COPY src/var/task ${LAMBDA_TASK_ROOT}

CMD ["resync_unprocessed_files.handler"]
2 changes: 2 additions & 0 deletions containers/daap-update-metadata/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

- update Dockerfile COPY command fixing `LAMBDA_TASK_ROOT` typo

## [1.0.1]

### Changed
Expand Down
2 changes: 1 addition & 1 deletion containers/daap-update-metadata/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ ARG VERSION

ENV VERSION="${VERSION}"

COPY src/var/task ${LAMDA_TASK_ROOT}
COPY src/var/task ${LAMBDA_TASK_ROOT}

CMD ["update_metadata.handler"]
2 changes: 2 additions & 0 deletions containers/daap-update-schema/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

- update Dockerfile COPY command fixing `LAMBDA_TASK_ROOT` typo

## [1.0.1]

### Changed
Expand Down
2 changes: 1 addition & 1 deletion containers/daap-update-schema/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ ARG VERSION

ENV VERSION="${VERSION}"

COPY src/var/task ${LAMDA_TASK_ROOT}
COPY src/var/task ${LAMBDA_TASK_ROOT}

CMD ["update_schema.handler"]

0 comments on commit 6d8cd70

Please sign in to comment.