Skip to content
This repository was archived by the owner on Dec 16, 2024. It is now read-only.

Target servo-master\d+ with PCRE in the top file - #292

Merged
bors-servo merged 1 commit into
servo:masterfrom
aneeshusa:fix-servo-master-top-match
Apr 4, 2016
Merged

bors-servo merged 1 commit into
servo:masterfrom
aneeshusa:fix-servo-master-top-match

Conversation

@aneeshusa

Copy link
Copy Markdown
Contributor

This fixes the targeting for servo-master\d+ so that the extra states
are actually applied.

I noticed this while reviewing the travis builds for #291.
This was missed in both #284 and #285!


This change is Reviewable

We now number the servo-master IDs like other machines,
so use PCRE targeting to match the `servo-master\d+` pattern
for both states and the Travis test pillars.

This ensures the relevant pillars are available to master machines
and the master-specific states are applied.
@aneeshusa
aneeshusa force-pushed the fix-servo-master-top-match branch from 77b1a6c to 00f2802 Compare April 3, 2016 18:46
@larsbergstrom

Copy link
Copy Markdown
Contributor

r? @edunham

I think there were a couple of these edits you were also looking at after the moveover?

@larsbergstrom

Copy link
Copy Markdown
Contributor

Namely, does this also need:

root@servo-master1:/srv/salt# git diff
diff --git a/common/map.jinja b/common/map.jinja
index 52f99f4..c7d6239 100644
--- a/common/map.jinja
+++ b/common/map.jinja
@@ -3,7 +3,7 @@
       'defaults': {
         'servo_home': '/home/servo',
         'hosts': {
-          'servo-master': '96.126.125.232',
+          'servo-master1': '52.37.76.55',
           'servo-linux1': '66.228.48.56',
           'servo-linux2': '173.255.201.95',
           'servo-linux3': '45.79.167.177',

@aneeshusa

Copy link
Copy Markdown
Contributor Author

I asked about it before, but I think now we're actually trying to get rid of that entire list (see #287). If anything is using those hosts entries for lookups instead of DNS, it's a bug.

@larsbergstrom

Copy link
Copy Markdown
Contributor

@bors-servo r+

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 00f2802 has been approved by larsbergstrom

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 00f2802 with merge fe36d77...

bors-servo pushed a commit that referenced this pull request Apr 4, 2016
…strom

Target servo-master\d+ with PCRE in the top file

This fixes the targeting for servo-master\d+ so that the extra states
are actually applied.

I noticed this while reviewing the travis builds for #291.
This was missed in both #284 and #285!

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/saltfs/292)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown
Contributor

☀️ Test successful - travis

@bors-servo
bors-servo merged commit 00f2802 into servo:master Apr 4, 2016
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.

3 participants