Skip to content

Feat: Adds new run-time metrics visualisation to a test (#833) #394

Feat: Adds new run-time metrics visualisation to a test (#833)

Feat: Adds new run-time metrics visualisation to a test (#833) #394

Workflow file for this run

name: Beta Release
on:
push:
branches:
- master
- release-*
jobs:
web:
runs-on: ubuntu-20.04
env:
DOCKER_HUB_REPOSITORY: maestro
DOCKER_HUB_TAG_PREFIX: beta
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
- uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Get the version
id: get_version
run: echo "::set-output name=VERSION::$(git rev-parse --short HEAD)"
- name: Set Env Variables
run: |
echo "DOCKER_HUB_VERSION=${{ env.DOCKER_HUB_TAG_PREFIX }}-${{ steps.get_version.outputs.VERSION }}" >> $GITHUB_ENV
echo "DOCKER_HUB_TAG=${{ secrets.DOCKER_HUB_USERNAME }}/${{ env.DOCKER_HUB_REPOSITORY }}:${{ env.DOCKER_HUB_TAG_PREFIX }}-${{ steps.get_version.outputs.VERSION }}" >> $GITHUB_ENV
- name: Build and push
id: docker_build
uses: docker/build-push-action@v3
with:
context: ./web
push: true
tags: ${{ env.DOCKER_HUB_TAG }}
cache-from: type=registry,ref=${{ env.DOCKER_HUB_TAG }}
cache-to: type=inline
agent:
runs-on: ubuntu-20.04
env:
DOCKER_HUB_REPOSITORY: maestro-agent
DOCKER_HUB_TAG_PREFIX: beta
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
- uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Get the version
id: get_version
run: echo "::set-output name=VERSION::$(git rev-parse --short HEAD)"
- name: Set Env Variables
run: |
echo "DOCKER_HUB_VERSION=${{ env.DOCKER_HUB_TAG_PREFIX }}-${{ steps.get_version.outputs.VERSION }}" >> $GITHUB_ENV
echo "DOCKER_HUB_TAG=${{ secrets.DOCKER_HUB_USERNAME }}/${{ env.DOCKER_HUB_REPOSITORY }}:${{ env.DOCKER_HUB_TAG_PREFIX }}-${{ steps.get_version.outputs.VERSION }}" >> $GITHUB_ENV
- name: Build and push
id: docker_build
uses: docker/build-push-action@v3
with:
context: ./agent
push: true
tags: ${{ env.DOCKER_HUB_TAG }}
cache-from: type=registry,ref=${{ env.DOCKER_HUB_TAG }}
cache-to: type=inline
cli:
runs-on: ubuntu-20.04
env:
DOCKER_HUB_REPOSITORY: maestro-cli
DOCKER_HUB_TAG_PREFIX: beta
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
- uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Get the version
id: get_version
run: echo "::set-output name=VERSION::$(git rev-parse --short HEAD)"
- name: Set Env Variables
run: |
echo "DOCKER_HUB_VERSION=${{ env.DOCKER_HUB_TAG_PREFIX }}-${{ steps.get_version.outputs.VERSION }}" >> $GITHUB_ENV
echo "DOCKER_HUB_TAG=${{ secrets.DOCKER_HUB_USERNAME }}/${{ env.DOCKER_HUB_REPOSITORY }}:${{ env.DOCKER_HUB_TAG_PREFIX }}-${{ steps.get_version.outputs.VERSION }}" >> $GITHUB_ENV
- name: Build and push
id: docker_build
uses: docker/build-push-action@v3
with:
context: ./cli
push: true
tags: ${{ env.DOCKER_HUB_TAG }}
cache-from: type=registry,ref=${{ env.DOCKER_HUB_TAG }}
cache-to: type=inline
jmeter:
runs-on: ubuntu-20.04
env:
DOCKER_HUB_REPOSITORY: maestro-jmeter
DOCKER_HUB_TAG_PREFIX: beta
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
- uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Get the version
id: get_version
run: echo "::set-output name=VERSION::$(git rev-parse --short HEAD)"
- name: Set Env Variables
run: |
echo "DOCKER_HUB_VERSION=${{ env.DOCKER_HUB_TAG_PREFIX }}-${{ steps.get_version.outputs.VERSION }}" >> $GITHUB_ENV
echo "DOCKER_HUB_TAG=${{ secrets.DOCKER_HUB_USERNAME }}/${{ env.DOCKER_HUB_REPOSITORY }}:${{ env.DOCKER_HUB_TAG_PREFIX }}-${{ steps.get_version.outputs.VERSION }}" >> $GITHUB_ENV
- name: Build and push
id: docker_build
uses: docker/build-push-action@v3
with:
context: ./jmeter
push: true
tags: ${{ env.DOCKER_HUB_TAG }}
cache-from: type=registry,ref=${{ env.DOCKER_HUB_TAG }}
cache-to: type=inline