Skip to content
Open
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
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Build Package via Docker
run: |
docker build -t kubemarine --build-arg BUILD_TYPE=package --no-cache .
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
build_cmd: python scripts/ci/build_binary.py arm64
steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v4
with:
Expand Down Expand Up @@ -113,7 +113,7 @@ jobs:
remove_files_script: 'Get-ChildItem -Exclude test,examples,scripts | Remove-Item -Recurse -Force'
steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Keep Testing Files
run: ${{ matrix.remove_files_script }}
- name: Set up Python ${{ matrix.python-version }}
Expand Down Expand Up @@ -141,7 +141,7 @@ jobs:
if: startsWith(github.ref, 'refs/tags')
steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Validate and Prepare
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
exit 1
fi
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Build Docker Image
run: docker build -t kubemarine --no-cache .
- name: Run Selftest
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/integration_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
kuber_versions: ${{ steps.versions.outputs.kuber_versions }}
steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v4
with:
Expand All @@ -38,7 +38,7 @@ jobs:
kubernetes-version: ${{ fromJSON(needs.collect_kubernetes_versions.outputs.kuber_versions) }}
steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Check ips
run: ip a
- name: Ssh preparation
Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:
cluster_yaml_file: ./ci/extended_cluster.yaml
steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Check ips
run: ip a
- name: Ssh preparation
Expand Down Expand Up @@ -157,7 +157,7 @@ jobs:
thirdparties_sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: "3.12"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
# Release can be done only in main branch or dedicated vN.N.N_branch support branches
if: github.event.release.target_commitish == 'main' || endsWith(github.event.release.target_commitish, '_branch')
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
token: ${{ secrets.NCCLPLCI_PAT }}
# By default, tag is checked out. It needs to check out branch to commit to.
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
if: github.ref_name == 'main' || endsWith(github.ref_name, '_branch')
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
token: ${{ secrets.NCCLPLCI_PAT }}
- run: docker run -v "${PWD}:/src" -i ghcr.io/google/addlicense -v -c "${{ env.COPYRIGHT_COMPANY }}" -y "${{ env.COPYRIGHT_YEAR }}" $(find . -type f -name "*.py" | xargs echo)
Expand All @@ -21,13 +21,13 @@ jobs:
unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: docker build -t kubemarine --build-arg BUILD_TYPE=test --no-cache .
- run: docker run --entrypoint=python3 kubemarine -m unittest discover -s /opt/kubemarine/test/unit -t /opt/kubemarine/test/unit
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: "3.12"
Expand All @@ -38,7 +38,7 @@ jobs:
linter:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: "3.12"
Expand All @@ -53,7 +53,7 @@ jobs:
radon:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: "3.12"
Expand All @@ -75,7 +75,7 @@ jobs:
- "3.11"
- "3.12"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/transfer_repo_image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
build-docker-transfer:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Archive bare repository
run: |
git clone --bare https://$GITHUB_ACTOR:${{ secrets.GITHUB_TOKEN }}@github.com/Netcracker/KubeMarine
Expand Down
Loading