Skip to content

Commit

Permalink
build(deps): bump senzing-factory/build-resources from 1 to 2 (#72)
Browse files Browse the repository at this point in the history
* build(deps): bump senzing-factory/build-resources from 1 to 2

Bumps [senzing-factory/build-resources](https://github.com/senzing-factory/build-resources) from 1 to 2.
- [Release notes](https://github.com/senzing-factory/build-resources/releases)
- [Changelog](https://github.com/senzing-factory/build-resources/blob/main/CHANGELOG.md)
- [Commits](senzing-factory/build-resources@v1...v2)

---
updated-dependencies:
- dependency-name: senzing-factory/build-resources
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* fix linting

* fix linting

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sam <[email protected]>
  • Loading branch information
dependabot[bot] and kernelsam authored Jun 12, 2024
1 parent f5772c0 commit c83ec98
Show file tree
Hide file tree
Showing 10 changed files with 37 additions and 14 deletions.
2 changes: 2 additions & 0 deletions .github/linters/.checkov.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
quiet: true
skip-check: CKV_DOCKER_7
7 changes: 4 additions & 3 deletions .github/workflows/add-labels-standardized.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ on:
- opened
- reopened

permissions:
issues: write

jobs:
add-issue-labels:
permissions:
issues: write
secrets:
ORG_MEMBERSHIP_TOKEN: ${{ secrets.ORG_MEMBERSHIP_TOKEN }}
SENZING_MEMBERS: ${{ secrets.SENZING_MEMBERS }}
uses: senzing-factory/build-resources/.github/workflows/add-labels-to-issue.yaml@v1
uses: senzing-factory/build-resources/.github/workflows/add-labels-to-issue.yaml@v2
3 changes: 3 additions & 0 deletions .github/workflows/add-to-project-community-dependabot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ env:
CREATOR: ${{ github.event.pull_request.user.login }}
GITHUB_TOKEN: ${{ secrets.SENZING_GITHUB_ACCESS_TOKEN }}

permissions:
repository-projects: write

jobs:
add-to-project-dependabot:
name: add issue to Senzing Community project
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/add-to-project-community.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
- opened
- reopened

permissions:
repository-projects: write

jobs:
add-to-project:
name: add issue to project
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/dependabot-approve-and-merge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ on:
pull_request:
branches: [main]

permissions:
contents: write
pull-requests: write

jobs:
dependabot-approve-and-merge:
permissions:
contents: write
pull-requests: write
secrets:
SENZING_GITHUB_CODEOWNER_PR_RW_TOKEN: ${{ secrets.SENZING_GITHUB_CODEOWNER_PR_RW_TOKEN }}
uses: senzing-factory/build-resources/.github/workflows/dependabot-approve-and-merge.yaml@v1
uses: senzing-factory/build-resources/.github/workflows/dependabot-approve-and-merge.yaml@v2
3 changes: 3 additions & 0 deletions .github/workflows/docker-build-container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: docker build container

on: [push]

permissions:
contents: read

jobs:
docker-build-container:
runs-on: ubuntu-latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
tags:
- "[0-9]+.[0-9]+.[0-9]+"

permissions:
contents: read

jobs:
docker-push-containers-to-dockerhub-and-ecr:
permissions:
Expand All @@ -14,7 +17,7 @@ jobs:
AWS_DOCKER_ACCOUNT_ID: ${{ secrets.AWS_DOCKER_ACCOUNT_ID }}
DOCKERHUB_ACCESS_TOKEN: ${{ secrets.DOCKERHUB_ACCESS_TOKEN }}
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
uses: senzing-factory/build-resources/.github/workflows/docker-push-containers-to-dockerhub-and-ecr.yaml@v1
uses: senzing-factory/build-resources/.github/workflows/docker-push-containers-to-dockerhub-and-ecr.yaml@v2
with:
build-options: "--push"
docker-image-repository: senzing/senzingapi-tools
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint-workflows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ permissions:

jobs:
lint-workflows:
uses: senzing-factory/build-resources/.github/workflows/lint-workflows.yaml@v1
uses: senzing-factory/build-resources/.github/workflows/lint-workflows.yaml@v2
5 changes: 4 additions & 1 deletion .github/workflows/move-pr-to-done-dependabot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@ on:
branches: [main]
types: [closed]

permissions:
repository-projects: write

jobs:
move-pr-to-done-dependabot:
secrets:
SENZING_GITHUB_PROJECT_RW_TOKEN: ${{ secrets.SENZING_GITHUB_PROJECT_RW_TOKEN }}
uses: senzing-factory/build-resources/.github/workflows/move-pr-to-done.yaml@v1
uses: senzing-factory/build-resources/.github/workflows/move-pr-to-done.yaml@v2
12 changes: 8 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ ENV REFRESHED_AT=2024-05-22

USER root

# Install packages via apt.
# Install packages via apt-get.

RUN apt update \
&& apt -y install \
RUN apt-get update \
&& apt-get -y install \
python3 \
python3-dev \
python3-pip \
python3-venv \
&& apt clean \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

# Create and activate virtual environment.
Expand Down Expand Up @@ -73,6 +73,8 @@ ENV TERM=xterm
RUN apt-get update \
&& apt-get -y install ${SENZING_APT_INSTALL_TOOLS_PACKAGE}

HEALTHCHECK CMD apt list --installed | grep senzingapi-tools

# Install packages via apt.

RUN apt-get update \
Expand All @@ -85,6 +87,8 @@ RUN apt-get update \

COPY --from=builder /app/venv /app/venv

USER 1001

# Activate virtual environment.

ENV VIRTUAL_ENV=/app/venv
Expand Down

0 comments on commit c83ec98

Please sign in to comment.