Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
a9cfcb6
Update operations-per-run limits (#514)
imuqtadir Oct 19, 2021
10d5853
feat(chart): Add servicemonitor (#517)
stevehipwell Oct 25, 2021
da8a268
Add AWS Health event support for QP mode (#510)
AustinSiu Oct 27, 2021
65992b0
🥑🤖 v1.14.0 release prep 🤖🥑 (#519)
AustinSiu Oct 27, 2021
f539f71
Deprecate draft-release-notes task (#525)
AustinSiu Oct 27, 2021
062f08c
🥑🤖 v1.14.0 release 🤖🥑 (#522)
ec2-bot Oct 28, 2021
805ff9f
Set enableProbesServer in queue processor mode release artifacts (#524)
gabegorelick Oct 28, 2021
f23e66e
Add community meeting announcement to readme (#528)
bwagner5 Nov 3, 2021
3d39e4f
Fixing typo (#531)
yuvraj9 Nov 8, 2021
7e697eb
Add CODEOWNERS to strengthen branch protections (#532)
snay2 Nov 9, 2021
ffd6a1c
Fix custom nodeAffinity via values.yaml (#515)
ngoyal16 Nov 19, 2021
ceadee9
Support custom labels (#529)
nlamirault Dec 15, 2021
7040c8e
Add configurable taint effect (#539)
hamishforbes Dec 15, 2021
e00c622
Add community meeting details (#551)
brycahta Dec 17, 2021
d6d71c4
Remove exit when cordon failed (#552)
liorfranko Jan 3, 2022
80ac9c0
Wrap volumes key in conditional to protect from being nil (#555)
gaffneyd4 Jan 4, 2022
45bce9b
link to ics file for community meeting event (#557)
bwagner5 Jan 4, 2022
1c61c2d
feat(chart): refactor helm chart (#540)
stevehipwell Jan 12, 2022
2d2b229
typo (#560)
dannydombrowski Jan 12, 2022
8f1f86e
Remove last reference to Docker Hub and use a more precise term (#564)
snay2 Jan 31, 2022
10d2873
Update Chart.yaml (#563)
brycahta Jan 31, 2022
8b21d0d
🥑🤖 v1.14.1 release prep 🤖🥑 (#565)
snay2 Jan 31, 2022
d7d38c4
🥑🤖 v1.14.1 release 🤖🥑 (#566)
ec2-bot Feb 1, 2022
ae65a87
use github actions cache (#567)
bwagner5 Feb 1, 2022
6335fe6
Issue-573: Fixed Helm chart Indentation (#574)
vishnudevisetty Feb 3, 2022
33c6238
Support ASG-to-SQS Lifecycle Termination events (#568)
AustinSiu Feb 7, 2022
0ab461d
allow for dnsConfig directive (#571)
danquack Feb 8, 2022
00e9fda
feat[chart]: Add namespace to metadata (#579)
stevehipwell Feb 9, 2022
aede8d9
🥑🤖 v1.15.0 release prep 🤖🥑 (#580)
snay2 Feb 10, 2022
35ced6c
🥑🤖 v1.15.0 release 🤖🥑 (#581)
ec2-bot Feb 10, 2022
416da0b
Add and remove exclude-from-external-load-balancers label (#582)
tjs-intel Feb 11, 2022
0a250e7
:bug: :fire: only add the dns config not the entire chart.... (#586)
danquack Feb 16, 2022
6c7356d
Refactor gha workflows and run jobs periodically (#588)
brycahta Feb 16, 2022
540b24d
Move golangci-lint action to its own job (#590)
brycahta Feb 17, 2022
75195d1
Bold the headers in pull request template (#591)
brycahta Feb 17, 2022
10c5f58
Align badging in ReadMe with updated gha workflow (#592)
brycahta Feb 17, 2022
52228f5
Add support for docker buildx on linux builds (#594)
snay2 Feb 25, 2022
ee1b055
Filter nth pod while draining (#597)
imuqtadir Mar 1, 2022
3548931
Add a note related to encrypted SQS queues (#598)
MiLk Mar 4, 2022
3d47ad5
🥑🤖 v1.16.0 release prep (#600)
snay2 Mar 9, 2022
0fc6367
🥑🤖 v1.16.0 release 🤖🥑 (#602)
ec2-bot Mar 9, 2022
e5307a8
Add IsManaged nodeinfo field to scheduled events (#601)
boffbowsh Mar 15, 2022
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
5 changes: 3 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Issue #, if available:
**Issue #, if available:**

**Description of changes:**

Description of changes:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
159 changes: 78 additions & 81 deletions .github/workflows/ci.yml → .github/workflows/build-and-test.yaml
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
name: NTH Continuous Integration and Release

on: [push, pull_request, workflow_dispatch]
name: Build and Test

on:
push:
branches:
- main
tags-ignore:
- "v*.*.*"
pull_request:
workflow_dispatch:
# Run M-F at 5AM CDT
schedule:
- cron: '0 10 * * 1-5'

env:
DEFAULT_GO_VERSION: ^1.16
Expand All @@ -9,11 +19,9 @@ env:
WEBHOOK_URL: ${{ secrets.WEBHOOK_URL }}

jobs:

fastTests:
name: Fast Tests and Lints
name: Fast Test
runs-on: ubuntu-20.04
if: ${{ !contains(github.ref, 'refs/tags/') }}
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
Expand All @@ -23,6 +31,15 @@ jobs:
- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Restore go mod cache
uses: actions/cache@v2
with:
path: |
~/.cache/go-build
~/go/pkg/mod
~/go/bin/
key: gocache

- name: Unit Tests
run: make unit-test

Expand All @@ -34,16 +51,21 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Run golangci-lint
uses: golangci/[email protected]

- name: Generate K8s YAML
run: make generate-k8s-yaml

golangci:
# this action needs to run in its own job per setup
name: Lint Eastwood
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Set up golangci-lint
uses: golangci/[email protected]

buildLinux:
name: Build Linux Binaries
runs-on: ubuntu-20.04
if: ${{ !contains(github.ref, 'refs/tags/') }}
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
Expand All @@ -52,19 +74,37 @@ jobs:

- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Restore go mod cache
uses: actions/cache@v2
with:
path: |
~/.cache/go-build
~/go/pkg/mod
~/go/bin/
key: gocache

- name: Build Linux Binaries
run: make build-binaries

buildLinuxDocker:
name: Build Linux Docker Images
runs-on: ubuntu-20.04
if: ${{ !contains(github.ref, 'refs/tags/') }}
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ${{ env.DEFAULT_GO_VERSION }}

- name: Restore go mod cache
uses: actions/cache@v2
with:
path: |
~/.cache/go-build
~/go/pkg/mod
~/go/bin/
key: gocache

- name: Check out code into the Go module directory
uses: actions/checkout@v2

Expand All @@ -74,7 +114,6 @@ jobs:
buildWindows:
name: Build Windows Binaries
runs-on: windows-2019
if: ${{ !contains(github.ref, 'refs/tags/') }}
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
Expand All @@ -84,13 +123,21 @@ jobs:
- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Restore go mod cache
uses: actions/cache@v2
with:
path: |
~/.cache/go-build
~/go/pkg/mod
~/go/bin/
key: gocache

- name: Build Windows Binaries
run: choco install make && choco install zip && RefreshEnv.cmd && make build-binaries-windows

buildWindowsDocker:
name: Build Windows Docker Images
runs-on: windows-2019
if: ${{ !contains(github.ref, 'refs/tags/') }}
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
Expand All @@ -100,13 +147,21 @@ jobs:
- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Restore go mod cache
uses: actions/cache@v2
with:
path: |
~/.cache/go-build
~/go/pkg/mod
~/go/bin/
key: gocache

- name: Build Windows Docker Images
run: choco install make && RefreshEnv.cmd && make build-docker-images-windows

e2e:
name: E2E Tests
runs-on: ubuntu-20.04
if: ${{ !contains(github.ref, 'refs/tags/') }}
strategy:
matrix:
k8sVersion: ["1.17", "1.18", "1.19", "1.20", "1.21", "1.22"]
Expand All @@ -119,72 +174,14 @@ jobs:
- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: E2E Tests
run: test/k8s-local-cluster-test/run-test -v ${{ matrix.k8sVersion }}

releaseLinux:
name: Release Linux
runs-on: ubuntu-20.04
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ${{ env.DEFAULT_GO_VERSION }}

- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Release Linux Assets
run: make release
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_SESSION_TOKEN: ${{ secrets.AWS_SESSION_TOKEN }}

releaseWindows:
name: Release Windows
runs-on: windows-2019
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
- name: Restore go mod cache
uses: actions/cache@v2
with:
go-version: ${{ env.DEFAULT_GO_VERSION }}
path: |
~/.cache/go-build
~/go/pkg/mod
~/go/bin/
key: gocache

- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Release Windows Assets
run: choco install make && choco install zip && RefreshEnv.cmd && make release-windows
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_SESSION_TOKEN: ${{ secrets.AWS_SESSION_TOKEN }}

release:
name: Release
runs-on: ubuntu-20.04
needs: [releaseLinux, releaseWindows]
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ${{ env.DEFAULT_GO_VERSION }}

- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Create eks-charts PR
run: make ekscharts-sync-release

- name: Sync Readme to ECR Public
run: make sync-readme-to-ecr-public
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_SESSION_TOKEN: ${{ secrets.AWS_SESSION_TOKEN }}

- name: Create NTH README Update PR
run: make create-release-prep-pr-readme
- name: E2E Tests
run: test/k8s-local-cluster-test/run-test -v ${{ matrix.k8sVersion }}
80 changes: 80 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
name: Release

on:
push:
tags:
- "v*.*.*"

permissions:
contents: write # required for uploading releases

env:
DEFAULT_GO_VERSION: ^1.16
GITHUB_USERNAME: ${{ secrets.EC2_BOT_GITHUB_USERNAME }}
GITHUB_TOKEN: ${{ secrets.EC2_BOT_GITHUB_TOKEN }}
WEBHOOK_URL: ${{ secrets.WEBHOOK_URL }}

jobs:
releaseLinux:
name: Release Linux
runs-on: ubuntu-20.04
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ${{ env.DEFAULT_GO_VERSION }}

- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Release Linux Assets
run: make release
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_SESSION_TOKEN: ${{ secrets.AWS_SESSION_TOKEN }}

releaseWindows:
name: Release Windows
runs-on: windows-2019
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ${{ env.DEFAULT_GO_VERSION }}

- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Release Windows Assets
run: choco install make && choco install zip && RefreshEnv.cmd && make release-windows
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_SESSION_TOKEN: ${{ secrets.AWS_SESSION_TOKEN }}

release:
name: Release
runs-on: ubuntu-20.04
needs: [releaseLinux, releaseWindows]
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ${{ env.DEFAULT_GO_VERSION }}

- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Create eks-charts PR
run: make ekscharts-sync-release

- name: Sync Readme to ECR Public
run: make sync-readme-to-ecr-public
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_SESSION_TOKEN: ${{ secrets.AWS_SESSION_TOKEN }}

- name: Create NTH README Update PR
run: make create-release-prep-pr-readme
2 changes: 2 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
days-before-issue-close: -1
remove-stale-when-updated: true
stale-pr-label: "stale"
operations-per-run: 100
stale-pr-message: >
This PR has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If you want this PR to never become stale, please ask a maintainer to apply the "stalebot-ignore" label.
Expand All @@ -40,6 +41,7 @@ jobs:
days-before-pr-close: -1
remove-stale-when-updated: true
stale-issue-label: "stale"
operations-per-run: 100
stale-issue-message: >
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If you want this issue to never become stale, please ask a maintainer to apply the "stalebot-ignore" label.
Expand Down
Loading