Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 8AD00200D27 for ; Wed, 25 Oct 2017 19:07:58 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 89193160BDA; Wed, 25 Oct 2017 17:07:58 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id CD8621609CE for ; Wed, 25 Oct 2017 19:07:57 +0200 (CEST) Received: (qmail 31861 invoked by uid 500); 25 Oct 2017 17:07:57 -0000 Mailing-List: contact dev-help@openwhisk.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openwhisk.apache.org Delivered-To: mailing list dev@openwhisk.apache.org Received: (qmail 31843 invoked by uid 99); 25 Oct 2017 17:07:56 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Oct 2017 17:07:56 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id E4C4EC6552 for ; Wed, 25 Oct 2017 17:07:55 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.129 X-Spam-Level: *** X-Spam-Status: No, score=3.129 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=2, KAM_NUMSUBJECT=0.5, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id avlt3aGBJ-nO for ; Wed, 25 Oct 2017 17:07:55 +0000 (UTC) Received: from mail-ua0-f179.google.com (mail-ua0-f179.google.com [209.85.217.179]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id CC1435FD01 for ; Wed, 25 Oct 2017 17:07:54 +0000 (UTC) Received: by mail-ua0-f179.google.com with SMTP id u32so534716uau.0 for ; Wed, 25 Oct 2017 10:07:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=EUYnAq3Eor6GeiEnNE5p1Y0aGN3OzyvUGs+ywMn/BxM=; b=QCKAm49Xev6Bs2S36fbhSNlszo86h8tgsNTeSqo3bjsBCMIFPINGbHV1zXOCuJFwjP AblJ1vgnKXZ30IZBQFdc9EYZmJmBE/sTSsi+MqZV/B5ytCo08D/MDWOaGObOgCrylOde joI8lhUl8oEJ95bl5UMYWeD94sanIiLQzOQsEV9Sl5s5Mvm857Fv+MUYaL10Ujiu2joA mSw+2zfb+HgET105o12kmT6Dnqqgr3FTDtgmfQ6Agy9CqX4GYxsxOg9B7UX/RADHKlYu /ijp6hCLdAllp30ZuUo0YRcYcK5KcHWFy4GyM/mjG8nSFFfIIqUkr38AdgC+vIOChUqJ 4iIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=EUYnAq3Eor6GeiEnNE5p1Y0aGN3OzyvUGs+ywMn/BxM=; b=hdbEZvH9bJRjuB60iW0xmmy16CIhK36GGshGcfa8NqOwOg93XZbLVnjOyKDPR5/f6h aR7t+sIYGevUVbcAnkWN0kof463hv/D2W3wa0NMCcB0AbMkGJBB59udFuDkePDpJcACj EjB4AhY6699ZOX199UzRELZVx5IPWezpsv5WOpSmU2xNKpI2sry78LFFT4JkF5nZG6t8 hMoAFBZAtYarF6q019jMkJXaE1UfgX+K+L+koTW/13Lpw68s7yyjR1sdWgBhMgj86QE7 lcdKz9rvOHCy1l7rrOhesRAXcZpQ2tYzsOjXhrtci+DNiKT2ldr3BbUBNCXfGHLUoA9H LT3g== X-Gm-Message-State: AMCzsaXofThBQ7Warq1ZerNMNUY1nEVT4tXmzE7c5bgDxyglcMmGDOx1 YyFSHmthv7fNSrIvzJCsmIHhWCz22l3EfmHChgw= X-Google-Smtp-Source: ABhQp+TD/bVWMpTZoVivfNrfuiKZWup555UGf6BximTw1YuZtXtf7b90GRFOPI0exAVCITB3BOhx9iJAh9N7ddFkZGc= X-Received: by 10.176.73.136 with SMTP id e8mr1949605uad.175.1508951268262; Wed, 25 Oct 2017 10:07:48 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Carlos Santana Date: Wed, 25 Oct 2017 17:07:37 +0000 Message-ID: Subject: Re: deprecate swift:3.0 get users to migrate to swift:3.1.1 To: "dev@openwhisk.apache.org" Content-Type: multipart/alternative; boundary="001a114509d4540670055c62182e" archived-at: Wed, 25 Oct 2017 17:07:58 -0000 --001a114509d4540670055c62182e Content-Type: text/plain; charset="UTF-8" Small clarification, the manifest updates only allow for read, and delete, it doesn't allow to update the action, it will need to be deleted and re-created with using the kind swift:3.1.1 On Wed, Oct 25, 2017 at 12:52 PM Carlos Santana wrote: > > I'm proposing that we deprecate swift:3.0 and get everyone using > swift:3.1.1 kind > > The default kind for swift is already swift:3.1.1 anyway. > > What this means if an user opens a bug against swift:3.0 we are going to > tell that 3.0 is deprecated and to try in swift:3.1.1 to see if the bug > exists in the new runtime, and then look into how to resolve. > > To migrate from swift:3.0 to swift:3.1.1 if the action uses a single > source file then it's matter of updating the kind. > > If the user is pre-compiling then it needs to pre-compile using the new > image as described in the docs > > https://github.com/apache/incubator-openwhisk/blob/master/docs/actions.md#packaging-an-action-as-a-swift-executable > > I have a repo with an example that shows side by side, and some scripts to > make it easier to migrate if need it > https://github.com/csantanapr/openwhisk-swift-upgrade > > **The actions items to get this done are:** > 1. Update the reference docs to tell users to migrate their actions to > kind swift:3.1.1 > 2. After a period (maybe 4 weeks) update manifest in invoker to mark it > deprecated, meaning user can only read, update, and delete actions with > swift:3.0 not invoke. > > I also created an issue here: > https://github.com/apache/incubator-openwhisk/issues/2897 > > -- Carlos > --001a114509d4540670055c62182e--