Compare commits

..

7 Commits

Author SHA1 Message Date
Shivam Gupta
2135353bc1 Removing non prod modules 2021-03-31 10:46:15 +05:30
Shivam Gupta
a3f3ca8682 Updating files as per latest changes in master after resolving merge conflicts 2021-03-30 22:39:31 +05:30
Shivam Gupta
4420cb2ff7 Changing feature flag name 2021-03-30 21:22:57 +05:30
Shivam Gupta
80c57e0303 Adding feature flag as environment variable in release 2021-03-30 12:12:07 +05:30
Shivam Gupta
adf7ced229 Fixing PR comments in release 2021-03-30 11:41:12 +05:30
Shivam Gupta
6dc9231fd1 Updating typescript version and js file 2021-03-17 14:26:33 +05:30
Shivam Gupta
ae228a9a52 Adding graphql query to fetch latest helm release of specified type 2021-03-17 14:25:23 +05:30
2 changed files with 0 additions and 52 deletions

View File

@@ -1,33 +0,0 @@
token=$1
commit=$2
repository=$3
prNumber=$4
frombranch=$5
tobranch=$6
patUser=$7
getPayLoad() {
cat <<EOF
{
"event_type": "SetupHelmActionPR",
"client_payload":
{
"action": "SetupHelm",
"commit": "$commit",
"repository": "$repository",
"prNumber": "$prNumber",
"tobranch": "$tobranch",
"frombranch": "$frombranch"
}
}
EOF
}
response=$(curl -u $patUser:$token -X POST https://api.github.com/repos/Azure/azure-actions-integration-tests/dispatches --data "$(getPayLoad)")
if [ "$response" == "" ]; then
echo "Integration tests triggered successfully"
else
echo "Triggering integration tests failed with: '$response'"
exit 1
fi

View File

@@ -1,19 +0,0 @@
name: "Trigger Integration tests"
on:
pull_request:
branches:
- master
- 'releases/*'
jobs:
trigger-integration-tests:
name: Trigger Integration tests
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v2
with:
path: IntegrationTests
- name: Trigger Test run
run: |
bash ./IntegrationTests/.github/workflows/TriggerIntegrationTests.sh ${{ secrets.L2_REPO_TOKEN }} ${{ github.event.pull_request.head.sha }} ${{ github.repository }} ${{ github.event.pull_request.number }} ${{ github.event.pull_request.head.ref }} ${{ github.event.pull_request.base.ref }} ${{ secrets.L2_REPO_USER }}