Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
pull/742/head
Flavius Lacatusu 2021-03-26 13:57:14 +01:00
parent 87cdb9e3c4
commit c4e7891ecf
No known key found for this signature in database
GPG Key ID: 3C0A7685C14681A8
2 changed files with 3 additions and 1 deletions

View File

@ -60,7 +60,7 @@ initStableTemplates() {
versions=$(curl \
-H "Authorization: bearer ${GITHUB_TOKEN}" \
-X POST -H "Content-Type: application/json" --data \
'{"query": "{ repository(owner: \"eclipse\", name: \"che-operator\") { refs(refPrefix: \"refs/tags/\", last: 2, orderBy: {field: TAG_COMMIT_DATE, direction: ASC}) { edges { node { name } } } } }" } ' \
'{"query": "{ repository(owner: \"eclipse-che\", name: \"che-operator\") { refs(refPrefix: \"refs/tags/\", last: 2, orderBy: {field: TAG_COMMIT_DATE, direction: ASC}) { edges { node { name } } } } }" } ' \
https://api.github.com/graphql)
echo "${versions[*]}"

View File

@ -37,6 +37,8 @@ jobs:
run: bash <(curl -sL https://www.eclipse.org/che/chectl/) --channel=stable
- name: Run tests
run: /bin/bash .github/bin/minikube/test-stable-olm-update.sh
env:
"GITHUB_TOKEN": "${{ secrets.GITHUB_TOKEN }}"
# Run this step even the previous step fail
- uses: actions/upload-artifact@v2
if: ${{ always() }}