-
Notifications
You must be signed in to change notification settings - Fork 34
46 lines (44 loc) · 1.55 KB
/
releast-test.yml
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
41
42
43
44
45
46
name: Deploy to Release1
on:
pull_request_target:
branches:
- main
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
environment: release1
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Run configure.py
run: |
python3 configure.py --hostname api.github.com \
--enterprise-name gm3dmo-enterprise-cloud-testing \
--org forest-town \
--repo pwr-release1 \
--default-repo-visibility public \
--token ${{ secrets.FORESTPAT }} \
--webhook-url ${{ vars.WEBHOOK }} \
--configure-app yes \
--app-id 1 \
--installation-id 1 \
--client-id client_id \
--team-members "pipcrispy robin-of-loxley roger-de-courcey" \
--team-admin "roger-de-courcey" \
--default-committer "pipcrispy" \
--private-pem-file test.pem \
--primer "list-config" \
--curl_custom_flags '--fail-with-body --no-progress-meter'
- name: Delete repo-release1
run: |
echo "Deleting repo-release1"
./delete-repo.sh
- name: Power default testcase
env:
TERM: xterm # Set TERM environment variable
run: |
echo "Running build-testcase"
./build-testcase