Skip to content
Open
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions incubating/bump-build-number/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM quay.io/codefresh/cli:latest
FROM quay.io/codefresh/cli:1.3.5
WORKDIR /
COPY . .
ENTRYPOINT ["/entrypoint.sh"]
ENTRYPOINT ["/entrypoint.sh"]
10 changes: 5 additions & 5 deletions incubating/bump-build-number/step.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ kind: step-type
version: '1.0'
metadata:
name: bump-build-number
version: 1.0.5
version: 1.0.6
title: Bump Build Number
isPublic: true
description: Bump the build number
Expand All @@ -26,7 +26,7 @@ metadata:
https://raw.githubusercontent.com/codefresh-io/steps/master/incubating/bump-build-number/icon.png
examples:
- description: Default annotation name
workflow:
workflow:
BumpBuildNumber:
title: Bump default build_number annotation
type: bump-build-number
Expand All @@ -38,7 +38,7 @@ metadata:
arguments:
ANNOTATION_NAME: ${{CF_BRANCH}}_build_number
- description: Retrieve current value without bumping
workflow:
workflow:
BumpBuildNumber:
title: Bump default build_number annotation
type: bump-build-number
Expand Down Expand Up @@ -67,7 +67,7 @@ spec:
steps:
main:
name: bump-build-number
image: quay.io/codefreshplugins/bump-build-number:1.0.5
image: quay.io/codefreshplugins/bump-build-number:1.0.6
environment:
- 'ANNOTATION_NAME=${{ANNOTATION_NAME}}'
- 'RETRIEVE_CURRENT_VALUE_ONLY=${{RETRIEVE_CURRENT_VALUE_ONLY}}'
- 'RETRIEVE_CURRENT_VALUE_ONLY=${{RETRIEVE_CURRENT_VALUE_ONLY}}'
2 changes: 1 addition & 1 deletion incubating/git-commit/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Moving to ubuntu instead of debian to solve high vulnerabilities
FROM ubuntu:jammy
FROM ubuntu:noble

RUN apt-get update -y && \
apt-get upgrade -y && \
Expand Down
8 changes: 4 additions & 4 deletions incubating/git-commit/step.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ kind: step-type
version: '1.0'
metadata:
name: git-commit
version: 0.2.0
version: 0.2.1
isPublic: true
description: Commit and push changes to repository
icon:
Expand Down Expand Up @@ -144,7 +144,7 @@ spec:
steps:
export_access_token:
title: "Export git access token"
image: quay.io/codefresh/cli:0.87.2
image: quay.io/codefresh/cli:1.3.5
environment:
- GIT_INTEGRATION_NAME=${{git}}
- ALLOW_EMPTY_BOOL=${{allow_empty}}
Expand All @@ -153,7 +153,7 @@ spec:
- export GIT_ACCESS_TOKEN=$(codefresh get context $GIT_INTEGRATION_NAME --decrypt --prepare -o yaml | yq -r -c .spec.data.auth.password)
- echo GIT_ACCESS_TOKEN=$GIT_ACCESS_TOKEN >> /meta/env_vars_to_export
- export GIT_ACCESS_TOKEN_USER=$(codefresh get context $GIT_INTEGRATION_NAME --decrypt --prepare -o yaml | yq -r -c .spec.data.auth.username)
- export PRIVATE_KEY=$(codefresh get context $GIT_INTEGRATION_NAME --decrypt --prepare -o yaml | yq .spec.data.auth.sshPrivateKey)
- export PRIVATE_KEY=$(codefresh get context $GIT_INTEGRATION_NAME --decrypt --prepare -o yaml | yq -o=json .spec.data.auth.sshPrivateKey)
- echo PRIVATE_KEY=$PRIVATE_KEY >> /meta/env_vars_to_export
# For Bitbucket Cloud integration with API Token, replace username by 'x-bitbucket-api-token-auth'
- export GIT_INTEGRATION_TYPE=$(codefresh get context "$GIT_INTEGRATION_NAME" --decrypt --prepare -o yaml | yq -r -c .spec.type)
Expand All @@ -168,7 +168,7 @@ spec:

commit_and_push:
title: "Commit and push"
image: codefreshplugins/git-commit:0.1.4
image: quay.io/codefreshplugins/git-commit:0.1.5
shell: bash
environment:
- REPO=${{repo}}
Expand Down
11 changes: 5 additions & 6 deletions incubating/msteams-notifier/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
FROM python:3.14.6-alpine3.23
FROM python:3.14.10-alpine3.24

ENV LANG C.UTF-8

ARG PYMSTEAMS_VERSION=0.1.9

RUN apk update && \
apk upgrade && \
apk add --no-cache \
git \
nodejs && \
pip install --no-cache-dir pymsteams==$PYMSTEAMS_VERSION
apk upgrade --no-cache && \
pip install --no-cache-dir \
pymsteams==$PYMSTEAMS_VERSION \
"certifi>=2026.10.19"

# pymsteams-workflow is vendored locally (see script/pymsteams_workflow.py) because
# the PyPI package installs under the module name "pymsteams" and collides with the
Expand Down
4 changes: 2 additions & 2 deletions incubating/msteams-notifier/step.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ kind: step-type
version: '1.0'
metadata:
name: msteams-notifier
version: 1.1.0
version: 1.1.1
title: Send message to Microsoft teams
isPublic: true
description: Send a notification to a Microsoft Teams channel.
Expand Down Expand Up @@ -113,7 +113,7 @@ spec:
stepsTemplate: |-
main:
name: msteams-notifier
image: quay.io/codefreshplugins/cfstep-msteams-notifier:1.1.0
image: quay.io/codefreshplugins/cfstep-msteams-notifier:1.1.1
environment:
[[ range $key, $val := .Arguments ]]
- '[[ $key ]]=[[ $val ]]'
Expand Down
28 changes: 13 additions & 15 deletions incubating/run-jenkins-jobs/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,29 +1,27 @@
# ----- Go Builder ------
#
FROM golang:1.9 AS go
FROM golang:1.26.11-alpine3.24 AS go

