Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Change MARATHON_NAME based on MoM #261

Merged
merged 1 commit into from
Jul 20, 2018
Merged

Change MARATHON_NAME based on MoM #261

merged 1 commit into from
Jul 20, 2018

Conversation

jeid64
Copy link
Contributor

@jeid64 jeid64 commented Jul 17, 2018

Backporting to 3.5.x branch.

Copy link
Contributor

@colin-msphere colin-msphere left a comment

Choose a reason for hiding this comment

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

Question about the new env var and it being undefined in Universe.

@@ -110,6 +111,7 @@ def main():
marathon_jenkins_port = os.environ['PORT1']
mesos_master = os.environ['JENKINS_MESOS_MASTER']
ssh_known_hosts = os.environ['SSH_KNOWN_HOSTS']
marathon_name = os.environ['MARATHON_NAME']
Copy link
Contributor

Choose a reason for hiding this comment

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

This will fail without an accompanying change to Universe. Maybe this should be os.getenv('MARATHON_NAME', 'marathon') and set a default to prevent failures.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's the only thing I'm adding in the new Universe release and should be there forever after that. Still think it's worth setting the default in code? Just seemed odd to me being the only default set in code.

@colin-msphere
Copy link
Contributor

The test errors are expected - SDK portions are not in this branch.

@jeid64 jeid64 merged commit 0c9645f into 3.5.x Jul 20, 2018
@colin-msphere colin-msphere deleted the jeid_backport_mom_fix branch July 20, 2018 20:45
kvish added a commit that referenced this pull request Sep 29, 2019
* Fixes from master applied to 3.5.x (#251)

* Update mesos plugin hash to include instrumentation

* Update default agent to 0.6.0 (#207)

* Update mesos plugin (#210)

* Update jackson plugin to latest

* Discover jenkins with autoip host name instead of host:port (#249)

Address [COPS-3395](https://jira.mesosphere.com/browse/COPS-3395)

* Always update the URL in mesos cloud config (#252)

* Always update the URL in mesos cloud config

The assigned port is dynamic and may change between runs.

* Always update Jenkins URL

* Update CHANGELOG for 3.5.1 (#253)

* Changed Jenkins URL to support Jenkins when deployed to a MoM. (#261)

* Fixing Mesos DNS name handling. (#273)

* [COPS-4290] Bump jenkins base version and plugins (#283)

* bump jenkins base tech 2.150.1

* Setting 'keepalive' for nginx

Research has indicated that this could help reduce '504 timeout'
errors and stress on the system when nginx is functioning as
a revers proxy.  Adding the server directives for keepalive
as noted here:

http://nginx.org/en/docs/http/ngx_http_upstream_module.html#keepalive

* bump libmesos version

* remove stale files

* removing stale files

* bump blue ocean plugins

* updating jenkins lts release

* bump branch api plugin

* seperate plugins from dockerfile

* seperate plugins

* nit: newline

* Bump plugins to help with jenkins timeouts (#286)

* udate plugins and nginx

* bump plugin

* remove unused file

* Fix Jenkins on strict mode (#290)

* new LTS version of Jenkins (#292)

blueocean 1.14.0
nginx 1.10.3
various plugin updates

* new LTS version of Jenkins (#294)

* new LTS version of Jenkins (#295)
kaiwalyajoshi pushed a commit that referenced this pull request Oct 3, 2019
* Fixes from master applied to 3.5.x (#251)

* Update mesos plugin hash to include instrumentation

* Update default agent to 0.6.0 (#207)

* Update mesos plugin (#210)

* Update jackson plugin to latest

* Discover jenkins with autoip host name instead of host:port (#249)

Address [COPS-3395](https://jira.mesosphere.com/browse/COPS-3395)

* Always update the URL in mesos cloud config (#252)

* Always update the URL in mesos cloud config

The assigned port is dynamic and may change between runs.

* Always update Jenkins URL

* Update CHANGELOG for 3.5.1 (#253)

* Changed Jenkins URL to support Jenkins when deployed to a MoM. (#261)

* Fixing Mesos DNS name handling. (#273)

* [COPS-4290] Bump jenkins base version and plugins (#283)

* bump jenkins base tech 2.150.1

* Setting 'keepalive' for nginx

Research has indicated that this could help reduce '504 timeout'
errors and stress on the system when nginx is functioning as
a revers proxy.  Adding the server directives for keepalive
as noted here:

http://nginx.org/en/docs/http/ngx_http_upstream_module.html#keepalive

* bump libmesos version

* remove stale files

* removing stale files

* bump blue ocean plugins

* updating jenkins lts release

* bump branch api plugin

* seperate plugins from dockerfile

* seperate plugins

* nit: newline

* Bump plugins to help with jenkins timeouts (#286)

* udate plugins and nginx

* bump plugin

* remove unused file

* Fix Jenkins on strict mode (#290)

* new LTS version of Jenkins (#292)

blueocean 1.14.0
nginx 1.10.3
various plugin updates

* new LTS version of Jenkins (#294)

* new LTS version of Jenkins (#295)

* Add gid, uid=99 for nobody user.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants