Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Target release-v2.8 for dependabot #310

Closed
wants to merge 66 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
6251bbd
Report failed CI status in slack
alexander-demicev Feb 7, 2023
95db2b0
Document AKSClusterConfig API
mjura Aug 10, 2023
3724d2e
Fix update mode for node pool groups
mjura Aug 26, 2023
7e106c1
Merge pull request #257 from mjura/nodepool-mode
mjura Aug 28, 2023
943847a
Merge pull request #106 from alexander-demicev/slack
alexander-demicev Aug 28, 2023
e4ad49e
Bump github.com/onsi/ginkgo/v2 from 2.11.0 to 2.12.0
dependabot[bot] Aug 28, 2023
a9e60f0
Bump docker/setup-buildx-action from 2.9.1 to 2.10.0
dependabot[bot] Aug 28, 2023
df5ed70
Bump slackapi/slack-github-action from 1.23.0 to 1.24.0
dependabot[bot] Aug 28, 2023
28dc3ff
Update update-rancher-charts.sh for github workflows
mjura Aug 29, 2023
1934082
Merge pull request #263 from mjura/master-github
mjura Aug 29, 2023
891c8bc
Remove line with doNotRelease flag
mjura Aug 29, 2023
c4ca3bf
Merge pull request #265 from mjura/master-github
mjura Aug 29, 2023
4fa6427
Merge pull request #261 from rancher/dependabot/github_actions/docker…
salasberryfin Aug 30, 2023
844d067
Merge pull request #260 from rancher/dependabot/go_modules/github.com…
salasberryfin Aug 30, 2023
7db46f2
Merge pull request #262 from rancher/dependabot/github_actions/slacka…
salasberryfin Aug 30, 2023
994e0ec
Add a note to readme about e2e test runs
alexander-demicev Aug 30, 2023
f1c28c3
Bump K8S version in e2e tests
alexander-demicev Aug 30, 2023
1acbf7f
Bump actions/checkout from 3 to 4
dependabot[bot] Sep 4, 2023
a4b6ff1
Adding documentation to types.go
mjura Aug 24, 2023
54f7e72
Merge pull request #247 from mjura/api-docs
mjura Sep 6, 2023
0a15427
Bump actions/cache from 3.3.1 to 3.3.2
dependabot[bot] Sep 11, 2023
b0bf9ca
Bump actions/upload-artifact from 3.1.2 to 3.1.3
dependabot[bot] Sep 11, 2023
7c6cb5b
Bump docker/build-push-action from 4.1.1 to 4.2.1
dependabot[bot] Sep 11, 2023
62d847b
Bump golang.org/x/net from 0.14.0 to 0.15.0
dependabot[bot] Sep 11, 2023
a9ee99d
Merge pull request #268 from alexander-demicev/e2edoc
furkatgofurov7 Sep 12, 2023
13aa70e
Merge pull request #267 from alexander-demicev/bumpk8se2e
furkatgofurov7 Sep 12, 2023
05426ff
Merge pull request #275 from rancher/dependabot/go_modules/golang.org…
salasberryfin Sep 13, 2023
ced2edd
Merge pull request #274 from rancher/dependabot/github_actions/docker…
salasberryfin Sep 13, 2023
4a4b8c3
Merge pull request #273 from rancher/dependabot/github_actions/action…
salasberryfin Sep 13, 2023
61f76bd
Merge pull request #272 from rancher/dependabot/github_actions/action…
salasberryfin Sep 13, 2023
cd6a773
Merge pull request #270 from rancher/dependabot/github_actions/action…
alexander-demicev Sep 14, 2023
9824316
Remove unused workflow scripts
alexander-demicev Sep 13, 2023
9b03a95
Publish custom rancher chart with operator
alexander-demicev Sep 13, 2023
cba6e39
Migrate dependency update to reusable workflow
alexander-demicev Sep 13, 2023
daa2e61
Bump dependencies to support k8s v1.27
furkatgofurov7 Sep 12, 2023
f4cd552
Remove `InformersPackage`, `ClientSetPackage` & `ListersPackage`
furkatgofurov7 Sep 12, 2023
135ab02
Bump GINKGO_VER to v2.12.0 in Makefile to fix warnings
furkatgofurov7 Sep 18, 2023
6376dc6
Merge pull request #277 from furkatgofurov7/master-k8s-1-27-support-bump
mjura Sep 18, 2023
3401ada
Bump docker/metadata-action from 4.6.0 to 5.0.0
dependabot[bot] Sep 18, 2023
809089e
Merge pull request #280 from alexander-demicev/newworkflows
mbologna Sep 19, 2023
bab2092
Bump docker/build-push-action from 4.2.1 to 5.0.0
dependabot[bot] Sep 19, 2023
0d3a397
Bump docker/setup-buildx-action from 2.10.0 to 3.0.0
dependabot[bot] Sep 19, 2023
8eeecb5
Bump github.com/onsi/ginkgo/v2 from 2.12.0 to 2.12.1
dependabot[bot] Sep 25, 2023
9ac6482
Merge pull request #286 from rancher/dependabot/go_modules/github.com…
alexander-demicev Sep 27, 2023
f2afc1d
Merge pull request #284 from rancher/dependabot/github_actions/docker…
alexander-demicev Sep 27, 2023
5a0d897
Merge pull request #283 from rancher/dependabot/github_actions/docker…
alexander-demicev Sep 27, 2023
3a7301c
Merge pull request #282 from rancher/dependabot/github_actions/docker…
alexander-demicev Sep 27, 2023
8b61d5b
Bump github.com/onsi/ginkgo/v2 from 2.12.1 to 2.13.0
dependabot[bot] Oct 9, 2023
1c28be2
Bump github.com/rancher/machine
dependabot[bot] Oct 9, 2023
ac23e77
Bump golang.org/x/net from 0.15.0 to 0.17.0
dependabot[bot] Oct 11, 2023
4b1dc2f
Merge pull request #293 from rancher/dependabot/go_modules/golang.org…
furkatgofurov7 Oct 17, 2023
9da2841
Check for duplicate names for NodePools
mjura Oct 23, 2023
75c3dde
Merge pull request #297 from mjura/main-check-duplication
mjura Oct 26, 2023
36e9295
Bump sigs.k8s.io/yaml from 1.3.0 to 1.4.0
dependabot[bot] Oct 30, 2023
4de0110
Fix for updating imported clusters
mjura Oct 31, 2023
7a31e4c
Merge pull request #301 from mjura/main-import-update
mjura Nov 1, 2023
94ea751
Add PULL_REQUEST_TEMPLATE.md
mjura Nov 2, 2023
df7dc49
Merge pull request #303 from mjura/main-pr-template
furkatgofurov7 Nov 13, 2023
fb99804
Merge pull request #290 from rancher/dependabot/go_modules/github.com…
furkatgofurov7 Nov 13, 2023
e839978
Merge pull request #291 from rancher/dependabot/go_modules/github.com…
furkatgofurov7 Nov 13, 2023
83c329a
Bump github.com/onsi/gomega from 1.27.10 to 1.30.0
dependabot[bot] Nov 13, 2023
a499fee
Merge pull request #300 from rancher/dependabot/go_modules/sigs.k8s.i…
salasberryfin Nov 13, 2023
a8f118e
Bump golang.org/x/net from 0.17.0 to 0.18.0
dependabot[bot] Nov 13, 2023
3e85deb
Merge pull request #304 from rancher/dependabot/go_modules/github.com…
salasberryfin Nov 15, 2023
0dad5c7
Merge pull request #305 from rancher/dependabot/go_modules/golang.org…
mjura Nov 23, 2023
ad0671a
Target release-v2.8 for dependabot
mjura Nov 23, 2023
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
27 changes: 27 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<!--
Label the PR with the kind of change this for:

