Skip to content

Latest commit

 

History

History
56 lines (50 loc) · 1.34 KB

MIGRATION.md

File metadata and controls

56 lines (50 loc) · 1.34 KB

Migrations

0.5 to 0.6

  • slackToken, slackChannel and instancePattern got renamed to to use snake case namings.

    $ vendor/bin/tempa file:substitute \
        config/ \
        tempa.json \
        jira_host=JIRA_HOST \
        jira_username=JIRA_USER \
        jira_password=JIRA_PASSWORD \
        pattern=BRANCH_PATTERN_REGEX \
        db_host=DB_HOST \
        db_username=DB_USER \
        db_password=DB_PASSWORD \
        instance_pattern=SYSTEMD_SERVICE_PATTERN \
        slack_token=SLACK_TOKEN \
        slack_channel=SLACK_CHANNEL

0.3 to 0.4

Adjust config.yml:

$ vendor/bin/tempa file:substitute \
    config/ \
    tempa.json \
    jira_host=JIRA_HOST \
    jira_username=JIRA_USER \
    jira_password=JIRA_PASSWORD \
    pattern=BRANCH_PATTERN_REGEX \
    db_host=DB_HOST \
    db_username=DB_USER \
    db_password=DB_PASSWORD \
    instancePattern=SYSTEMD_SERVICE_PATTERN \
    slackToken=SLACK_TOKEN \
    slackChannel=SLACK_CHANNEL

0.2 to 0.3

Adjust config.yml:

$ vendor/bin/tempa file:substitute \
    config/ \
    tempa.json \
    jira_host=JIRA_HOST \
    jira_username=JIRA_USER \
    jira_password=JIRA_PASSWORD \
    pattern=BRANCH_PATTERN_REGEX \
    db_host=DB_HOST \
    db_username=DB_USER \
    db_password=DB_PASSWORD \
    instancePattern=SYSTEMD_SERVICE_PATTERN