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

Update test/packet instructions for running CI tests on dedicated instances #16423

Merged

Conversation

christarazi
Copy link
Member

  • test/packet: Update README.md
  • test/packet: Update terraform script
  • test/packet: Update provision installation script

@christarazi christarazi added area/misc Impacts miscellaneous areas of the code not otherwise owned by another area. kind/enhancement This would improve or streamline existing functionality. needs-backport/1.10 release-note/misc This PR makes changes that have no direct user impact. labels Jun 3, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot added dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. and removed dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. labels Jun 3, 2021
@christarazi christarazi changed the title pr/christarazi/update packet instructions Update test/packet instructions for running CI tests on dedicated instances Jun 3, 2021
@christarazi christarazi force-pushed the pr/christarazi/update-packet-instructions branch from d782148 to 145c607 Compare June 3, 2021 19:41
@christarazi christarazi marked this pull request as ready for review June 3, 2021 19:41
@christarazi christarazi requested a review from a team as a code owner June 3, 2021 19:41
@christarazi christarazi requested a review from nebril June 3, 2021 19:41
@christarazi christarazi requested a review from aanm June 3, 2021 19:41
1) Enter the `test` directory with `cd test`
1) Run the ginkgo command to initialize the tests, for example:
`K8S_VERSION=1.14 ginkgo --focus="K8s" -v -- --cilium.showCommands --cilium.holdEnvironment=true`
1) Once tests are running and if you are running `screen`, you can leave the terminal
Copy link
Member

Choose a reason for hiding this comment

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

step 1)

Copy link
Member Author

Choose a reason for hiding this comment

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

I don't understand :). If you're referring to all the steps being marked as "1", that's supported by markdown and it will render properly. But I'll change it anyway so that we can refer to it easily.

Copy link
Member

Choose a reason for hiding this comment

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

Oh it is? My bad then 🙈

@christarazi christarazi force-pushed the pr/christarazi/update-packet-instructions branch from 145c607 to e67494e Compare June 3, 2021 21:50
This commit includes various updates:
  - Rework the formatting so that it is renderable and readable in the
    browser
  - Add missing instructions to create a ssh key pair
  - Clarify the terraform variables that need to be set
  - Use terraform > 0.13 syntax (drop the `.` from `terraform init .`)

Signed-off-by: Chris Tarazi <chris@isovalent.com>
This commits makes various updates to the terraform script:

  - Rename references from `packet` to `metal` as
    https://github.com/packethost/terraform-provider-packet has been
    deprecated in favor of
    https://github.com/equinix/terraform-provider-metal
  - Use the `metal` provider
    (https://registry.terraform.io/providers/equinix/metal/latest)
  - Add the ability to use / create an SSH key within metal / packet
    - Introduce `public_key_path` for specifying the public key to
      upload to metal / packet
    - Depend on the SSH key for the provisioning steps
  - Use Ubuntu 20.04 LTS by default

Signed-off-by: Chris Tarazi <chris@isovalent.com>
This commit contains various updates to the script:

  - Drop VIRTUALBOX_VERSION as it is no longer needed because 6.0 is now
    the default version on the recent Ubuntu releases (after bionic)
  - Update the VAGRANT_VERSION to a more modern version
  - Install NFS client and server for better compatibility with our
    e2e suite

Signed-off-by: Chris Tarazi <chris@isovalent.com>
@christarazi christarazi force-pushed the pr/christarazi/update-packet-instructions branch from e67494e to 9f704ae Compare June 3, 2021 22:10
@aanm aanm merged commit 5bb9211 into cilium:master Jun 4, 2021
@christarazi christarazi deleted the pr/christarazi/update-packet-instructions branch June 4, 2021 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/misc Impacts miscellaneous areas of the code not otherwise owned by another area. kind/enhancement This would improve or streamline existing functionality. release-note/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants