Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Flow Visibility] Add CI validation job for flow visibility depolyment files #3312

Merged
merged 1 commit into from
Mar 25, 2022
Merged
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 52 additions & 0 deletions .github/workflows/docker_update_flow_visibility.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Anyone with write permissions to the antrea-io/antrea Github repository can
# trigger this workflow manually, but please check with a maintainer first. The
# workflow will tag and push flow visibility related external images into Antrea
# Docker hub.
name: Manually update flow visibility Docker images

on:
workflow_dispatch:
inputs:
ch-operator-tag:
description: 'Tag for clickhouse-operator and metrics-exporter Docker image'
wsquan171 marked this conversation as resolved.
Show resolved Hide resolved
required: true
grafana-tag:
description: 'Tag for grafana Docker image'
required: true
ch-server-tag:
description: 'Tag for clickhouse-server Docker image'
required: true

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Push antrea/flow-visibility-clickhouse-operator
uses: akhilerm/[email protected]
with:
src: docker.io/altinity/clickhouse-operator:${{ github.event.inputs.ch-operator-tag }}
dst: |
docker.io/antrea/flow-visibility-clickhouse-operator:${{ github.event.inputs.ch-operator-tag }}
- name: Push antrea/flow-visibility-metrics-exporter
uses: akhilerm/[email protected]
with:
src: docker.io/altinity/metrics-exporter:${{ github.event.inputs.ch-operator-tag }}
dst: |
docker.io/antrea/flow-visibility-metrics-exporter:${{ github.event.inputs.ch-operator-tag }}
- name: Push antrea/flow-visibility-grafana
uses: akhilerm/[email protected]
with:
src: docker.io/grafana/grafana:${{ github.event.inputs.grafana-tag }}
dst: |
docker.io/antrea/flow-visibility-grafana:${{ github.event.inputs.grafana-tag }}
- name: Push antrea/flow-visibility-clickhouse-server
uses: akhilerm/[email protected]
with:
src: docker.io/yandex/clickhouse-server:${{ github.event.inputs.ch-server-tag }}
dst: |
docker.io/antrea/flow-visibility-clickhouse-server:${{ github.event.inputs.ch-server-tag }}
Loading