Skip to content

Commit

Permalink
Removed git fetch for bratiska cli (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
skifahrer committed Sep 25, 2024
1 parent ef1d797 commit 45acdda
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 26 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/build-with-bratiska-cli-inhouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:

- name: Pipelines Version
run: |
echo "Pipelines version: 2.3.1"
echo "Pipelines version: 2.3.2"
- name: Directory check
run: pwd
Expand Down Expand Up @@ -104,9 +104,6 @@ jobs:
yarn global add bratislava/bratiska-cli#${{ inputs.version }}
echo "~/.yarn/bin" >> $GITHUB_PATH
- name: Running git fetch for Bratiska-cli
run: git fetch

- name: Print Bratiska-cli version
run: bratiska-cli deploy --version

Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/build-with-bratiska-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:

- name: Pipelines Version
run: |
echo "Pipelines version: 2.3.1"
echo "Pipelines version: 2.3.2"
- name: Directory check
run: pwd
Expand Down Expand Up @@ -107,9 +107,6 @@ jobs:
- name: Installing Bratiska-cli version
run: yarn global add bratislava/bratiska-cli#${{ inputs.version }}

- name: Running git fetch for Bratiska-cli
run: git fetch

- name: Print Bratiska-cli version
run: bratiska-cli --version

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:

- name: Pipelines Version
run: |
echo "Pipelines version: 2.3.1"
echo "Pipelines version: 2.3.2"
- name: Directory check
run: pwd
Expand All @@ -61,9 +61,6 @@ jobs:
- name: Installing Bratiska-cli version
run: yarn global add bratislava/bratiska-cli#${{ inputs.version }}

- name: Running git fetch for Bratiska-cli
run: git fetch

- name: Print Bratiska-cli version
run: bratiska-cli --version

Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/create-kustomize-with-bratiska-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:

- name: Pipelines Version
run: |
echo "Pipelines version: 2.3.1"
echo "Pipelines version: 2.3.2"
- name: Directory check
run: pwd
Expand All @@ -56,9 +56,6 @@ jobs:
- name: Installing Bratiska-cli version
run: yarn global add bratislava/bratiska-cli#${{ inputs.version }}

- name: Running git fetch for Bratiska-cli
run: git fetch

- name: Print Bratiska-cli version
run: bratiska-cli --version

Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/deploy-with-bratiska-cli-inhouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:

- name: Pipelines Version
run: |
echo "Pipelines version: 2.3.1"
echo "Pipelines version: 2.3.2"
- name: Directory check
run: pwd
Expand All @@ -114,14 +114,11 @@ jobs:
with:
node-version: '20'

- name: Installing Bratiska-cli stable
- name: Installing Bratiska-cli ${{ inputs.version }}
run: |
yarn global add bratislava/bratiska-cli#${{ inputs.version }}
echo "~/.yarn/bin" >> $GITHUB_PATH
- name: Running git fetch for Bratiska-cli
run: git fetch

- name: Kubectl tool installer
uses: Azure/setup-kubectl@v4.0.0

Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/deploy-with-bratiska-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:

- name: Pipelines Version
run: |
echo "Pipelines version: 2.3.1"
echo "Pipelines version: 2.3.2"
- name: Directory check
run: pwd
Expand All @@ -109,12 +109,9 @@ jobs:
with:
node-version: '20'

- name: Installing Bratiska-cli stable
- name: Installing Bratiska-cli ${{ inputs.version }}
run: yarn global add bratislava/bratiska-cli#${{ inputs.version }}

- name: Running git fetch for Bratiska-cli
run: git fetch

- name: Kubectl tool installer
uses: Azure/setup-kubectl@v4.0.0

Expand Down

0 comments on commit 45acdda

Please sign in to comment.