Skip to content

Commit

Permalink
Merge pull request #633 from Cray-HPE/CASMNET-2224
Browse files Browse the repository at this point in the history
CASMNET-2224 update json-mock -- 1.6
  • Loading branch information
rustydb authored Sep 5, 2024
2 parents 43aebc0 + 542d102 commit 2c8e413
Show file tree
Hide file tree
Showing 3 changed files with 83 additions and 1 deletion.
55 changes: 55 additions & 0 deletions .github/workflows/quay.io.cilium.json-mock.v1.3.8.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
#
# MIT License
#
# (C) Copyright 2024 Hewlett Packard Enterprise Development LP
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
# OTHER DEALINGS IN THE SOFTWARE.
#
name: quay.io/cilium/json-mock:v1.3.8
on:
push:
paths:
- .github/workflows/quay.io.cilium.json-mock.v1.3.8.yaml
- quay.io/cilium/json-mock/v1.3.8/**
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
env:
CONTEXT_PATH: quay.io/cilium/json-mock/v1.3.8
DOCKER_REPO: artifactory.algol60.net/csm-docker/${{ github.ref == 'refs/heads/main' && 'stable' || 'unstable' }}/quay.io/cilium/json-mock
DOCKER_TAG: v1.3.8
steps:
- name: build-sign-scan
uses: Cray-HPE/github-actions/build-sign-scan@build-sign-scan/v2
with:
context_path: ${{ env.CONTEXT_PATH }}
docker_repo: ${{ env.DOCKER_REPO }}
docker_tag: ${{ env.DOCKER_TAG }}
docker_username: ${{ secrets.ARTIFACTORY_ALGOL60_USERNAME }}
docker_password: ${{ secrets.ARTIFACTORY_ALGOL60_TOKEN }}
sign: ${{ github.ref == 'refs/heads/main' }}
cosign_gcp_workload_identity_provider: ${{ secrets.COSIGN_GCP_WORKLOAD_IDENTITY_PROVIDER_RSA }}
cosign_gcp_service_account: ${{ secrets.COSIGN_GCP_SERVICE_ACCOUNT_RSA }}
cosign_key: ${{ secrets.COSIGN_KEY_RSA }}
snyk_token: ${{ secrets.SNYK_TOKEN }}
fail_on_snyk_errors: false
2 changes: 1 addition & 1 deletion images.mk
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ QUAYIMAGES:=quay.io/cilium/cilium:v1.12.3
QUAYIMAGES:=quay.io/cilium/hubble-relay:v1.11.6
QUAYIMAGES:=quay.io/cilium/hubble-relay:v1.12.0
QUAYIMAGES:=quay.io/cilium/hubble-relay:v1.12.2
QUAYIMAGES:=quay.io/cilium/json-mock:v1.3.0
QUAYIMAGES:=quay.io/cilium/json-mock:v1.3.8
QUAYIMAGES:=quay.io/cilium/operator-generic:v1.11.6
QUAYIMAGES:=quay.io/cilium/operator-generic:v1.12.0
QUAYIMAGES:=quay.io/cilium/operator-generic:v1.12.2
Expand Down
27 changes: 27 additions & 0 deletions quay.io/cilium/json-mock/v1.3.8/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#
# MIT License
#
# (C) Copyright 2024 Hewlett Packard Enterprise Development LP
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
# OTHER DEALINGS IN THE SOFTWARE.
#
FROM quay.io/cilium/json-mock:v1.3.8

RUN apt-get -y update && apt-get upgrade -y && apt full-upgrade -y\
&& rm -rf /var/lib/apt/lists/

0 comments on commit 2c8e413

Please sign in to comment.