# set working directory
RUN mkdir -p /go/src/github.com/codefresh-io/cf-run-jenkins-job-plugin
WORKDIR /go/src/github.com/codefresh-io/cf-run-jenkins-job-plugin
WORKDIR /src

# download modules first to cache them between builds
COPY go.mod go.sum ./
RUN go mod download

# copy sources
COPY . .
COPY cfjenkins.go ./

RUN CGO_ENABLED=0 go build -o /cfjenkins cfjenkins.go
RUN CGO_ENABLED=0 go build -trimpath -ldflags="-s -w" -o /cfjenkins .

#
# ------ Release ------
#
FROM alpine:3.6

COPY --from=go /cfjenkins /usr/local/bin/

# ENV JENKINS_URL ${JENKINS_HOST}
# ENV JENKINS_USER ${JENKINS_USER}
# ENV JENKINS_TOKEN ${JENKINS_TOKEN}
# ENV JENKINS_JOB_NAME ${JENKINS_JOB_NAME}
FROM alpine:3.24

# Go on Linux reads the system CA pool, so ca-certificates decides which roots are trusted
RUN apk --no-cache add ca-certificates

# Run locally docker run -it --rm -e JENKINS_URL="http://192.168.1.73:8080" -e JENKINS_USER="vadim" -e JENKINS_TOKEN="testtoken" -e JENKINS_JOB_NAME="testjob" local/cfjenkins
COPY --from=go /cfjenkins /usr/local/bin/

# Run locally docker run -it --rm -e jenkins_url="http://192.168.1.73:8080" -e jenkins_username="vadim" -e jenkins_token="testtoken" -e jenkins_job_name="testjob" -e jenkins_parameterized_job="false" local/cfjenkins
CMD ["/usr/local/bin/cfjenkins"]
7 changes: 3 additions & 4 deletions incubating/run-jenkins-jobs/codefresh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ steps:
revision: '${{CF_REVISION}}'
GetImageVersion:
title: "Export package version"
image: codefresh/cli
image: quay.io/codefresh/cli:1.3.5
working_directory: steps/incubating/run-jenkins-jobs
commands:
- 'export IMAGE_VERSION=$(cat step.yaml | yq -r .metadata.version)'
Expand All @@ -20,8 +20,7 @@ steps:
working_directory: steps/incubating/run-jenkins-jobs
image_name: codefresh/run-jenkins-jobs
tag: '${{CF_BRANCH_TAG_NORMALIZED}}'

PushingToRegistries:
PushingToRegistries:
title: Pushing to Registry
type: push
candidate: ${{BuildImage}}
Expand All @@ -38,4 +37,4 @@ PushingToRegistries:
registry: dockerhub
PushingToQuayRegistry:
title: Pushing To Quay Registry
registry: cfpluginmgr-quay
registry: cfpluginmgr-quay
7 changes: 7 additions & 0 deletions incubating/run-jenkins-jobs/go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module github.com/codefresh-io/cf-run-jenkins-job-plugin

go 1.26.11

require github.com/sirupsen/logrus v1.10.2

require golang.org/x/sys v0.50.0 // indirect
8 changes: 8 additions & 0 deletions incubating/run-jenkins-jobs/go.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
github.com/sirupsen/logrus v1.10.2 h1:G2SED73/qrAu6YwbdxOD6peLkCBI3z7L+ykJFTXJBBo=
github.com/sirupsen/logrus v1.10.2/go.mod h1:SLEg8TqYulVKKfIGHldVp2K2aYz2DKSVBq4g/H5bR7Q=
github.com/stretchr/testify v1.12.1 h1:EuwCh5fleGS7H32xRwO3wRGT7DxrDhLAT6FF8MpWDWE=
github.com/stretchr/testify v1.12.1/go.mod h1:MDEgiDPPsNp5cuIrHPPCyornHKgEVbtFUmoNlxoYthg=
go.yaml.in/yaml/v3 v3.0.5 h1:N6y/pJk8buWs9NY5ERU2HSMfm+IuD/OtfdAnq6kESPw=
go.yaml.in/yaml/v3 v3.0.5/go.mod h1:HVTZu1O7/Vkt2N+BFy8Zza+lnLsABggaTM2ZpNIGuKg=
golang.org/x/sys v0.50.0 h1:dkKZEFTEKaLr1sjhs0WiKqoi8Jj5nHbS3Njmx1UoMJs=
golang.org/x/sys v0.50.0/go.mod h1:hNLxWAXmnKAxqDtdwIYC4bM9oQPEecfsnNMuSxOs3og=
4 changes: 2 additions & 2 deletions incubating/run-jenkins-jobs/step.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ kind: step-type
version: '1.0'
metadata:
name: run-jenkins-jobs
version: 0.1.8
version: 0.1.9
title: Run a Jenkins job
isPublic: true
description: Run a Jenkins job from your Codefresh pipeline.
Expand Down Expand Up @@ -100,7 +100,7 @@ spec:
stepsTemplate: |-
main:
name: run-jenkins-jobs
image: quay.io/codefresh/run-jenkins-jobs:0.1.6
image: quay.io/codefresh/run-jenkins-jobs:0.1.9
environment:
[[- range $key, $val := .Arguments -]]
[[ if hasPrefix $key "jenkins_" ]]
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Loading
Loading