-
Notifications
You must be signed in to change notification settings - Fork 59
40 lines (34 loc) · 1.09 KB
/
pr-go-e2e.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Copyright (C) 2024 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
name: GMC E2e Tests on Xeon
on:
pull_request:
branches: [main]
types: [opened, reopened, ready_for_review, synchronize] # added `ready_for_review` since draft is skipped
paths:
- microservices-connector/**
- "!microservices-connector/helm/**"
- "!**.md"
- "!**.txt"
- "!**.png"
- .github/workflows/scripts/e2e/gmc_xeon_test.sh
workflow_dispatch:
# If there is a new commit, the previous jobs will be canceled
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-xeon
cancel-in-progress: true
env:
GOSRC_DIR: "microservices-connector"
jobs:
image-build:
uses: ./.github/workflows/_gmc-image-build.yaml
with:
image_tag: ${{ github.event.pull_request.head.sha }}
runner_label: 'docker-build-xeon'
go-e2e:
needs: [image-build]
uses: ./.github/workflows/_gmc-e2e.yaml
with:
repo: ${{ needs.image-build.outputs.image_repo }}
tag: ${{ needs.image-build.outputs.image_tag }}
secrets: inherit