Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1303938 - [RFE] ability to deploy newest image without triggers
[RFE] ability to deploy newest image without triggers
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: RFE (Show other bugs)
3.1.0
Unspecified Unspecified
high Severity medium
: ---
: ---
Assigned To: Michail Kargakis
zhou ying
:
: 1303963 1379563 (view as bug list)
Depends On:
Blocks: 1267746
  Show dependency treegraph
 
Reported: 2016-02-02 08:05 EST by Evgheni Dereveanchin
Modified: 2017-03-08 13 EST (History)
11 users (show)

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
A new endpoint and 'oc rollout latest' that uses the endpoint and supersedes 'oc deploy --latest' are added in 3.4 to enable manual deployments without the need to enable triggers.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-01-18 07:39:12 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:0066 normal SHIPPED_LIVE Red Hat OpenShift Container Platform 3.4 RPM Release Advisory 2017-01-18 12:23:26 EST

  None (edit)
Description Evgheni Dereveanchin 2016-02-02 08:05:14 EST
Description of request:

Currently it's impossible to specify when to start a deployment with the latest image. Triggers will cause each build to cause a deploy. To overcome that triggers have to be disabled, and enabled once a deploy is desired. This Request is to add possibility to deploy the newest image manually without enabling triggers.

Upstream RFE:
https://trello.com/c/uQP2AxXy/508-deploy-most-recently-available-image


Version-Release number of selected component (if applicable):
3.1.1
Comment 1 Josep 'Pep' Turro Mauri 2016-02-03 07:27:35 EST
*** Bug 1303963 has been marked as a duplicate of this bug. ***
Comment 2 Michail Kargakis 2016-09-27 05:19:35 EDT
*** Bug 1379563 has been marked as a duplicate of this bug. ***
Comment 6 zhou ying 2016-10-17 01:55:48 EDT
Confirmed with latest OCP 3.4, use 'oc rollout latest' command can deploy with the latest image:
openshift version
openshift v3.4.0.11
kubernetes v1.4.0+776c994
etcd 3.1.0-alpha.1

[root@dhcp-141-156 testjson]# oc describe is ruby-ex
Name:			ruby-ex
Namespace:		testzy
Created:		10 minutes ago
Labels:			app=ruby-ex
Annotations:		openshift.io/generated-by=OpenShiftNewApp
Docker Pull Spec:	172.30.42.137:5000/testzy/ruby-ex
Unique Images:		1
Tags:			1

latest
  pushed image

  * 172.30.42.137:5000/testzy/ruby-ex@sha256:6668749007147d3084cabb28086e4bdd1cc8c58d312fe8deae60b46c8e91ca90
      7 minutes ago

[root@dhcp-141-156 testjson]# oc describe po ruby-ex-1-omnsj
Name:			ruby-ex-1-omnsj
Namespace:		testzy
Security Policy:	restricted
......
Containers:
  ruby-ex:
    Container ID:	docker://da1a65d7379625480619e6d90854f04f69a01e914b29c16a27f69e68f696d716
    Image:		172.30.42.137:5000/testzy/ruby-ex@sha256:6668749007147d3084cabb28086e4bdd1cc8c58d312fe8deae60b46c8e91ca90
    Image ID:		docker://sha256:49812e877aa890a31ed4b552f3c15d1b588f0007aafc1c226be98377a49cde53
    Port:		8080/TCP
Comment 8 errata-xmlrpc 2017-01-18 07:39:12 EST
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:0066

Note You need to log in before you can comment on or make changes to this bug.