Closed Bug 1019053 Opened 10 years ago Closed 10 years ago

Update Loop-Server Stage with the latest master

Categories

(Cloud Services :: Operations: Deployment Requests - DEPRECATED, task)

task
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: jbonacci, Assigned: bobm)

References

Details

(Whiteboard: [qa+])

We can have :alexis add the necessary branch/release information here...
Whiteboard: [qa+]
Blocks: 1018866
I'll build and push this.
Assignee: nobody → bobm
Alexis, we should tag I guess.
Flags: needinfo?(alexis+bugs)
Latest master has been pushed to stage, there was the following error output during the restart: 
events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: Redis connection to loo-ca-goccuvt046my.jk7o1z.0001.use1.cache.amazonaws.com:6379 failed - read ETIMEDOUT
    at RedisClient.on_error (/data/loop-server/node_modules/redis/index.js:185:24)
    at Socket.<anonymous> (/data/loop-server/node_modules/redis/index.js:95:14)
    at Socket.EventEmitter.emit (events.js:95:17)
    at net.js:440:14
    at process._tickCallback (node.js:415:13)
connect: res.on("header"): use on-headers module directly

It otherwise appears to be running.  Please verify.
Status: NEW → ASSIGNED
Hmmm, that looks not so good.
I will see if I can get some tests to hit Stage.
Right now, the load test seems broken.
:alexis - did you want something newer than master/0.4.0-DEV on Stage and Prod?
the latest master is what we want there, thanks!

I'll tag master with what we released.

Bob, I'm not sure to understand what this was, I guess it just means redis timed out, but not sure why and when.
Flags: needinfo?(alexis+bugs)
Alexis, Bob has to fake a version in the RPM in order to ping the release. I would rather increment versions as tags so we're not confused on this. If the current master is our release candidate, let tag a new version for clarity
Flags: needinfo?(alexis+bugs)
Tagged 0.4.0 at https://github.com/mozilla-services/loop-server/releases/tag/0.4.0

That would be helpful to me to understand how we can trigger a change on the stage environment. Anyone in ops can provide information about that?

Should we open a new bug each time we want to deploy a new version or is there a better way to deal with this?
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Flags: needinfo?(alexis+bugs)
Resolution: --- → FIXED
:alexis - usually we deploy on a train schedule, where we lot a bug to trigger that task, create a branch, push that to stage, test it, then log another bug to push that build to production.  For incremental changes - we should have a dev stack that gets auto deployed or self-service deployed by dev for each commit.  We should talk about our approach for deploys.  For FxA we pushed to prod weekly during early dev, then bi-weekly once we were released/stable.
and yes, we should open a new bug each time. :-)
Two actually: one for each deployment to loop-server Stage, the other for each deployment to loop-server Production. The first is always a dependency for the second.
(In reply to Alexis Metaireau (:alexis) from comment #9)
> Tagged 0.4.0 at
> https://github.com/mozilla-services/loop-server/releases/tag/0.4.0
> 
> That would be helpful to me to understand how we can trigger a change on the
> stage environment. Anyone in ops can provide information about that?
> 
> Should we open a new bug each time we want to deploy a new version or is
> there a better way to deal with this?

Tagging with semantic versioning + separate stage and production deployment bugs is the way to go.  Keeping a stage deployment bug open through QA and subsequent bugfix re-deployments before a given release is pushed to production seems to work pretty well.
Already done and tested.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.