-
Notifications
You must be signed in to change notification settings - Fork 270
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cleaned up jenkins agents that are dependant on other bases
- Loading branch information
1 parent
b65ea74
commit 64f44a0
Showing
58 changed files
with
994 additions
and
146 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: jenkins-agent-ansible-publish | ||
on: | ||
push: | ||
paths: | ||
- jenkins-agents/jenkins-agent-ansible/version.json | ||
- .github/workflows/jenkins-agent-ansible-publish.yaml | ||
|
||
# Declare default permissions as read only. | ||
permissions: read-all | ||
|
||
jobs: | ||
build: | ||
env: | ||
context: jenkins-agents/jenkins-agent-ansible | ||
image_name: jenkins-agent-ansible | ||
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@b4dc19b4ba891854660ab1f88a097d45aa158f76 # 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@9986a6552bc4571882a4a67e016b17361412b4df # 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 }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
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@b4dc19b4ba891854660ab1f88a097d45aa158f76 # 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@9986a6552bc4571882a4a67e016b17361412b4df # 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 }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: jenkins-agent-argocd-publish | ||
on: | ||
push: | ||
paths: | ||
- jenkins-agents/jenkins-agent-argocd/version.json | ||
- .github/workflows/jenkins-agent-argocd-publish.yaml | ||
|
||
# Declare default permissions as read only. | ||
permissions: read-all | ||
|
||
jobs: | ||
build: | ||
env: | ||
context: jenkins-agents/jenkins-agent-argocd | ||
image_name: jenkins-agent-argocd | ||
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@b4dc19b4ba891854660ab1f88a097d45aa158f76 # 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@9986a6552bc4571882a4a67e016b17361412b4df # 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 }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: jenkins-agent-conftest-publish | ||
on: | ||
push: | ||
paths: | ||
- jenkins-agents/jenkins-agent-conftest/version.json | ||
- .github/workflows/jenkins-agent-conftest-publish.yaml | ||
|
||
# Declare default permissions as read only. | ||
permissions: read-all | ||
|
||
jobs: | ||
build: | ||
env: | ||
context: jenkins-agents/jenkins-agent-conftest | ||
image_name: jenkins-agent-conftest | ||
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@b4dc19b4ba891854660ab1f88a097d45aa158f76 # 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@9986a6552bc4571882a4a67e016b17361412b4df # 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 }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: jenkins-agent-cosign-publish | ||
on: | ||
push: | ||
paths: | ||
- jenkins-agents/jenkins-agent-cosign/version.json | ||
- .github/workflows/jenkins-agent-cosign-publish.yaml | ||
|
||
# Declare default permissions as read only. | ||
permissions: read-all | ||
|
||
jobs: | ||
build: | ||
env: | ||
context: jenkins-agents/jenkins-agent-cosign | ||
image_name: jenkins-agent-cosign | ||
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@b4dc19b4ba891854660ab1f88a097d45aa158f76 # 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@9986a6552bc4571882a4a67e016b17361412b4df # 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 }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: jenkins-agent-erlang-publish | ||
on: | ||
push: | ||
paths: | ||
- jenkins-agents/jenkins-agent-erlang/version.json | ||
- .github/workflows/jenkins-agent-erlang-publish.yaml | ||
|
||
# Declare default permissions as read only. | ||
permissions: read-all | ||
|
||
jobs: | ||
build: | ||
env: | ||
context: jenkins-agents/jenkins-agent-erlang | ||
image_name: jenkins-agent-erlang | ||
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@b4dc19b4ba891854660ab1f88a097d45aa158f76 # 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@9986a6552bc4571882a4a67e016b17361412b4df # 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 }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.