Skip to content

Commit

Permalink
ci: fix automation step (#620)
Browse files Browse the repository at this point in the history
  • Loading branch information
oderayi authored Apr 17, 2024
1 parent e51007c commit 4d7492d
Showing 1 changed file with 13 additions and 15 deletions.
28 changes: 13 additions & 15 deletions .github/workflows/create-release-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,19 +72,6 @@ jobs:
with:
ref: ${{ inputs.branch }}
fetch-depth: 0

- name: Test TTK test cases release
uses: ncipollo/release-action@v1
with:
token: ${{ secrets.AUTO_RELEASE_TOKEN }}
repo: testing-toolkit-test-cases
makeLatest: false
allowUpdates: false
generateReleaseNotes: true
skipIfReleaseExists: true
prerelease: true
tag: v16.1.0-snapshot
commit: master

- name: Set up Helm
uses: azure/setup-helm@v3
Expand All @@ -94,8 +81,19 @@ jobs:
- name: Install dependencies
run: |
# Install mo
curl -sL https://raw.githubusercontent.com/tests-always-included/mo/main/mo -o /usr/local/bin/mo
chmod +x /usr/local/bin/mo
curl -sSL https://raw.githubusercontent.com/tests-always-included/mo/master/mo -o mo
if [ $? -ne 0 ]; then
echo "Failed to download mo"
exit 1
fi
sudo chmod +x mo
if [ $? -ne 0 ]; then
echo "Failed to make mo executable"
exit 1
fi
sudo mv mo /usr/local/bin/
mo --help
# Install updatecli
curl -sL https://github.com/updatecli/updatecli/releases/download/v0.71.0/updatecli_amd64.deb -o /tmp/updatecli_amd64.deb
Expand Down

0 comments on commit 4d7492d

Please sign in to comment.