34
34
# Use release name as-is for the branch name
35
35
BRANCH_NAME=" release-${RELEASE_NAME} "
36
36
37
- # RHTAP disallows . chars in names so remove those
38
- RHTAP_APPLICATION_SUFFIX =" ${RELEASE_NAME/ ./ } "
37
+ # Konflux disallows . chars in names so remove those
38
+ KONFLUX_APPLICATION_SUFFIX =" ${RELEASE_NAME/ ./ } "
39
39
40
40
# Could be whatever, but let's adopt a consistent convention
41
- RHTAP_APPLICATION_NAME =ec-${RHTAP_APPLICATION_SUFFIX }
42
- RHTAP_CLI_COMPONENT_NAME =cli-${RHTAP_APPLICATION_SUFFIX }
41
+ KONFLUX_APPLICATION_NAME =ec-${KONFLUX_APPLICATION_SUFFIX }
42
+ KONFLUX_CLI_COMPONENT_NAME =cli-${KONFLUX_APPLICATION_SUFFIX }
43
43
44
44
# Show some useful values
45
45
echo Release name: $RELEASE_NAME
46
46
echo Release branch name: $BRANCH_NAME
47
- echo RHTAP application name: $RHTAP_APPLICATION_NAME
48
- echo RHTAP cli component name: $RHTAP_CLI_COMPONENT_NAME
47
+ echo Konflux application name: $KONFLUX_APPLICATION_NAME
48
+ echo Konflux cli component name: $KONFLUX_CLI_COMPONENT_NAME
49
49
50
- RHTAP_APPS_URL =https://console.redhat.com/preview/application-pipeline/workspaces/rhtap-contract/applications
50
+ KONFLUX_APPS_URL =https://console.redhat.com/preview/application-pipeline/workspaces/rhtap-contract/applications
51
51
52
52
# Explain what needs to be done next
53
53
# (We could make this more automated in future.)
@@ -62,26 +62,26 @@ git push upstream refs/remotes/upstream/main:refs/heads/${BRANCH_NAME}
62
62
# Make your local version of the release branch
63
63
git checkout -b ${BRANCH_NAME} upstream/${BRANCH_NAME}
64
64
65
- # Create the new application in RHTAP
66
- Login at ${RHTAP_APPS_URL }
65
+ # Create the new application in Konflux
66
+ Login at ${KONFLUX_APPS_URL }
67
67
Create a new application by importing code from https://github.com/enterprise-contract/ec-cli
68
68
Set Git reference to ${BRANCH_NAME} and click "Import code"
69
- Set the application name to ${RHTAP_APPLICATION_NAME }
70
- Set the component name to ${RHTAP_CLI_COMPONENT_NAME }
69
+ Set the application name to ${KONFLUX_APPLICATION_NAME }
70
+ Set the component name to ${KONFLUX_CLI_COMPONENT_NAME }
71
71
Set Dockerfile to Dockerfile.dist
72
72
Unset the "Default build pipeline" toggle
73
73
Click "Create application"
74
74
75
75
# Wait for PR
76
76
Wait for the PR to be created
77
77
Go look at the PR in GitHub
78
- Wait for the PR to pass the ${RHTAP_CLI_COMPONENT_NAME } -on-pull-request check
79
- You can also watch the activity at ${RHTAP_APPS_URL } /${RHTAP_APPLICATION_NAME } /activity/pipelineruns
78
+ Wait for the PR to pass the ${KONFLUX_CLI_COMPONENT_NAME } -on-pull-request check
79
+ You can also watch the activity at ${KONFLUX_APPS_URL } /${KONFLUX_APPLICATION_NAME } /activity/pipelineruns
80
80
When it's done you can merge. (Continue to next section while you're waiting...)
81
81
82
82
# Modify EC policy config
83
- Go to the integration tests at ${RHTAP_APPS_URL } /${RHTAP_APPLICATION_NAME } /integrationtests
84
- Edit ${RHTAP_APPLICATION_NAME } -enterprise-contract and add a parameter as follows:
83
+ Go to the integration tests at ${KONFLUX_APPS_URL } /${KONFLUX_APPLICATION_NAME } /integrationtests
84
+ Edit ${KONFLUX_APPLICATION_NAME } -enterprise-contract and add a parameter as follows:
85
85
Name: POLICY_CONFIGURATION
86
86
Value: github.com/enterprise-contract/config//redhat-no-hermetic
87
87
Save changes
@@ -90,9 +90,9 @@ Save changes
90
90
git checkout ${BRANCH_NAME}
91
91
hack/patch-release-pipelines.sh
92
92
hack/patch-release-pipelines.sh digest_bumps # maybe
93
- Review the diff between the ${RHTAP_CLI_COMPONENT_NAME } - and cli-main-ci- pipelines
93
+ Review the diff between the ${KONFLUX_CLI_COMPONENT_NAME } - and cli-main-ci- pipelines
94
94
Review the generated commit and then create a PR for the ${BRANCH_NAME} branch with that commit
95
- (Todo maybe: If you want, try adding this commit to the PR created by RHTAP before merging that PR.)
95
+ (Todo maybe: If you want, try adding this commit to the PR created by Konflux before merging that PR.)
96
96
97
97
EOT
98
98
0 commit comments