Skip to content

Commit

Permalink
Feature/update pipeline actions (#11)
Browse files Browse the repository at this point in the history
* upgraded pipeline versions

* This commit is an update to external github actions to newer versions
  • Loading branch information
Richi authored Apr 26, 2024
1 parent 29a906b commit 50c5c27
Show file tree
Hide file tree
Showing 19 changed files with 65 additions and 65 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/backup-kubernetes-databases-inhouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:

- name: Pipelines Version
run: |
echo "Pipelines version: 2.2.0"
echo "Pipelines version: 2.2.1"
- name: Directory check
run: pwd
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/build-conditions-inhouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

- name: Pipelines Version
run: |
echo "Pipelines version: 2.2.0"
echo "Pipelines version: 2.2.1"
- uses: dorny/paths-filter@v3
id: filter
Expand All @@ -52,7 +52,7 @@ jobs:

- name: Print pipeline comment
if: github.event_name == 'pull_request'
uses: marocchino/sticky-pull-request-comment@v2
uses: marocchino/sticky-pull-request-comment@v2.9.0
with:
header: Build Conditions
recreate: true
Expand All @@ -72,7 +72,7 @@ jobs:
- name: Print pipeline comment
if: needs.changes.outputs.strapi == 'true'
uses: marocchino/sticky-pull-request-comment@v2
uses: marocchino/sticky-pull-request-comment@v2.9.0
with:
header: Build Conditions
append: true
Expand All @@ -88,7 +88,7 @@ jobs:
- name: Print pipeline comment
if: needs.changes.outputs.next == 'true'
uses: marocchino/sticky-pull-request-comment@v2
uses: marocchino/sticky-pull-request-comment@v2.9.0
with:
header: Build Conditions
append: true
Expand All @@ -97,7 +97,7 @@ jobs:
- name: Print pipeline comment
if: env.COUNT == 0
uses: marocchino/sticky-pull-request-comment@v2
uses: marocchino/sticky-pull-request-comment@v2.9.0
with:
recreate: true
message: |
Expand All @@ -106,7 +106,7 @@ jobs:
- id: conditions-count-zero
name: Checking if there is only zero condition true
if: env.COUNT == 0
uses: actions/github-script@v3
uses: actions/github-script@v7.0.1
with:
script: |
core.notice(':heavy_exclamation_mark: We have zero builds based on conditions. Exiting pipeline.')
12 changes: 6 additions & 6 deletions .github/workflows/build-conditions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:

- name: Pipelines Version
run: |
echo "Pipelines version: 2.2.0"
echo "Pipelines version: 2.2.1"
- uses: dorny/paths-filter@v3
id: filter
Expand All @@ -46,7 +46,7 @@ jobs:

- name: Print pipeline comment
if: github.event_name == 'pull_request'
uses: marocchino/sticky-pull-request-comment@v2
uses: marocchino/sticky-pull-request-comment@v2.9.0
with:
header: Build Conditions
recreate: true
Expand All @@ -66,7 +66,7 @@ jobs:
- name: Print pipeline comment
if: needs.changes.outputs.strapi == 'true'
uses: marocchino/sticky-pull-request-comment@v2
uses: marocchino/sticky-pull-request-comment@v2.9.0
with:
header: Build Conditions
append: true
Expand All @@ -82,7 +82,7 @@ jobs:
- name: Print pipeline comment
if: needs.changes.outputs.next == 'true'
uses: marocchino/sticky-pull-request-comment@v2
uses: marocchino/sticky-pull-request-comment@v2.9.0
with:
header: Build Conditions
append: true
Expand All @@ -91,7 +91,7 @@ jobs:
- name: Print pipeline comment
if: env.COUNT == 0
uses: marocchino/sticky-pull-request-comment@v2
uses: marocchino/sticky-pull-request-comment@v2.9.0
with:
recreate: true
message: |
Expand All @@ -100,7 +100,7 @@ jobs:
- id: conditions-count-zero
name: Checking if there is only zero condition true
if: env.COUNT == 0
uses: actions/github-script@v3
uses: actions/github-script@v7.0.1
with:
script: |
core.notice(':heavy_exclamation_mark: We have zero builds based on conditions. Exiting pipeline.')
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build-with-bratiska-cli-inhouse.yml
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.2.0"
echo "Pipelines version: 2.2.1"
- name: Directory check
run: pwd
Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
- name: Print pipeline comment - kustomize build
if: github.event_name == 'pull_request'
uses: marocchino/sticky-pull-request-comment@v2
uses: marocchino/sticky-pull-request-comment@v2.9.0
with:
header: Build Conditions
append: true
Expand All @@ -97,7 +97,7 @@ jobs:
- name: Print pipeline comment - image build
if: github.event_name == 'pull_request'
uses: marocchino/sticky-pull-request-comment@v2
uses: marocchino/sticky-pull-request-comment@v2.9.0
with:
header: Build Conditions
append: true
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build-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.2.0"
echo "Pipelines version: 2.2.1"
- name: Directory check
run: pwd
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
- name: Print pipeline comment - kustomize build
if: github.event_name == 'pull_request'
uses: marocchino/sticky-pull-request-comment@v2
uses: marocchino/sticky-pull-request-comment@v2.9.0
with:
header: Build Conditions
append: true
Expand All @@ -90,7 +90,7 @@ jobs:
- name: Print pipeline comment - image build
if: github.event_name == 'pull_request'
uses: marocchino/sticky-pull-request-comment@v2
uses: marocchino/sticky-pull-request-comment@v2.9.0
with:
header: Build Conditions
append: true
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/cluster-deploy-conditions-inhouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:

- name: Pipelines Version
run: |
echo "Pipelines version: 2.2.0"
echo "Pipelines version: 2.2.1"
- uses: dorny/paths-filter@v3
id: filter
Expand Down Expand Up @@ -171,23 +171,23 @@ jobs:
- id: conditions-count-two
name: Checking if there is only one condition true
if: env.COUNT > 1
uses: actions/github-script@v3
uses: actions/github-script@v7.0.1
with:
script: |
core.setFailed('There can be only one deployment to cluster. Now we have more then one. You have probably different affected files and different tag.')
- id: conditions-count-zero
name: Checking if there is only zero condition true
if: env.COUNT == 0
uses: actions/github-script@v3
uses: actions/github-script@v7.0.1
with:
script: |
core.setFailed(':heavy_exclamation_mark: We have zero deployments based on conditions. Exiting pipeline with Fail status.')
- name: Print pipeline comment
if: github.event_name == 'pull_request'
uses: marocchino/sticky-pull-request-comment@v2
uses: marocchino/sticky-pull-request-comment@v2.9.0
with:
message: |
{{ env.GITHUB_STEP_SUMMARY }}
${{ env.GITHUB_STEP_SUMMARY }}
10 changes: 5 additions & 5 deletions .github/workflows/cluster-deploy-conditions-simple-inhouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
steps:
- name: Pipelines Version
run: |
echo "Pipelines version: 2.2.0"
echo "Pipelines version: 2.2.1"
- name: Print pipeline summary
run: |
Expand Down Expand Up @@ -76,23 +76,23 @@ jobs:
- id: conditions-count-two
name: Checking if there is only one condition true
if: env.COUNT > 1
uses: actions/github-script@v3
uses: actions/github-script@v7.0.1
with:
script: |
core.setFailed('There can be only one deployment to cluster. Now we have more then one. You have probably different affected files and different tag.')
- id: conditions-count-zero
name: Checking if there is only zero condition true
if: env.COUNT == 0
uses: actions/github-script@v3
uses: actions/github-script@v7.0.1
with:
script: |
core.setFailed('heavy_exclamation_mark: We have zero deployments based on conditions. Exiting pipeline with Fail status.')
- name: Print pipeline comment
if: github.event_name == 'pull_request'
uses: marocchino/sticky-pull-request-comment@v2
uses: marocchino/sticky-pull-request-comment@v2.9.0
with:
message: |
{{ env.GITHUB_STEP_SUMMARY }}
${{ env.GITHUB_STEP_SUMMARY }}
10 changes: 5 additions & 5 deletions .github/workflows/cluster-deploy-conditions-simple.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
steps:
- name: Pipelines Version
run: |
echo "Pipelines version: 2.2.0"
echo "Pipelines version: 2.2.1"
- name: Print pipeline summary
run: |
Expand Down Expand Up @@ -70,23 +70,23 @@ jobs:
- id: conditions-count-two
name: Checking if there is only one condition true
if: env.COUNT > 1
uses: actions/github-script@v3
uses: actions/github-script@v7.0.1
with:
script: |
core.setFailed('There can be only one deployment to cluster. Now we have more then one. You have probably different affected files and different tag.')
- id: conditions-count-zero
name: Checking if there is only zero condition true
if: env.COUNT == 0
uses: actions/github-script@v3
uses: actions/github-script@v7.0.1
with:
script: |
core.setFailed('heavy_exclamation_mark: We have zero deployments based on conditions. Exiting pipeline with Fail status.')
- name: Print pipeline comment
if: github.event_name == 'pull_request'
uses: marocchino/sticky-pull-request-comment@v2
uses: marocchino/sticky-pull-request-comment@v2.9.0
with:
message: |
{{ env.GITHUB_STEP_SUMMARY }}
${{ env.GITHUB_STEP_SUMMARY }}
10 changes: 5 additions & 5 deletions .github/workflows/cluster-deploy-conditions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:

- name: Pipelines Version
run: |
echo "Pipelines version: 2.2.0"
echo "Pipelines version: 2.2.1"
- uses: dorny/paths-filter@v3
id: filter
Expand Down Expand Up @@ -165,23 +165,23 @@ jobs:
- id: conditions-count-two
name: Checking if there is only one condition true
if: env.COUNT > 1
uses: actions/github-script@v3
uses: actions/github-script@v7.0.1
with:
script: |
core.setFailed('There can be only one deployment to cluster. Now we have more then one. You have probably different affected files and different tag.')
- id: conditions-count-zero
name: Checking if there is only zero condition true
if: env.COUNT == 0
uses: actions/github-script@v3
uses: actions/github-script@v7.0.1
with:
script: |
core.setFailed(':heavy_exclamation_mark: We have zero deployments based on conditions. Exiting pipeline with Fail status.')
- name: Print pipeline comment
if: github.event_name == 'pull_request'
uses: marocchino/sticky-pull-request-comment@v2
uses: marocchino/sticky-pull-request-comment@v2.9.0
with:
message: |
{{ env.GITHUB_STEP_SUMMARY }}
${{ env.GITHUB_STEP_SUMMARY }}
6 changes: 3 additions & 3 deletions .github/workflows/deploy-helm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:

- id: unsupported-command
if: inputs.command != 'install' && inputs.command != 'upgrade' && inputs.command != 'uninstall'
uses: actions/github-script@v3
uses: actions/github-script@v7.0.1
with:
script: |
core.setFailed(':heavy_exclamation_mark: Unsupported helm command. Only `install`, `upgrade` and `uninstall` are supported. Exiting pipeline with Fail status.')
Expand All @@ -81,7 +81,7 @@ jobs:
- name: Pipelines Version
run: |
echo "Pipelines version: 2.2.0"
echo "Pipelines version: 2.2.1"
- name: Directory check
run: pwd
Expand Down Expand Up @@ -157,7 +157,7 @@ jobs:
- name: Print pipeline comment
if: github.event_name == 'pull_request'
uses: marocchino/sticky-pull-request-comment@v2
uses: marocchino/sticky-pull-request-comment@v2.9.0
with:
message: |
${{ env.GITHUB_STEP_SUMMARY }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-with-bratiska-cli-inhouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:

- name: Pipelines Version
run: |
echo "Pipelines version: 2.2.0"
echo "Pipelines version: 2.2.1"
- name: Directory check
run: pwd
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-with-bratiska-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:

- name: Pipelines Version
run: |
echo "Pipelines version: 2.2.0"
echo "Pipelines version: 2.2.1"
- name: Directory check
run: pwd
Expand Down
Loading

0 comments on commit 50c5c27

Please sign in to comment.