kind/feature
kind/bug
kind/documentation
kind/regression
kind/*
-->

**What this PR does / why we need it**:

<!-- Enter a description of the change and why this change is needed -->

**Which issue(s) this PR fixes**
Issue #

**Special notes for your reviewer**:

**Checklist**:
<!-- Put an "X" character inside the brackets of each completed task. Some may be optional depending on the PR in which case these can be deleted -->

- [ ] squashed commits into logical changes
- [ ] includes documentation
- [ ] adds unit tests
- [ ] adds or updates e2e tests
- [ ] backport needed
1 change: 1 addition & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ updates:
directory: "/"
schedule:
interval: "weekly"
target-branch: "release-v2.8"
# Go
- package-ecosystem: "gomod"
directory: "/"
Expand Down
62 changes: 0 additions & 62 deletions .github/scripts/update-rancher-charts.sh

This file was deleted.

31 changes: 0 additions & 31 deletions .github/scripts/update-rancher-dep.sh

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/apidiff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
go-apidiff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: 1.20.x
- uses: actions/[email protected].1
- uses: actions/[email protected].2
with:
path: |
~/go/pkg/mod
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/e2e-latest-rancher.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ jobs:
AZURE_CLIENT_SECRET: ${{ secrets.AZURE_CLIENT_SECRET }}
AZURE_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
AZURE_RESOURCE_GROUP: ${{ secrets.AZURE_RESOURCE_GROUP }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
43 changes: 37 additions & 6 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,17 @@ on:
AZURE_RESOURCE_GROUP:
description: "Azure resource group"
required: true
SLACK_WEBHOOK_URL:
description: WebHook URL to use for Slack
required: true
jobs:
e2e-tests:
env:
REPO: ttl.sh/aks-operator-ci
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Export tag
Expand All @@ -33,17 +36,17 @@ jobs:
echo "commit_date=$COMMITDATE" >> $GITHUB_OUTPUT
- name: Docker meta
id: meta
uses: docker/metadata-action@v4.6.0
uses: docker/metadata-action@v5.0.0
with:
images: |
${{ env.REPO }}
tags: |
type=sha,format=short,prefix=${{ steps.export_tag.outputs.operator_tag }}-
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2.9.1
uses: docker/setup-buildx-action@v3.0.0
- name: Build and push image
uses: docker/build-push-action@v4.1.1
uses: docker/build-push-action@v5.0.0
with:
context: .
tags: ${{ steps.meta.outputs.tags }}
Expand All @@ -61,7 +64,7 @@ jobs:
uses: actions/setup-go@v4
with:
go-version: 1.20.x
- uses: actions/[email protected].1
- uses: actions/[email protected].2
with:
path: |
~/go/pkg/mod
Expand All @@ -84,8 +87,36 @@ jobs:
run: make e2e-tests
- name: Archive artifacts
if: always()
uses: actions/[email protected].2
uses: actions/[email protected].3
with:
name: ci-artifacts
path: _artifacts
if-no-files-found: ignore
- name: Send failed status to slack
if: failure() && github.event_name == 'schedule'
uses: slackapi/[email protected]
with:
payload: |
{
"blocks": [
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "AKS Operator E2E test run failed."
},
"accessory": {
"type": "button",
"text": {
"type": "plain_text",
"text": ":github:",
"emoji": true
},
"url": "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
}
}
]
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
2 changes: 1 addition & 1 deletion .github/workflows/lint.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 code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v4
with:
Expand Down
70 changes: 7 additions & 63 deletions .github/workflows/nightly-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,67 +2,11 @@ name: Nightly
on:
schedule:
- cron: '0 1 * * *'
workflow_dispatch:
jobs:
nightly_image:
env:
REPO_BASE: ttl.sh/aks-operator-nightly
TAG: 1d
runs-on: ubuntu-latest
outputs:
REPO: ${{ steps.setoutputs.outputs.repo}}
BUILD_DATE: ${{ steps.setoutputs.outputs.builddate}}
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set current date as env variable
run: echo "NOW=$(date +'%Y%m%d')" >> $GITHUB_ENV
- name: Set up Docker Buildx
id: buildx
uses: docker/[email protected]
- name: Build and push image
uses: docker/[email protected]
with:
context: .
tags: ${{ env.REPO_BASE}}-${{ env.NOW }}:${{ env.TAG }}
push: true
cache-from: type=gha
cache-to: type=gha,mode=max
target: aks-operator
file: test/e2e/Dockerfile.e2e
build-args: |
TAG=${{ env.TAG }}
REPO=${{ env.REPO_BASE }}-${{ env.NOW }}
COMMIT=${{ github.sha }}
- name: Set outputs
id: setoutputs
run: |
echo "repo=${{ env.REPO_BASE }}-${{ env.NOW }}" >> "$GITHUB_OUTPUT"
echo "builddate=${{ env.NOW }}" >> "$GITHUB_OUTPUT"
nightly_charts:
env:
REPO: ${{ needs.nightly_image.outputs.REPO }}
TAG: 1d
BUILD_DATE: ${{ needs.nightly_image.outputs.BUILD_DATE }}
runs-on: ubuntu-latest
needs: nightly_image
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install Helm
uses: azure/setup-helm@v3
with:
version: 'v3.12.1'
- name: Build charts
run: |
make charts
env:
CHART_VERSION: ${{ env.BUILD_DATE }}
GIT_TAG: ${{ env.BUILD_DATE }}
- name: Push charts
run: |
helm push bin/rancher-aks-operator-crd-${{ env.BUILD_DATE }}.tgz oci://ttl.sh/aks-operator
helm push bin/rancher-aks-operator-${{ env.BUILD_DATE }}.tgz oci://ttl.sh/aks-operator
publish_nightly:
uses: rancher-sandbox/highlander-reusable-workflows/.github/workflows/operator-with-latest-rancher-build.yaml@main
with:
operator_name: aks-operator
rancher_ref: release/v2.8
operator_commit: ${{ github.sha }}
6 changes: 3 additions & 3 deletions .github/workflows/scan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2.9.1
uses: docker/setup-buildx-action@v3.0.0
- name: Build image
uses: docker/build-push-action@v4.1.1
uses: docker/build-push-action@v5.0.0
with:
context: .
tags: ghcr.io/rancher/aks-operator:${{ github.sha }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/unit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: 1.20.x
- uses: actions/[email protected].1
- uses: actions/[email protected].2
with:
path: |
~/go/pkg/mod
Expand Down
Loading
Loading