Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Bitbucket Pipes Digest: April 2024

Bitbucket Pipes digest April 2024


Hi,

Welcome to the next Bitbucket Pipes digest. This month comes packed with additions to Pipes. Don’t forget to subscribe (click Watch and select Articles)!

New pipes

atlassian/bitbucket-chatgpt-codereview

atlassian/bitbucket-chatgpt-codereview:0.1.2

Unlock AI's power of ChatGPT for code review of pull requests

pipelines:
  pull-requests:
    '**':
      - step:
          name: Build for any pull request created
          script:
            - pipe: atlassian/bitbucket-chatgpt-codereview:0.1.1
              variables:
                OPENAI_API_KEY: $OPENAI_API_KEY
                BITBUCKET_ACCESS_TOKEN: $BITBUCKET_ACCESS_TOKEN
                MODEL: 'gpt-4-turbo-preview'
  default:
    - step:
        name: All other builds
        script:
          - echo "Default build"

 

atlassian/bitbucket-iac-scan

 

atlassian/bitbucket-iac-scan:0.2.0

Perform IaCSS with KICS. IaCSS examines configuration definitions and scripts used to instantiate infrastructure to ensure the resulting resources are secure.

script:
  - pipe: atlassian/bitbucket-iac-scan:0.2.0
    variables:
      FILES_TO_SCAN_PATH: ./my_files_to_scan

 

atlassian/crate-ci-typos-check

atlassian/crate-ci-typos-check:1.2.3

Source code spell checker

script:
  - pipe: atlassian/crate-ci-typos-check:1.2.3

 

atlassian/poetry-cli-setup

atlassian/poetry-cli-setup:0.2.0

Setup Poetry CLI in Bitbucket Pipelines

script:
  - pipe: atlassian/poetry-cli-setup:0.2.0
  - ./setup-poetry.sh
  - poetry install
  - poetry run pytest

 

cqse/teamscale-bitbucket-pipeline

cqse/teamscale-bitbucket-pipeline:1.0.2

A Bitbucket pipe for uploading external reports to Teamscale

pipelines:
  branches:
    master:
      - step:
        name: create code coverage
        script:
          # Create your reports here
          - ./run-coverage.sh
        artifacts:
          # Store reports for usage in upload step
          paths:
            - coverage-reports/cobertura.xml
      - step:
        name: upload reports to Teamscale
        script:
          - pipe: cqse/teamscale-bitbucket-pipeline:1.0.2
            variables:
              SERVER: ${TEAMSCALE_SERVER}
              PROJECT: ${TEAMSCALE_PROJECT}
              USER: ${TEAMSCALE_USER}
              ACCESSKEY: ${TEAMSCALE_ACCESS_KEY}
              PARTITION: 'bitbucket-reports'
              INPUT: '.teamscale-reports'

 

Updated pipes

launchdarkly/ld-find-code-refs-pipe

launchdarkly/ld-find-code-refs-pipe:2.12.0

Job for finding and sending feature flag code references to LaunchDarkly

  • Enable scanning of github workflow files

  • Respect rate-limit headers during retries
  • Multi-project scans now ignore projects without valid flags
  • Fixes index out of range error during extinction scanning
  • Allow prune stage to be disabled

 

atlassian/azure-storage-deploy

atlassian/azure-storage-deploy:2.2.0

Deploy files and directories to Azure Storage

  • Breaking change! You have to update your pipe variables according to the Readme. Implement logic and tests based on Python code

 

atlassian/aws-lambda-deploy

atlassian/aws-lambda-deploy:1.11.1

Deploy function to AWS Lambda

  • Update and clarify the Readme with details about update lambda command and results about lambda version. The pipe will create an aws-lambda-deploy-env file under the BITBUCKET_PIPE_SHARED_STORAGE_DIR directory when executing the update command, containing the FunctionArn, Version and other function data in a json format

 

atlassian/azure-aks-helm-deploy

atlassian/azure-aks-helm-deploy:3.3.0

