-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
Jenkins job to do daily node maintenance #10
Comments
I have a job that adds new nodes and adds the default labels (Endian, OS, architecture and kernel). I am also working on a job that will pull the inventory file from git. I'll push them both soon. |
So a useful command to know would be "_meta": {
"hostvars": {
"build-osuosl-centos74-ppc64le-1": {
"uid": "1",
"type": "build",
"ansible_become": true,
"ansible_user": "centos",
"arch": "ppc64le",
"provider": "osuosl",
"os": "centos74",
"ansible_host": "140.211.168.138"
},
"build-scaleway-ubuntu1604-x64-2": {
"uid": "2",
"provider": "scaleway",
"type": "build",
"os": "ubuntu1604",
"ansible_host": "51.15.46.107",
"arch": "x64"
}
} |
@gdams thanks! I'll look into it |
I have just created a PR for the second part of this issue, creating new nodes. I have submitted the parts separate because those jobs were very close to their usable states and incase I don't get around to finishing the Node maintenance job there'll at least be these jobs to automate most of the work. |
- Added CreateNewNode job - Updated readme file to include the new job - Moved string constants to the vars directory of the Node helper API Issue adoptium#10
- Added CreateNewNode job - Updated readme file to include the new job - Moved string constants to the vars directory of the Node helper API - added a input parameter for SSH key id in CreateNewNode issue adoptium#10 Signed-off-by: Shubham Verma <shubhamv.sv@gmail.com>
- This is part of what NodeMaintaince job will be doing - This job only updates labels and desription - Updated readme for UpdateMachineIdentifiers - Replaced initial_run with overWriteLabels - Added functionality to allow user to overwrite pre-configured labels issue adoptium#10 Signed-off-by: Shubham Verma <shubhamv.sv@gmail.com>
We'll need a job that runs periodically and validates the machines on Jenkins with those in the inventory file. Along with adding machines the job will also any labels mentioned in the inventory file.
The text was updated successfully, but these errors were encountered: