Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pin dependencies #104

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/check-pr-semver-labels/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ runs:
steps:
- name: Retrieve semantic versioning labels on PR
id: check_labels
uses: actions/[email protected]
uses: actions/github-script@d556feaca394842dc55e4734bf3bb9f685482fa0 # v6.3.3
env:
VALID_APP_VERSION_LABELS: patch, minor, major, ignore-for-release
VALID_CHART_VERSION_LABELS: chart-patch, chart-minor, chart-major
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e # v1
- uses: ./.github/actions/check-pr-semver-labels
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
semver_chart: ${{ steps.semver_labels.outputs.semver_chart }}
skip_release: ${{ steps.semver_labels.outputs.skip_release }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
with:
token: ${{ secrets.github_token }}
- uses: ./.github/actions/check-pr-semver-labels
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
echo "SKIP_BUILD=${{ steps.configure_pipeline_parameters.outputs.SKIP_BUILD }}"
shell: bash
- name: Azure Pipelines Action
uses: jacopocarlini/[email protected]
uses: jacopocarlini/azure-pipelines@b9721743a54e862597395b4a70727cfdc03028fb # v1.3
with:
azure-devops-project-url: https://dev.azure.com/pagopaspa/pagoPA-projects
azure-pipeline-name: 'pagopa-ecommerce-payment-requests-service.deploy'
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM openjdk:17-slim as build
FROM openjdk:17-slim@sha256:aaa3b3cb27e3e520b8f116863d0580c438ed55ecfa0bc126b41f68c3f62f9774 as build
WORKDIR /workspace/app

COPY mvnw .
Expand All @@ -13,7 +13,7 @@ COPY eclipse-style.xml eclipse-style.xml
RUN ./mvnw install -DskipTests # --offline
RUN mkdir target/extracted && java -Djarmode=layertools -jar target/*.jar extract --destination target/extracted

FROM openjdk:17-slim
FROM openjdk:17-slim@sha256:aaa3b3cb27e3e520b8f116863d0580c438ed55ecfa0bc126b41f68c3f62f9774

RUN addgroup --system user && adduser --ingroup user --system user
USER user:user
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.nodo-mock
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:12.18.2-alpine
FROM node:12.18.2-alpine@sha256:b48d5259d91e549e4941d5170870619d2e9c27de648e6230625752481232a005

RUN apk update && apk upgrade && \
apk add --no-cache bash ca-certificates git openssh openssl
Expand Down
2 changes: 1 addition & 1 deletion api-tests/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:14-alpine
FROM node:14-alpine@sha256:434215b487a329c9e867202ff89e704d3a75e554822e07f3e0c0f9e606121b33

RUN mkdir -p /home/node/newman/node_modules && chown -R node:node /home/node/newman
WORKDIR /home/node/newman
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ services:
memory: 512M
redis:
container_name: pagopa-ecommerce-redis
image: redis
image: redis@sha256:93a8d83b707d0d6a1b9186edecca2e37f83722ae0e398aee4eea0ff17c2fad0e
command: [ "sh", "-c", 'exec redis-server --requirepass "$$REDIS_PASSWORD"' ]
ports:
- "6379:6379"
networks:
- pagopa-ecommerce-net

redis-insight:
image: redislabs/redisinsight
image: redislabs/redisinsight@sha256:e3af8fca1272243632adba175af4db0c439618f83649d8a12bbf617d3c9ff284
ports:
- "8001:8001"
networks:
Expand Down
Loading