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

few different fixes to make things green again #93

Merged
merged 1 commit into from
Nov 17, 2023
Merged
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
9 changes: 3 additions & 6 deletions .github/workflows/confbatstest-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,9 @@ jobs:

- name: Get image tags
id: image_tags
run: |
echo -n ::set-output name=IMAGE_TAGS::

TAGS=('latest')
TAGS+=($(grep "LABEL version" confbatstest/Dockerfile_build | cut -d '"' -f 2))
echo "${TAGS[*]}"
uses: redhat-cop/github-actions/get-image-version@main
with:
IMAGE_CONTEXT_DIR: ${{ env.context }}

- uses: hadolint/hadolint-action@54c9adbab1582c2ef04b2016b760714a4bfde3cf # v3.1.0
with:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/confbatstest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ on:
paths:
- .github/workflows/confbatstest.yaml
- confbatstest/**
schedule:
- cron: "0 0 1 * *"

jobs:
conftest:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/disconnected-csv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ on:
paths:
- disconnected-csv/**
- .github/workflows/disconnected-csv.yaml
schedule:
- cron: "0 0 1 * *"

jobs:
disconnected-csv:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/get-image-version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ on:
paths:
- .github/workflows/get-image-version.yaml
- get-image-version/**
schedule:
- cron: "0 0 1 * *"

jobs:
get-image-version:
Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/github-dispatches-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,9 @@ jobs:

- name: Get image tags
id: image_tags
run: |
echo -n ::set-output name=IMAGE_TAGS::

TAGS=('latest')
TAGS+=($(grep "LABEL version" github-dispatches/Dockerfile_build | cut -d '"' -f 2))
echo "${TAGS[*]}"
uses: redhat-cop/github-actions/get-image-version@main
with:
IMAGE_CONTEXT_DIR: ${{ env.context }}

- uses: hadolint/hadolint-action@54c9adbab1582c2ef04b2016b760714a4bfde3cf # v3.1.0
with:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/github-dispatches.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ on:
paths:
- .github/workflows/github-dispatches.yaml
- github-dispatches/**
schedule:
- cron: "0 0 1 * *"

jobs:
github-dispatches:
Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/kyverno-cli-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,9 @@ jobs:

- name: Get image tags
id: image_tags
run: |
echo -n ::set-output name=IMAGE_TAGS::

TAGS=('latest')
TAGS+=($(grep "LABEL version" kyverno-cli/Dockerfile_build | cut -d '"' -f 2))
echo "${TAGS[*]}"
uses: redhat-cop/github-actions/get-image-version@main
with:
IMAGE_CONTEXT_DIR: ${{ env.context }}

- uses: hadolint/hadolint-action@54c9adbab1582c2ef04b2016b760714a4bfde3cf # v3.1.0
with:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/kyverno-cli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ on:
paths:
- .github/workflows/kyverno-cli.yaml
- kyverno-cli/**
schedule:
- cron: "0 0 1 * *"

jobs:
kyverno-cli:
Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/redhat-csp-download-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,9 @@ jobs:

- name: Get image tags
id: image_tags
run: |
echo -n ::set-output name=IMAGE_TAGS::

TAGS=('latest')
TAGS+=($(grep "LABEL version" redhat-csp-download/Dockerfile_build | cut -d '"' -f 2))
echo "${TAGS[*]}"
uses: redhat-cop/github-actions/get-image-version@main
with:
IMAGE_CONTEXT_DIR: ${{ env.context }}

- uses: hadolint/hadolint-action@54c9adbab1582c2ef04b2016b760714a4bfde3cf # v3.1.0
with:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/redhat-csp-download.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ on:
paths:
- .github/workflows/redhat-csp-download.yaml
- redhat-csp-download/**
schedule:
- cron: "0 0 1 * *"

jobs:
redhat-csp-download:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/s2i.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ on:
paths:
- .github/workflows/s2i.yaml
- s2i/**
schedule:
- cron: "0 0 1 * *"

jobs:
s2i:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/set-helm-version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ on:
paths:
- .github/workflows/set-helm-version.yaml
- set-helm-version/**
schedule:
- cron: "0 0 1 * *"

jobs:
set-helm-version:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/ssh-agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ on:
paths:
- .github/workflows/ssh-agent.yaml
- ssh-agent/**
schedule:
- cron: "0 0 1 * *"

jobs:
ssh-agent:
Expand Down
8 changes: 0 additions & 8 deletions confbatstest/Dockerfile_build
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
# Builder image for go
FROM registry.access.redhat.com/ubi9/go-toolset:1.20.10-2.1699551725@sha256:310fbbc9b2a6af87d730e244d5b20a1836df3ae295c290ffec2d4ef6a53a33f8 AS go-builder

# go1.19 not released yet - so need to manaully upgrade
USER root
RUN curl -L -o /tmp/go1.19.linux-amd64.tar.gz https://go.dev/dl/go1.19.linux-amd64.tar.gz && \
tar -xzf /tmp/go1.19.linux-amd64.tar.gz && \
mv go /usr/local && \
PATH="/usr/local/go/bin:$PATH" && \
go version

RUN PATH="/usr/local/go/bin:$PATH" GOBIN=/tmp/go-bin go install github.com/plexsystems/konstraint@latest && \
/tmp/go-bin/konstraint --help

Expand Down
3 changes: 3 additions & 0 deletions confbatstest/version.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"version": "1.8.0"
}
3 changes: 3 additions & 0 deletions github-dispatches/version.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"version": "1.2.0"
}
3 changes: 3 additions & 0 deletions kyverno-cli/version.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"version": "1.1.0"
}
3 changes: 3 additions & 0 deletions redhat-csp-download/version.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"version": "1.3.0"
}