Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gflows/libs/integration-tests-legacy-steps.lib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
---
#@ def integration_tests_legacy_steps(repository, registry,main_registry, environment, test_suites):
- name: Checkout tests repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: covergo/integration-testing
ref: #@ repository.branch
Expand Down
4 changes: 2 additions & 2 deletions .gflows/libs/job_deploy_tenants.lib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
name: #@ "Deploy to {}".format(tenant.name)
steps:
- name: Checkout tokens repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: #@ deploy.repository.url
ref: #@ deploy.repository.branch
Expand All @@ -35,4 +35,4 @@
- name: #@ "Check {} deployment".format(image.dst)
run: #@ "kubectl -n default --kubeconfig ./configs/{} rollout status deployments/{}".format(tenant.credentials_path, image.dst)
#@ end
#@ end
#@ end
4 changes: 2 additions & 2 deletions .gflows/libs/job_scan_code.lib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
runs-on: #@ getattr(section,"runner","ubuntu-latest")
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Set up Java 17
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: 17
distribution: adopt
Expand Down
6 changes: 3 additions & 3 deletions .gflows/libs/job_scan_code_net.lib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
timeout-minutes: 10
needs: #@ scan_code_net_build_needs(sections)
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Set up Java 17
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: 17
distribution: adopt
Expand All @@ -50,4 +50,4 @@
dotnet build --configuration Release
dotnet sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}"
#@ end
---
---
9 changes: 6 additions & 3 deletions .gflows/libs/job_version.lib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ outputs:
issue_id_slug: ${{ steps.version.outputs.preReleaseLabel }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install GitVersion
uses: gittools/actions/gitversion/setup@v0
with:
versionSpec: '5.x'
versionSpec: "5.x"
- name: Determine Version
id: version
id: version
uses: gittools/actions/gitversion/execute@v0
with:
useConfigFile: true
Expand All @@ -41,5 +41,8 @@ steps:
if [[ ${{ steps.version.outputs.semVer }} =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
echo ::set-output name=is_production::true
fi


#@ end
---

2 changes: 1 addition & 1 deletion .gflows/libs/steps.lib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ with:
---
#@ def _checkout():
name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
#@ end
---
#@ def _generate_docker_meta():
Expand Down
30 changes: 15 additions & 15 deletions github-sample/workflows/build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
issue_id_slug: ${{ steps.version.outputs.preReleaseLabel }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install GitVersion
Expand Down Expand Up @@ -55,11 +55,11 @@ jobs:
- run-api-test-integration
- run-auth-test-unit
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Java 17
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: 17
distribution: adopt
Expand Down Expand Up @@ -89,11 +89,11 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Java 17
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: 17
distribution: adopt
Expand Down Expand Up @@ -545,7 +545,7 @@ jobs:
- name: Image digest
run: echo ${{ steps.docker-build-integration-tests.outputs.digest }}
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Checkout GitHub Action Repos
uses: daspn/private-actions-checkout@v2
with:
Expand Down Expand Up @@ -684,7 +684,7 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Checkout GitHub Action Repos
uses: daspn/private-actions-checkout@v2
with:
Expand Down Expand Up @@ -808,7 +808,7 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Checkout GitHub Action Repos
uses: daspn/private-actions-checkout@v2
with:
Expand Down Expand Up @@ -972,7 +972,7 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Checkout GitHub Action Repos
uses: daspn/private-actions-checkout@v2
with:
Expand Down Expand Up @@ -1073,7 +1073,7 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Get docker image tags
id: github-tags-auth-service
env:
Expand Down Expand Up @@ -1128,7 +1128,7 @@ jobs:
- integration-tests-legacy-big
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
Expand Down Expand Up @@ -1204,7 +1204,7 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Get docker image tags
id: github-tags-auth-predeployment
env:
Expand Down Expand Up @@ -1259,7 +1259,7 @@ jobs:
- integration-tests-legacy-big
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
Expand Down Expand Up @@ -1321,7 +1321,7 @@ jobs:
- docker-build-auth-service
steps:
- name: Checkout tests repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: covergo/integration-testing
ref: ${{ github.head_ref }}
Expand Down Expand Up @@ -1470,7 +1470,7 @@ jobs:
name: Deploy to Tahoe
steps:
- name: Checkout tokens repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: CoverGo/Documentation
ref: master
Expand Down