Skip to content

Fix upgrade/downgrade - #3190

Merged
vito merged 3 commits into
masterfrom
fix-upgrade-downgrade
Feb 1, 2019
Merged

vito merged 3 commits into
masterfrom
fix-upgrade-downgrade

Conversation

@vito

@vito vito commented Feb 1, 2019

Copy link
Copy Markdown
Contributor

fixes #2149, improves the polling for worker to be available (important for worker version bumps), and also uh, makes them work again post-refactor (which was merged quicker to expedite concourse/dev fix)

this can be verified with:

env DOCKERFILE=ci/dockerfiles/dev-test/Dockerfile fly -t ci e -c ci/tasks/upgrade-test.yml -j concourse/watsjs -i concourse=$PWD -p
env DOCKERFILE=ci/dockerfiles/dev-test/Dockerfile fly -t ci e -c ci/tasks/downgrade-test.yml -j concourse/watsjs -i concourse=$PWD -p

vito added 3 commits February 1, 2019 00:02
prior to this change the 'fly workers' could list the *old* worker
and fool the script into continuing on

it'd be nice if ephemeral workers disappeared immediately on normal
shutdown 🤷

Signed-off-by: Alex Suraci <[email protected]>
this allows the smoke-tests to always run against the latest version, so
we don't need to version it, and should provide enough assurance that
things are still working.

also fixes #2149

Signed-off-by: Alex Suraci <[email protected]>
@vito
vito merged commit f9040e8 into master Feb 1, 2019
@vito
vito deleted the fix-upgrade-downgrade branch February 1, 2019 04:49
@vito vito added the release/no-impact This is an issue that never affected released versions (i.e. a regression caught prior to shipping). label Feb 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release/no-impact This is an issue that never affected released versions (i.e. a regression caught prior to shipping).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The downgrade job in the concourse ci pipeline should probably perform an upgrade afterwards

1 participant