This repository has been archived by the owner on Oct 23, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Make MESOS the default containerizer. * Make nobody the default user. * Purge all unncessary plugins except for a minimal set. * Configureable Jenkins Plugins Installation. (#312) * User configureable list of Jenkins plugins to be installed at service deployment time. * Reflect README with the new list of bundled plugins. * Bump JCasC to 1.35 * Replace config.xml with JCasC variant. Set Mesos to use mesos.leader instead of retreiving it from Zk. * Add missing JCasC file from previous commit. * Remove pinned-storage related options. * Remove pinned storage-hostnames. * Remove Marathon-LB related configs. * Re-add volumes support. Split configuration into DC/OS Service, Jenkins-Master and Jenkins-Agent sections respectively. * Add support for windows and linux jenkins agents. Remove support for additonal plugins (its not stable enough yet) * Load Mesos plugin from Jenkins CI repo. (#313) Summary: The Mesos plugin should be installed from the stable or experimental repository. * Move quota enforcement from scripts/bootstrap.py to an external shell-script as a python process can't alter the environment of its calling shell. * Apply correct DNS name when using frameworks in nested marathon groups. * Remove Nginx configuration setup from bootstrap.py. * Export env-var, not the value of the env-var. * Move creation of ssh-known-scripts out of scripts/bootstrap.sh * Remove scripts/boostrap.py and with it the Python dependencies. Set default user to nobody. * Fix missing entries since options restructuring. * Update base-tech to Jenkins 2.204.2 as the current release has security-vulnerabilities. * Re-add Marathon-LB settings. * Readd configureable Jenkins Plugins Installation. * Mention DCOS_OSS-5906 in the Dockerfile for future cleanups & simplifications. * Remove unused config/jenkins/config.xml and scripts/bootstrap.py files. * Remove dependency on libmesos. * Strict Mode Packaging for USI based Jenkins. (#316) * WIP: This works, but is messy. Make it easier and more elegant. * Remove DCOS_SERVICE_ACCOUNT_CREDENTIAL and associated references. * Re-add service-account, should'nt have been removed before. * Make private-key free-form as user config can be difficult to predict. * Use https for mesos leader URL. * Remove debugging outputs. * Move jenkins cpu and memory requirements into the jenkins-master config section. * Add Windows and Linux agent Dockerfiles. (#317) * Define default entrypoints for Docker images. (#319) If the Docker in Docker images define the `wrapper.sh` as their default entrypoint we won't have to use the custom shell in Mesos. JIRA issues: DCOS_OSS-5937 * Use /login as the health-check endpoint to allow least priveledged users. * MWT-24 Fixes (#320) * Update marathon.json.mustache to use strict-mode to set security related settings. * update jenkins.py to reflect changed options with version 4.0.0 * Change generator-job to be only run on labels of type linux as its the first job run. * Add support for Marathon group manipulation in sdk_marathon.py * Update sdk_security to provision secrets for new USI model of extracting secrets for version 4.0.0 * Remove provisioning of Jenkins Slaves, this is done by default when the service is installed. Update secret name to conform with USI. Add support for mesos-agent-labels. * Mark linux node as a priviledge Dind agent. (#321) * Mark linux node as a priviledge Dind agent. * Change Dind image. * Change DinD image to mesosphere/jenkins-dind:0.8.0 Co-authored-by: Kaiwalya Joshi <[email protected]> * Add anti-affinity for os:windows Mesos Attribute by default. (#322) * Set Jenkins linux agent to use mesosphere/jenkins-dind:0.8.0 * Change default agent user to nobody. * Change default agent user to nobody. * Define entrypoiht for Windows container. * Set agent user in load test. (#323) * Fix error when adding agent_user to options. Make service_user and agent_user configureable. * Make service-accounts configureable for service_user and agent_user (#324) * Set permissions for `nobody` * Make service accounts configureable. Co-authored-by: Kaiwalya Joshi <[email protected]> * Set run-delay to 10 to match work-duration. Co-authored-by: Karsten Jeschkies <[email protected]> Co-authored-by: Karsten Jeschkies <[email protected]> * Set cmd as entrypoint for Windows node container. (#325) Summary: The command defined in the Jenkins plugin is not compatible with Powershell. We need to use `cmd /k` instead. * Use version tagged releases of mesosphere/jenkins-windows-node from now on. * Bump min DC/OS version to 1.13. * Bump min DC/OS version to 1.11. * [D2IQ-67992] Remove Windows Support. (#326) * Remove Windows Agents from JCasC. * Remove jenkins-agent-images. * Remove Windows Agent Options from Marathon config and Cosmos config. * Remove os-anti-affinity option required for Windows agents interoperability. * Use mesos:2.0-beta19 plugin. * Fixes from the Scale Test Dry-Run (#327) - Delete any pre-existing secrets before uploading new ones. - Bump DinD image to `19.03-dind` * Use mesos:2.0-beta20 plugin. * Use overlay2 as the storage-driver for DinD image. (#328) * Use Mesos 2.0 plugin. * Enforce Jenkins Agent Port Settings. * Fix Groovy initilization errors. * Fix startup failures. Bump Jenkins base-tech to 2.204.6 and bump associated plugins. * Set dind image to 0.9.0 Co-authored-by: Karsten Jeschkies <[email protected]> Co-authored-by: Karsten Jeschkies <[email protected]>
- Loading branch information