-
Notifications
You must be signed in to change notification settings - Fork 307
add script to run TCE CAPD standalone cluster + travis CI job config to run script #583
add script to run TCE CAPD standalone cluster + travis CI job config to run script #583
Conversation
I think @rajaskakodkar has some code which does the checks for docker and TCE installation and also does |
ec01505
to
55e9324
Compare
I also had to fix some issues relating to the script code not supporting placement of the script file and running from anywhere. Now it's all fixed I believe, and I'm trying out a Travis CI job now to ensure that it's all working |
I'm also providing access the fork private repo so that you can view the Travis CI job log to see how it looks like and if it's all working good I'm giving access to this repo - https://github.com/karuppiah7890/tce to @dvonthenen @stmcginnis @jpmcb @joshrosso @rajaskakodkar Travis CI jobs for the repo are here - https://travis-ci.com/github/karuppiah7890/tce/ Let me know if you can't view it |
It looks like this PR #590 is storing stuff in the |
Since you are opening the PR from a fork, can you please run |
another thought... since this really isnt a "hack" maybe this should actually go into a folder off the root of the repo like in |
You are right about the difference in directory naming @dvonthenen . I used the current naming in this PR based on the suggestion here. Me and @rajaskakodkar figured that whichever PR gets merged first with an agreed upon naming, we can change the other PR's directory naming to the agree upon name |
@dvonthenen |
I had already run You can click here to see "make check" logs!
|
I'm also noticing from Travis CI config warnings and some info on defaults, I'll fix that too
|
Regarding GitHub token - I'm already assuming that the GitHub token environment variable is injected through Travis CI settings and not Also, when do we want to run this script? And how do we want to get TCE? As of now I see that for nightly jobs we want to run |
55e9324
to
4c9a2d5
Compare
PR Review Comments and Status
Additional Tasks
Open questions
|
I have put the review comments and status of the work for the review comment. And also open questions. I think only one task is remaining for me - regarding the Please let me know if you folks have any other review comments :) @dvonthenen @stmcginnis @jpmcb Also please do let me know who (all) would need approve this PR and who would merge it so that I can ping them here |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did we want to investigate the github actions before merging? Or did we want to merge and iterate?
@dvonthenen we can use GitHub Actions I think. As #590 (AWS) takes time and Travis CI doesn't support large job timeouts, we can already do that change. I think we can merge #590 first, along with GitHub Actions, and then come back to this PR. I'm looking forward to getting these two PRs merged so that we can move forward with other things |
I commented on #590 (comment) |
I have created a separate issue #609 regarding usage of GitHub Actions for E2E test automation |
4c9a2d5
to
54ea8c5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me
What this PR does / why we need it
This is to run TCE CAPD standalone cluster automatically using a script with no manual human intervention. This is a precursor to our next step of running end to end (E2E) tests for TCE in an automated manner. So, in order to run E2E tests in an automated manner we first need a cluster up and running using TCE
Which issue(s) this PR fixes
Fixes: #582
Describe testing done for PR
Special notes for your reviewer
Assumptions
Do we need to use the below cleanup commands in CI? Especially if CI is gonna kill / cleanup the machine? As that will kill the containers too and remove the containers and all other resources like networks, volumes, images
docker kill $(docker ps -q)
docker system prune --volumes
- TODO: This is an interactive command and not automatic. Needs some changesAlso, above command assume that all containers are related to TCE. Or we need to use labels or the name of the containers which container cluster name prefix. I can see labels provided by the kind cluster -
Does this PR introduce a user-facing change?