Deploy to AKS (Azure Kubernetes Service) using Helm

  • Add support for AZURE_LOGIN_NON_INTERACTIVE variable
  • Add support of HELM_COMMAND_ARGS variable

 

atlassian/azure-aks-deploy

atlassian/azure-aks-deploy:1.3.0

Deploy to AKS (Azure Kubernetes Service) using Kubectl

  • Add support to provide custom subscription with AZURE_SUBSCRIPTION variable

 

snyk/snyk-scan

snyk/snyk-scan:1.0.1

This pipe uses Snyk to find, fix and monitor known vulnerabilities in your app dependencies and docker image

  • update dependencies and base image

 

atlassian/google-cloud-storage-deploy

atlassian/google-cloud-storage-deploy:2.0.0

Deploy code to Google Cloud Storage

  • Implement OIDC support

  • Breaking change! Take a look at the README variables section for more information. Refactor logic to python base

 

atlassian/aws-eks-kubectl-run

atlassian/aws-eks-kubectl-run:2.8.0

Execute a kubectl command on your Amazon EKS (Elastic Kubernetes Service) cluster.

  • Add support for AWS OIDC authorisation
  • Add support for DISABLE_VALIDATION variable. Option to disable Kubernetes manifest file validation before the command execution

  • Add support of the pre-execution script

 

scribe-security/valint-pipe

scribe-security/valint-pipe:1.1.0

Generate Software Bill Of Materials (SBOM) for container images, filesystems and git repositories

  • Policy as Code, CycloneDX 1.5 support
  • Discard support

  • Hotfix attest deilverable default

  • Policy boundle, policy results

  • SBOM package exentation

 

atlassian/email-notify

atlassian/email-notify:0.13.1

Send a notification to email.

  • Add support for BCC variable for mass emails
  • Add support for the DISABLE_AUTH variable, a flag to disable username/password basic authorization. Provide the possibility to connect to an SMTP-Server that allows IP-based authentication instead of username/password

 

atlassian/aws-cloudformation-deploy

atlassian/aws-cloudformation-deploy:0.20.0

Deploy your stack configuration template to AWS CloudFormation

  • Add support for CANCEL_UPDATE_ON_TIMEOUT variable. If variable set with value 'true' the pipe sends event to cancel an update on the specified stack when timeout is reached (WAIT_INTERVAL * 120 attempts). If the call completes successfully, the stack rolls back the update and reverts to the previous stack configuration

 

atlassian/aws-s3-deploy

atlassian/aws-s3-deploy:1.6.0

Deploy to Amazon S3.

  • Implemented support for AWS STS (using assume-role functionality)

 

atlassian/firebase-deploy

atlassian/firebase-deploy:5.1.0

Deploy your code to Firebase using this pipe.

  • Update default nodejs version from 18 to 20

  • Bump firebase-tools version to 13

  • Remove support for NodeJS16 due new firebase-tools min version

 

atlassian/jira-create-issue

atlassian/jira-create-issue:0.7.0

With this pipe you can create a JIRA issue from a Bitbucket Pipeline

  • Add support for JIRA_ASSIGNEE variable. The feature to assign an issue to a user on create

  • Add support for JIRA_CUSTOM_FIELDS variable. The feature to set custom fields to the issue on create

 

atlassian/renovate-scan

atlassian/renovate-scan:0.5.0

This is a pipe to perform scan by Renovate

  • Update renovate docker image to 37.6-full

 

configcat/scan-repository-pipe

configcat/scan-repository-pipe:1.4.4

Find code references to ConfigCat feature flags and settings in your source code.

  • Execute git config set in git repo folder

  • Fix failing active branch tracking
  • Fix folder dubious ownership issue
  • Fix failing active branch tracking

 

To discover more pipes, visit our Bitbucket Pipes Marketplace.

 

Top Community questions

If you’d like to suggest a pipe to be improved or new pipe to be implemented, please, find the appropriate ticket in the list of existing tickets , vote for them or create a new suggestion request with type Suggestion and Component: Pipelines - Pipes.

If you’d like help with Bitbucket Pipes, or you have an issue or feature request, let us know on Community

0 comments

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events