cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andres de la Peña (Jira) <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-16989) Add environment variables to CircleCI config generation script
Date Tue, 28 Sep 2021 16:17:00 GMT

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

Andres de la Peña commented on CASSANDRA-16989:
-----------------------------------------------

{quote}
Is it possible to add this patch to all supported Cassandra versions and branches?
{quote}
Yes, the plan is to apply the patch to 3.0, 3.11, 4.0 and trunk. Fortunately it can be applied
cleanly to the other branches:
||branch||CI||
|[3.0|https://github.com/apache/cassandra/compare/cassandra-3.0...adelapena:16989-3.0]|[j8|https://app.circleci.com/pipelines/github/adelapena/cassandra/916/workflows/0d68607b-9071-4444-b049-0d5d10e648f6]|
|[3.11|https://github.com/apache/cassandra/compare/cassandra-3.11...adelapena:16989-3.11]|[j8|https://app.circleci.com/pipelines/github/adelapena/cassandra/917/workflows/cfd01740-f407-479d-a209-c6778a4abd29]|
|[4.0|https://github.com/apache/cassandra/compare/cassandra-3.0...adelapena:16989-4.0]|[j8|https://app.circleci.com/pipelines/github/adelapena/cassandra/914/workflows/9e262b90-3574-4d78-a872-fc073d472bd2],
[j11|https://app.circleci.com/pipelines/github/adelapena/cassandra/914/workflows/d73471c9-317f-45c9-a98b-9da98b596a1d]|
|[trunk|https://github.com/apache/cassandra/compare/cassandra-trunk...adelapena:16989-trunk]|[j8|https://app.circleci.com/pipelines/github/adelapena/cassandra/915/workflows/8a5ca83b-9138-4216-a2c8-de27d09f5c00],
[j11|https://app.circleci.com/pipelines/github/adelapena/cassandra/915/workflows/e1ed1ce8-8ce2-40c5-a48f-d4dd29fb2f55]|

> Add environment variables to CircleCI config generation script
> --------------------------------------------------------------
>
>                 Key: CASSANDRA-16989
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16989
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: CI
>            Reporter: Andres de la Peña
>            Assignee: Andres de la Peña
>            Priority: Normal
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> The purpose of this ticket is adding arguments to the CircleCI config generation script
allowing to set the values specific environment variables such as {{DTEST_REPO}} or {{DTEST_BRANCH}}
in the generated {{.circleci/config.yml}} file. For example, we could generate a CircleCI
config file with MIDRES specifying a dtest repo and branch by running:
> {code}
> generate.sh -m \
>   -e DTEST_REPO=git://github.com/adelapena/cassandra-dtest.git \
>   -e DTEST_BRANCH=CASSANDRA-8272 
> {code}
> Or we could set the test multiplexer for repeating a specific test with HIGHRES:
> {code}
> generate.sh -h \
>   -e REPEATED_UTEST_TARGET=testsome \
>   -e REPEATED_UTEST_CLASS=org.apache.cassandra.cql3.ViewTest \
>   -e REPEATED_UTEST_METHODS=testCompoundPartitionKey,testStaticTable \
>   -e REPEATED_UTEST_COUNT=100
> {code}
> This can be useful on its own so we don't have to manually edit the {{config-2_1.yml}}/{{config.yml}},
and it can also be useful for automation scripts manipulating these files.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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


Mime
View raw message