From 56b089327c6634748bdbd159e56200d598cbe8ea Mon Sep 17 00:00:00 2001 From: Gareth Healy Date: Mon, 8 Apr 2024 11:20:54 +0100 Subject: [PATCH] deprecated aranchi (#770) --- .../workflows/jenkins-agent-arachni-pr.yaml | 45 ------------------ .../jenkins-agent-arachni-publish.yaml | 46 ------------------- renovate.json | 1 + 3 files changed, 1 insertion(+), 91 deletions(-) delete mode 100644 .github/workflows/jenkins-agent-arachni-pr.yaml delete mode 100644 .github/workflows/jenkins-agent-arachni-publish.yaml diff --git a/.github/workflows/jenkins-agent-arachni-pr.yaml b/.github/workflows/jenkins-agent-arachni-pr.yaml deleted file mode 100644 index 0ad795a86..000000000 --- a/.github/workflows/jenkins-agent-arachni-pr.yaml +++ /dev/null @@ -1,45 +0,0 @@ ---- -name: jenkins-agent-arachni-pr -on: - pull_request: - paths: - - jenkins-agents/jenkins-agent-arachni/** - - .github/workflows/jenkins-agent-arachni-pr.yaml - -# Declare default permissions as read only. -permissions: read-all - -jobs: - build: - env: - context: jenkins-agents/jenkins-agent-arachni - image_name: jenkins-agent-arachni - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 - - - uses: hadolint/hadolint-action@54c9adbab1582c2ef04b2016b760714a4bfde3cf # v3.1.0 - with: - dockerfile: ${{ env.context }}/Dockerfile - - - name: Log into ghcr.io - uses: redhat-actions/podman-login@4934294ad0449894bcd1e9f191899d7292469603 # v1 - with: - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} - registry: ghcr.io - - - name: Build image - uses: redhat-actions/buildah-build@7a95fa7ee0f02d552a32753e7414641a04307056 # v2 - with: - context: ${{ env.context }} - dockerfiles: | - ./${{ env.context }}/Dockerfile - image: ${{ env.image_name }} - oci: true - tags: "latest" - - - name: Test image - run: | - echo "Testing ${{ env.image_name }}" - ./_test/kind/setup.sh ${{ env.image_name }} diff --git a/.github/workflows/jenkins-agent-arachni-publish.yaml b/.github/workflows/jenkins-agent-arachni-publish.yaml deleted file mode 100644 index c2c5154bc..000000000 --- a/.github/workflows/jenkins-agent-arachni-publish.yaml +++ /dev/null @@ -1,46 +0,0 @@ -name: jenkins-agent-arachni-publish -on: - push: - paths: - - jenkins-agents/jenkins-agent-arachni/version.json - - .github/workflows/jenkins-agent-arachni-publish.yaml - -# Declare default permissions as read only. -permissions: read-all - -jobs: - build: - env: - context: jenkins-agents/jenkins-agent-arachni - image_name: jenkins-agent-arachni - runs-on: ubuntu-latest - permissions: - packages: write - steps: - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 - - - name: Get image tags - id: image_tags - uses: redhat-cop/github-actions/get-image-version@11f2ce27643eb7c76ac3623cb99d9b08be30d762 # v4 - with: - IMAGE_CONTEXT_DIR: ${{ env.context }} - - - name: Build image - id: build_image - uses: redhat-actions/buildah-build@7a95fa7ee0f02d552a32753e7414641a04307056 # v2 - with: - context: ${{ env.context }} - dockerfiles: | - ./${{ env.context }}/Dockerfile - image: ${{ env.image_name }} - tags: "${{ steps.image_tags.outputs.IMAGE_TAGS }}" - - - name: Push to ghcr.io - uses: redhat-actions/push-to-registry@5ed88d269cf581ea9ef6dd6806d01562096bee9c # v2 - if: ${{ !contains(github.ref, 'renovate') }} - with: - image: ${{ steps.build_image.outputs.image }} - registry: ghcr.io/${{ github.repository }} - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} - tags: ${{ steps.build_image.outputs.tags }} \ No newline at end of file diff --git a/renovate.json b/renovate.json index 8f79093ba..242436559 100644 --- a/renovate.json +++ b/renovate.json @@ -18,6 +18,7 @@ "**/gogs/**", "**/hoverfly/**", "**/hygieia/**", + "**/jenkins-agents/jenkins-agent-arachni/**", "**/jenkins-masters/**", "**/mongodb/**", "**/ocp4-logging/**",