Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@harryttd
Copy link
Contributor

@harryttd harryttd commented Aug 24, 2023

  • remove unused env vars
  • consolidate repetitive CI code
  • Update aws profile name from oxheadalpha to oxheadalpha_tempKubernetesAdmin as the role assumed is tempKubernetesAdmin. The way it currently is makes development locally annoying, as the aws profile name must match and include the role. But the plain name oxheadalpha, indicates just plain creds without assuming a role, and in order to interact with the clluster without it updating the kubeconfig's role name, you need to locally add the role to the oxheadalpha profile. You will need to update your local teztnets kubeconfig to use a profile named oxheadalpha_tempKubernetesAdmin that has the role to assume associated with it.

@harryttd harryttd self-assigned this Aug 24, 2023
@harryttd harryttd force-pushed the ci-updates branch 4 times, most recently from da64c3d to 94e5b0e Compare August 24, 2023 21:36
@pulumi

This comment has been minimized.

@harryttd harryttd changed the title Ci updates CI Updates Aug 24, 2023
@pulumi

This comment has been minimized.

@pulumi

This comment has been minimized.

@harryttd harryttd requested a review from nicolasochem August 24, 2023 21:56
@harryttd harryttd marked this pull request as ready for review August 24, 2023 21:56
Copy link
Contributor

@nicolasochem nicolasochem left a comment

Choose a reason for hiding this comment

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

Thanks. It looks good, I obviously couldn't test it but the CI passed on the pull request. Also I see that you linted release.py

We should merge and I might need your help to fix my local kubeconfig. I'm looking forward to not having to do AWS_PROFILE=oxheadalpha k9s anymore.

@pulumi
Copy link

pulumi bot commented Aug 24, 2023

🍹 The Update (preview) for tqtezos/teztnets/teztnets was successful.

Resource Changes

    Name                          Type                            Operation
~   teztnets-vpc-cni              eks:index:VpcCni                update
~   teztnets-provider             pulumi:providers:kubernetes     update
~   teztnets-eks-k8s              pulumi:providers:kubernetes     update
~   nairobinet/tezos-baking-node  kubernetes:apps/v1:StatefulSet  update
+-  nairobinet/tezos-config       kubernetes:core/v1:ConfigMap    create-replacement
+-  nairobinet/activate-job       kubernetes:batch/v1:Job         create-replacement

@harryttd harryttd merged commit 31a8806 into main Aug 24, 2023
@harryttd harryttd deleted the ci-updates branch August 24, 2023 22:08
@harryttd harryttd requested a review from orcutt989 August 24, 2023 22:08
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.

3 participants