Skip to content

Commit

Permalink
bumped base images and renovate binaries (#646)
Browse files Browse the repository at this point in the history
  • Loading branch information
garethahealy authored Dec 13, 2023
1 parent 9e1ea53 commit 1351aae
Show file tree
Hide file tree
Showing 32 changed files with 162 additions and 151 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-s2i-python-kopf-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ jobs:
env:
CONTEXT_DIR: build-s2i-python-kopf
IMAGE_NAME: python-kopf-s2i
REGISTRY: ${{ secrets.REGISTRY_URI }}
runs-on: ubuntu-latest
permissions:
packages: write
Expand All @@ -39,7 +38,7 @@ jobs:

- name: Push to ghcr.io
uses: redhat-actions/push-to-registry@9986a6552bc4571882a4a67e016b17361412b4df # v2
if: ${{ !contains(github.head_ref, 'renovate') }}
if: ${{ !contains(github.ref, 'renovate') }}
with:
image: ${{ steps.build_image.outputs.image }}
registry: ghcr.io/${{ github.repository }}
Expand All @@ -48,8 +47,9 @@ jobs:
tags: ${{ steps.build_image.outputs.tags }}

- name: Push to Quay
if: ${{ env.REGISTRY }} != "" && ${{ !contains(github.head_ref, 'renovate') }}
id: push_to_quay
env:
REGISTRY_URI: ${{ secrets.REGISTRY_URI }}
if: ${{ env.REGISTRY_URI != '' && !contains(github.ref, 'renovate') }}
uses: redhat-actions/push-to-registry@9986a6552bc4571882a4a67e016b17361412b4df # v2
with:
image: ${{ steps.build_image.outputs.image }}
Expand Down
35 changes: 0 additions & 35 deletions .github/workflows/jenkins-agent-ci-pr.yaml

This file was deleted.

8 changes: 4 additions & 4 deletions .github/workflows/jenkins-agent-image-mgmt-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ jobs:
env:
context: jenkins-agents/jenkins-agent-image-mgmt
image_name: jenkins-agent-image-mgmt
REGISTRY: ${{ secrets.REGISTRY_URI }}
runs-on: ubuntu-latest
permissions:
packages: write
Expand All @@ -38,7 +37,7 @@ jobs:

- name: Push to ghcr.io
uses: redhat-actions/push-to-registry@9986a6552bc4571882a4a67e016b17361412b4df # v2
if: ${{ !contains(github.head_ref, 'renovate') }}
if: ${{ !contains(github.ref, 'renovate') }}
with:
image: ${{ steps.build_image.outputs.image }}
registry: ghcr.io/${{ github.repository }}
Expand All @@ -47,8 +46,9 @@ jobs:
tags: ${{ steps.build_image.outputs.tags }}

- name: Push to Quay
if: ${{ env.REGISTRY }} != "" && ${{ !contains(github.head_ref, 'renovate') }}
id: push_to_quay
env:
REGISTRY_URI: ${{ secrets.REGISTRY_URI }}
if: ${{ env.REGISTRY_URI != '' && !contains(github.ref, 'renovate') }}
uses: redhat-actions/push-to-registry@9986a6552bc4571882a4a67e016b17361412b4df # v2
with:
image: ${{ steps.build_image.outputs.image }}
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/jenkins-agent-python-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,18 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
with:
fetch-depth: 0

- name: Check if version.json has been bumped
id: changes
run: echo "changed=$(git --no-pager diff --name-only origin/master HEAD | grep "${context}/version.json" | wc -l)" >> $GITHUB_OUTPUT

- name: Fail if version.json not bumped
if: steps.changes.outputs.changed == 0
run: |
echo "${context}/version.json has not changed. Publishing the same tag removes the SHA, which causes issues. Failing."
exit 1
- name: Check and verify version.json
id: check_version
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/jenkins-agent-python-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ jobs:
env:
context: jenkins-agents/jenkins-agent-python
image_name: jenkins-agent-python
REGISTRY: ${{ secrets.REGISTRY_URI }}
runs-on: ubuntu-latest
permissions:
packages: write
Expand All @@ -38,7 +37,7 @@ jobs:

- name: Push to ghcr.io
uses: redhat-actions/push-to-registry@9986a6552bc4571882a4a67e016b17361412b4df # v2
if: ${{ !contains(github.head_ref, 'renovate') }}
if: ${{ !contains(github.ref, 'renovate') }}
with:
image: ${{ steps.build_image.outputs.image }}
registry: ghcr.io/${{ github.repository }}
Expand All @@ -47,8 +46,9 @@ jobs:
tags: ${{ steps.build_image.outputs.tags }}

- name: Push to Quay
if: ${{ env.REGISTRY }} != "" && ${{ !contains(github.head_ref, 'renovate') }}
id: push_to_quay
env:
REGISTRY_URI: ${{ secrets.REGISTRY_URI }}
if: ${{ env.REGISTRY_URI != '' && !contains(github.ref, 'renovate') }}
uses: redhat-actions/push-to-registry@9986a6552bc4571882a4a67e016b17361412b4df # v2
with:
image: ${{ steps.build_image.outputs.image }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/tekton-task-images-conftest-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ jobs:
env:
context: tekton-task-images/conftest
image_name: tekton-task-conftest
REGISTRY: ${{ secrets.REGISTRY_URI }}
runs-on: ubuntu-latest
permissions:
packages: write
Expand Down Expand Up @@ -43,7 +42,7 @@ jobs:

- name: Push to ghcr.io
uses: redhat-actions/push-to-registry@9986a6552bc4571882a4a67e016b17361412b4df # v2
if: ${{ !contains(github.head_ref, 'renovate') }}
if: ${{ !contains(github.ref, 'renovate') }}
with:
image: ${{ steps.build_image.outputs.image }}
registry: ghcr.io/${{ github.repository }}
Expand All @@ -52,8 +51,9 @@ jobs:
tags: ${{ steps.build_image.outputs.tags }}

- name: Push to Quay
if: ${{ env.REGISTRY }} != "" && ${{ !contains(github.head_ref, 'renovate') }}
id: push_to_quay
env:
REGISTRY_URI: ${{ secrets.REGISTRY_URI }}
if: ${{ env.REGISTRY_URI != '' && !contains(github.ref, 'renovate') }}
uses: redhat-actions/push-to-registry@9986a6552bc4571882a4a67e016b17361412b4df # v2
with:
image: ${{ steps.build_image.outputs.image }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/tekton-task-images-helm-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ jobs:
env:
context: tekton-task-images/helm
image_name: tekton-task-helm
REGISTRY: ${{ secrets.REGISTRY_URI }}
runs-on: ubuntu-latest
permissions:
packages: write
Expand Down Expand Up @@ -43,7 +42,7 @@ jobs:

- name: Push to ghcr.io
uses: redhat-actions/push-to-registry@9986a6552bc4571882a4a67e016b17361412b4df # v2
if: ${{ !contains(github.head_ref, 'renovate') }}
if: ${{ !contains(github.ref, 'renovate') }}
with:
image: ${{ steps.build_image.outputs.image }}
registry: ghcr.io/${{ github.repository }}
Expand All @@ -52,8 +51,9 @@ jobs:
tags: ${{ steps.build_image.outputs.tags }}

- name: Push to Quay
if: ${{ env.REGISTRY }} != "" && ${{ !contains(github.head_ref, 'renovate') }}
id: push_to_quay
env:
REGISTRY_URI: ${{ secrets.REGISTRY_URI }}
if: ${{ env.REGISTRY_URI != '' && !contains(github.ref, 'renovate') }}
uses: redhat-actions/push-to-registry@9986a6552bc4571882a4a67e016b17361412b4df # v2
with:
image: ${{ steps.build_image.outputs.image }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/toolbox-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ jobs:
env:
context: tool-box
image_name: toolbox
REGISTRY: ${{ secrets.REGISTRY_URI }}
runs-on: ubuntu-latest
permissions:
packages: write
Expand All @@ -38,7 +37,7 @@ jobs:

- name: Push to ghcr.io
uses: redhat-actions/push-to-registry@9986a6552bc4571882a4a67e016b17361412b4df # v2
if: ${{ !contains(github.head_ref, 'renovate') }}
if: ${{ !contains(github.ref, 'renovate') }}
with:
image: ${{ steps.build_image.outputs.image }}
registry: ghcr.io/${{ github.repository }}
Expand All @@ -47,8 +46,9 @@ jobs:
tags: ${{ steps.build_image.outputs.tags }}

- name: Push to Quay
if: ${{ env.REGISTRY }} != "" && ${{ !contains(github.head_ref, 'renovate') }}
id: push_to_quay
env:
REGISTRY_URI: ${{ secrets.REGISTRY_URI }}
if: ${{ env.REGISTRY_URI != '' && !contains(github.ref, 'renovate') }}
uses: redhat-actions/push-to-registry@9986a6552bc4571882a4a67e016b17361412b4df # v2
with:
image: ${{ steps.build_image.outputs.image }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ubi8-asciidoctor-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ jobs:
env:
context: utilities/ubi8-asciidoctor
image_name: ubi8-asciidoctor
REGISTRY: ${{ secrets.REGISTRY_URI }}
runs-on: ubuntu-latest
permissions:
packages: write
Expand Down Expand Up @@ -46,7 +45,7 @@ jobs:

- name: Push to ghcr.io
uses: redhat-actions/push-to-registry@9986a6552bc4571882a4a67e016b17361412b4df # v2
if: ${{ !contains(github.head_ref, 'renovate') }}
if: ${{ !contains(github.ref, 'renovate') }}
with:
image: ${{ steps.build_image.outputs.image }}
registry: ghcr.io/${{ github.repository }}
Expand All @@ -55,8 +54,9 @@ jobs:
tags: ${{ steps.build_image.outputs.tags }}

- name: Push to Quay
if: ${{ env.REGISTRY }} != "" && ${{ !contains(github.head_ref, 'renovate') }}
id: push_to_quay
env:
REGISTRY_URI: ${{ secrets.REGISTRY_URI }}
if: ${{ env.REGISTRY_URI != '' && !contains(github.ref, 'renovate') }}
uses: redhat-actions/push-to-registry@9986a6552bc4571882a4a67e016b17361412b4df # v2
with:
image: ${{ steps.build_image.outputs.image }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ubi8-bats-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ jobs:
env:
context: utilities/ubi8-bats
image_name: ubi8-bats
REGISTRY: ${{ secrets.REGISTRY_URI }}
runs-on: ubuntu-latest
permissions:
packages: write
Expand All @@ -38,7 +37,7 @@ jobs:

- name: Push to ghcr.io
uses: redhat-actions/push-to-registry@9986a6552bc4571882a4a67e016b17361412b4df # v2
if: ${{ !contains(github.head_ref, 'renovate') }}
if: ${{ !contains(github.ref, 'renovate') }}
with:
image: ${{ steps.build_image.outputs.image }}
registry: ghcr.io/${{ github.repository }}
Expand All @@ -47,8 +46,9 @@ jobs:
tags: ${{ steps.build_image.outputs.tags }}

- name: Push to Quay
if: ${{ env.REGISTRY }} != "" && ${{ !contains(github.head_ref, 'renovate') }}
id: push_to_quay
env:
REGISTRY_URI: ${{ secrets.REGISTRY_URI }}
if: ${{ env.REGISTRY_URI != '' && !contains(github.ref, 'renovate') }}
uses: redhat-actions/push-to-registry@9986a6552bc4571882a4a67e016b17361412b4df # v2
with:
image: ${{ steps.build_image.outputs.image }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ubi8-git-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ jobs:
env:
context: utilities/ubi8-git
image_name: ubi8-git
REGISTRY: ${{ secrets.REGISTRY_URI }}
runs-on: ubuntu-latest
permissions:
packages: write
Expand All @@ -38,7 +37,7 @@ jobs:

- name: Push to ghcr.io
uses: redhat-actions/push-to-registry@9986a6552bc4571882a4a67e016b17361412b4df # v2
if: ${{ !contains(github.head_ref, 'renovate') }}
if: ${{ !contains(github.ref, 'renovate') }}
with:
image: ${{ steps.build_image.outputs.image }}
registry: ghcr.io/${{ github.repository }}
Expand All @@ -47,8 +46,9 @@ jobs:
tags: ${{ steps.build_image.outputs.tags }}

- name: Push to Quay
if: ${{ env.REGISTRY }} != "" && ${{ !contains(github.head_ref, 'renovate') }}
id: push_to_quay
env:
REGISTRY_URI: ${{ secrets.REGISTRY_URI }}
if: ${{ env.REGISTRY_URI != '' && !contains(github.ref, 'renovate') }}
uses: redhat-actions/push-to-registry@9986a6552bc4571882a4a67e016b17361412b4df # v2
with:
image: ${{ steps.build_image.outputs.image }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ubi8-google-api-python-client-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ jobs:
env:
context: utilities/ubi8-google-api-python-client
image_name: ubi8-google-api-python-client
REGISTRY: ${{ secrets.REGISTRY_URI }}
runs-on: ubuntu-latest
permissions:
packages: write
Expand All @@ -38,7 +37,7 @@ jobs:

- name: Push to ghcr.io
uses: redhat-actions/push-to-registry@9986a6552bc4571882a4a67e016b17361412b4df # v2
if: ${{ !contains(github.head_ref, 'renovate') }}
if: ${{ !contains(github.ref, 'renovate') }}
with:
image: ${{ steps.build_image.outputs.image }}
registry: ghcr.io/${{ github.repository }}
Expand All @@ -47,8 +46,9 @@ jobs:
tags: ${{ steps.build_image.outputs.tags }}

- name: Push to Quay
if: ${{ env.REGISTRY }} != "" && ${{ !contains(github.head_ref, 'renovate') }}
id: push_to_quay
env:
REGISTRY_URI: ${{ secrets.REGISTRY_URI }}
if: ${{ env.REGISTRY_URI != '' && !contains(github.ref, 'renovate') }}
uses: redhat-actions/push-to-registry@9986a6552bc4571882a4a67e016b17361412b4df # v2
with:
image: ${{ steps.build_image.outputs.image }}
Expand Down
1 change: 1 addition & 0 deletions _test/kind/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
set -euo pipefail

AGENT=$1
## todo: renovate config for below
JENKINS_CHART_VERSION="4.9.1"
AGENT_PATH="jenkins-agents/${AGENT}"
SCRIPT_DIR=$(dirname -- "$(readlink -f "${BASH_SOURCE[0]}" || realpath "${BASH_SOURCE[0]}")")
Expand Down
4 changes: 3 additions & 1 deletion jenkins-agents/jenkins-agent-ansible/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
FROM quay.io/openshift/origin-jenkins-agent-base:4.9

# renovate: datasource=pypi depName=ansible
ARG ANSIBLE_VERSION=2.9.13

LABEL \
release="1" \
version="4.8" \
version="4.14" \
architecture="x86_64" \
io.k8s.display-name="Jenkins Agent Ansible" \
name="openshift/origin-jenkins-agent-ansible-ubi8" \
Expand Down
8 changes: 4 additions & 4 deletions jenkins-agents/jenkins-agent-arachni/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
FROM quay.io/openshift/origin-jenkins-agent-base:4.9
FROM quay.io/openshift/origin-jenkins-agent-base:4.14

ARG VERSION=1.5.1
ARG ARACHNI_VERSION=1.5.1
ARG WEB_VERSION=0.5.12

WORKDIR /arachni

RUN curl -sLo- https://github.com/Arachni/arachni/releases/download/v${VERSION}/arachni-${VERSION}-${WEB_VERSION}-linux-x86_64.tar.gz | tar xvz -C /arachni --strip-components=1 && \
RUN curl -sLo- https://github.com/Arachni/arachni/releases/download/v${ARACHNI_VERSION}/arachni-${ARACHNI_VERSION}-${WEB_VERSION}-linux-x86_64.tar.gz | tar xvz -C /arachni --strip-components=1 && \
chown -R root:root /arachni && \
chmod -R 775 /arachni

COPY reporters ./system/gems/gems/arachni-${VERSION}/components/reporters
COPY reporters ./system/gems/gems/arachni-${ARACHNI_VERSION}/components/reporters

USER 1001
Loading

0 comments on commit 1351aae

Please sign in to comment.