Skip to content

Commit

Permalink
reverted changes that broke ci and added safty check for python
Browse files Browse the repository at this point in the history
  • Loading branch information
garethahealy committed Dec 13, 2023
1 parent b35b7cc commit 8e6b84c
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/jenkins-agent-python-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,16 @@ jobs:
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4

- name: Check if version.json has been bumped
id: changes
run: echo "changed=$(git status --porcelain ${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
uses: redhat-cop/github-actions/get-image-version@11f2ce27643eb7c76ac3623cb99d9b08be30d762 # v4
Expand Down
2 changes: 1 addition & 1 deletion jenkins-agents/jenkins-agent-gradle/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM quay.io/openshift/origin-jenkins-agent-base:4.14
FROM quay.io/openshift/origin-jenkins-agent-base:4.9

ENV GRADLE_VERSION=6.3
ENV GRADLE_USER_HOME=/home/jenkins/.gradle
Expand Down
2 changes: 1 addition & 1 deletion jenkins-agents/jenkins-agent-python/version.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"version":"v1.1.0"}
{"version":"v1.2.0"}
2 changes: 1 addition & 1 deletion jenkins-agents/jenkins-agent-ruby/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM quay.io/openshift/origin-jenkins-agent-base:4.14
FROM quay.io/openshift/origin-jenkins-agent-base:4.9

ARG RUBY_VERSION=3.1
# renovate: datasource=repology depName=homebrew/openshift-cli
Expand Down

0 comments on commit 8e6b84c

Please sign in to comment.