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

Create automated KOPS release test. #1076

Merged
merged 7 commits into from
Jul 16, 2020
Merged

Conversation

bnapolitan
Copy link
Contributor

Create cluster using KOPS and run conformance tests against that cluster.

commit 6263a85
Author: Ben Napolitan <bnapolitan@outlook.com>
Date:   Tue Jul 7 15:21:25 2020 -0400

    Fix syntax error.

commit b6e347d
Author: Ben Napolitan <bnapolitan@outlook.com>
Date:   Tue Jul 7 13:26:39 2020 -0400

    Organization improved.

commit be8d464
Author: Ben Napolitan <bnapolitan@outlook.com>
Date:   Tue Jul 7 13:26:28 2020 -0400

    Extract kops conformance, improve organization.

commit 962a6df
Author: Ben Napolitan <bnapolitan@outlook.com>
Date:   Mon Jul 6 14:17:39 2020 -0400

    Kubectl change.

commit 1506500
Author: Ben Napolitan <bnapolitan@outlook.com>
Date:   Fri Jul 3 14:54:23 2020 -0400

    Reduce daemonset update sleep.

commit a69f3ee
Author: Ben Napolitan <bnapolitan@outlook.com>
Date:   Fri Jul 3 14:50:23 2020 -0400

    CircleCI step fix.

commit ba806fa
Author: Ben Napolitan <bnapolitan@outlook.com>
Date:   Fri Jul 3 14:32:57 2020 -0400

    Poll for updated daemonset.

commit 249f22e
Author: Ben Napolitan <bnapolitan@outlook.com>
Date:   Wed Jul 1 13:01:24 2020 -0400

    Clean up kops odds and ends.

commit a38db08
Author: Ben Napolitan <bnapolitan@outlook.com>
Date:   Tue Jun 30 13:54:30 2020 -0400

    Attempt kops run in parallel.

commit 015bba8
Author: Ben Napolitan <bnapolitan@outlook.com>
Date:   Tue Jun 30 12:54:08 2020 -0400

    Redirect kubeconfig.

commit cfec829
Author: Ben Napolitan <bnapolitan@outlook.com>
Date:   Mon Jun 29 16:56:07 2020 -0400

    Change kubectl command.

commit f504d5e
Author: Ben Napolitan <bnapolitan@outlook.com>
Date:   Mon Jun 29 16:40:09 2020 -0400

    Accidental comment.

commit 2c18742
Author: Ben Napolitan <bnapolitan@outlook.com>
Date:   Mon Jun 29 15:24:11 2020 -0400

    Fix circleci template.

commit 96dd409
Author: Ben Napolitan <bnapolitan@outlook.com>
Date:   Mon Jun 29 15:23:07 2020 -0400

    More applying changes.

commit 3298c4c
Author: Ben Napolitan <bnapolitan@outlook.com>
Date:   Mon Jun 29 13:08:19 2020 -0400

    Missing backslash.

commit 42c7665
Author: Ben Napolitan <bnapolitan@outlook.com>
Date:   Mon Jun 29 12:54:11 2020 -0400

    Fix syntax error.

commit 82e5444
Author: Ben Napolitan <bnapolitan@outlook.com>
Date:   Mon Jun 29 12:41:31 2020 -0400

    Try conformance tests.

commit 6476d67
Author: Ben Napolitan <bnapolitan@outlook.com>
Date:   Mon Jun 29 12:04:27 2020 -0400

    Attempt normal integration tests.

commit 6bceefa
Author: Ben Napolitan <bnapolitan@outlook.com>
Date:   Sun Jun 28 20:59:51 2020 -0400

    Attempt to run integration tests.

commit 32862a4
Author: Ben Napolitan <bnapolitan@outlook.com>
Date:   Sun Jun 28 19:00:28 2020 -0400

    SSH key change

commit 3027e40
Author: Ben Napolitan <bnapolitan@outlook.com>
Date:   Sun Jun 28 16:25:58 2020 -0400

    Move secret creations.

commit 340c4e8
Author: Ben Napolitan <bnapolitan@outlook.com>
Date:   Sun Jun 28 16:07:18 2020 -0400

    Edit cluster name.

commit 2242dc3
Author: Ben Napolitan <bnapolitan@outlook.com>
Date:   Sun Jun 28 15:58:31 2020 -0400

    Poll for updated cluster.

commit c7f7d4a
Author: Ben Napolitan <bnapolitan@outlook.com>
Date:   Sun Jun 28 14:52:06 2020 -0400

    Create secret for kops.

commit f734470
Author: Ben Napolitan <bnapolitan@outlook.com>
Date:   Sun Jun 28 13:39:16 2020 -0400

    Correct bucket.

commit b59210a
Author: Ben Napolitan <bnapolitan@outlook.com>
Date:   Sun Jun 28 13:19:50 2020 -0400

    Full DNS name.

commit 6848aad
Author: Ben Napolitan <bnapolitan@outlook.com>
Date:   Sun Jun 28 12:54:42 2020 -0400

    Fix incorrect bucket change.

commit b6305d9
Author: Ben Napolitan <bnapolitan@outlook.com>
Date:   Sun Jun 28 12:30:44 2020 -0400

    Install kops.

commit 11a64b6
Author: Ben Napolitan <bnapolitan@outlook.com>
Date:   Sat Jun 27 17:00:15 2020 -0400

    Retry kops change.

commit 480f6bc
Author: Ben Napolitan <bnapolitan@outlook.com>
Date:   Fri Jun 26 17:41:08 2020 -0400

    Mark cluster created, try kops again.

commit f720dc5
Author: Ben Napolitan <bnapolitan@outlook.com>
Date:   Fri Jun 26 16:03:57 2020 -0400

    Kops test attempt.

commit efcb97a
Author: Ben Napolitan <bnapolitan@outlook.com>
Date:   Fri Jun 26 11:53:13 2020 -0400

    Make changes to kops config yaml.

commit d53c888
Author: Ben Napolitan <bnapolitan@outlook.com>
Date:   Fri Jun 26 11:23:33 2020 -0400

    Revert "Try new kops run."

    This reverts commit bc9b22a.

commit 9e1539e
Author: Ben Napolitan <bnapolitan@outlook.com>
Date:   Fri Jun 26 02:14:30 2020 -0400

    Try new kops run.

commit cef0ab0
Author: Ben Napolitan <bnapolitan@outlook.com>
Date:   Thu Jun 25 15:29:07 2020 -0400

    Attempt kops run.
scripts/run-integration-tests.sh Outdated Show resolved Hide resolved
go install github.com/onsi/ginkgo/ginkgo
wget -qO- https://dl.k8s.io/v$K8S_VERSION/kubernetes-test.tar.gz | tar -zxvf - --strip-components=4 -C /tmp kubernetes/platforms/linux/amd64/e2e.test

ginkgo -p --focus="Conformance" --failFast --flakeAttempts 2 \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we use the full path for ginko here? $GOPATH/bin/ginko

scripts/lib/cluster.sh Outdated Show resolved Hide resolved
scripts/run-integration-tests.sh Outdated Show resolved Hide resolved
Copy link
Contributor

@mogren mogren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thanks a lot @bnapolitan!

I think we should add a weekly scheduled job in CircleCI that runs this and the performance tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants