Skip to content

Commit

Permalink
#35: Install Tekton CLI using curl instead of homebrew to speed up th…
Browse files Browse the repository at this point in the history
…e pipeline
  • Loading branch information
jonashackt committed Apr 7, 2022
1 parent 5b1a563 commit b41f9f7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/provision.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ env:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: 'eu-central-1'
ROUTE53_DOMAIN_NAME: tekton-argocd.de
TEKTON_VERSION: '0.23.1'

jobs:
provision-eks-with-pulumi:
Expand Down Expand Up @@ -245,10 +246,10 @@ jobs:
echo "The Tekton dashboard is accessible at $DASHBOARD_HOST - creating GitHub Environment"
echo "::set-output name=dashboard_host::$DASHBOARD_HOST"
- name: Install Tekton CLI
- name: Install Tekton CLI using curl instead of homebrew to speed up the pipeline
run: |
brew tap tektoncd/tools
brew install tektoncd/tools/tektoncd-cli
curl -LO "https://github.com/tektoncd/cli/releases/download/v${TEKTON_VERSION}/tkn_${TEKTON_VERSION}_Linux_x86_64.tar.gz" \
&& tar xvzf "tkn_${TEKTON_VERSION}_Linux_x86_64.tar.gz" -C /usr/local/bin/ tkn
- name: Create Tekton Task & run it with a TaskRun
run: |
Expand Down

0 comments on commit b41f9f7

Please sign in to comment.