You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Andres de la Peña (Jira)" <ji...@apache.org> on 2022/11/10 18:52:00 UTC

[jira] [Comment Edited] (CASSANDRA-18032) When generate.sh fails its rc=0

    [ https://issues.apache.org/jira/browse/CASSANDRA-18032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17631854#comment-17631854 ] 

Andres de la Peña edited comment on CASSANDRA-18032 at 11/10/22 6:51 PM:
-------------------------------------------------------------------------

Indeed we should immediately fail if [CircleCI local CLI|https://circleci.com/docs/local-cli/] is not installed. That tool is [needed by the {{-a}} option|https://github.com/apache/cassandra/blob/trunk/.circleci/readme.md#updating-the-config], and [also by {{{}-l{}}}, {{-m}} and {{-h}}|https://github.com/apache/cassandra/blob/trunk/.circleci/readme.md#switching-to-higher-resource-settings]. Possibly just use {{set -e}}.


was (Author: adelapena):
Indeed we should immediately fail if [CircleCI local CLI|https://circleci.com/docs/local-cli/] is not installed. That tool is [needed by the {{-a}} option|https://github.com/apache/cassandra/blob/trunk/.circleci/readme.md#updating-the-config], and [also by {{{}-l{}}}, {{-m}} and {{-h}}|https://github.com/apache/cassandra/blob/trunk/.circleci/readme.md#switching-to-higher-resource-settings]. 

> When generate.sh fails its rc=0
> -------------------------------
>
>                 Key: CASSANDRA-18032
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18032
>             Project: Cassandra
>          Issue Type: Bug
>          Components: CI
>            Reporter: David Capwell
>            Priority: Normal
>
> {code}
> $ ./generate.sh -a
> Generating new config.yml file with low resources and LOWRES/MIDRES/HIGHRES templates from config-2_1.yml
> ./generate.sh: line 171: circleci: command not found
> patching file ./config-2_1.yml
> Hunk #4 succeeded at 1511 (offset 9 lines).
> Hunk #5 succeeded at 1525 (offset 9 lines).
> Hunk #6 succeeded at 1540 (offset 9 lines).
> Hunk #7 succeeded at 1554 (offset 9 lines).
> Hunk #8 succeeded at 1569 (offset 9 lines).
> Hunk #9 succeeded at 1583 (offset 9 lines).
> Hunk #10 succeeded at 1598 (offset 9 lines).
> Hunk #11 succeeded at 1616 (offset 9 lines).
> Hunk #12 succeeded at 1631 (offset 9 lines).
> Hunk #13 succeeded at 1649 (offset 9 lines).
> Hunk #14 succeeded at 1664 (offset 9 lines).
> Hunk #15 succeeded at 1682 (offset 9 lines).
> Hunk #16 succeeded at 1697 (offset 9 lines).
> ./generate.sh: line 177: circleci: command not found
> patching file ./config-2_1.yml
> ./generate.sh: line 183: circleci: command not found
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org