Skip to content

Bump version to 1.14.16 #469

Bump version to 1.14.16

Bump version to 1.14.16 #469

Workflow file for this run

name: tests
on:
push:
branches-ignore:
- development/**
- q/*/**
concurrency:
group: 'tests-${{ github.ref }}'
cancel-in-progress: true
env:
PROJECT_NAME: ${{ github.event.repository.name }}
jobs:
prepare:
runs-on: ubuntu-latest
permissions:
# Need to explicitely add package write permissions for dependabot
contents: read
packages: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker Buildk
uses: docker/setup-buildx-action@v3
- name: Login to Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ github.token }}
- name: Build and push MongoDB
uses: docker/build-push-action@v5
with:
push: true
context: .github/dockerfiles/mongodb
tags: ghcr.io/${{ github.repository }}/ci-mongodb:${{ github.sha }}
cache-from: type=gha,scope=ci-mongodb
cache-to: type=gha,mode=max,scope=ci-mongodb
tests:
needs: prepare
runs-on: ubuntu-latest
services:
mongodb:
image: ghcr.io/${{ github.repository }}/ci-mongodb:${{ github.sha }}
ports:
- 27017:27017
- 27018:27018
- 27019:27019
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install node
uses: actions/setup-node@v4
with:
node-version: '16'
cache: 'yarn'
- run: sudo apt-get update -q
- run: yarn --network-concurrency 1
- run: yarn --silent lint -- --max-warnings 0
- run: yarn --silent test:unit
- run: yarn --silent test:functional
env:
MONGODB_REPLICASET: "localhost:27018"
- name: "Debug: SSH to runner"
uses: scality/actions/[email protected]
continue-on-error: true
with:
tmate-server-host: ${{ secrets.TMATE_SERVER_HOST }}
tmate-server-port: ${{ secrets.TMATE_SERVER_PORT }}
tmate-server-rsa-fingerprint: ${{ secrets.TMATE_SERVER_RSA_FINGERPRINT }}
tmate-server-ed25519-fingerprint: ${{ secrets.TMATE_SERVER_ED25519_FINGERPRINT }}
if: failure() && runner.debug == '1'
build:
name: Build and Push
needs:
- tests
uses: ./.github/workflows/build.yml
secrets: inherit