Skip to content

Commit c347dbd

Browse files
committed
Updating Prow readme
1 parent e547ecc commit c347dbd

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

scripts/prow/README.adoc

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,23 @@ To add a new job to Prow CI, do the following:
1010
. Install link:https://podman.io/docs/installation[Podman].
1111

1212
. Fork and clone the https://github.com/openshift/release repository to `$HOME/release`.
13+
+
14+
[NOTE]
15+
====
16+
If you have already forked the repository, make sure it is it is up to date.
17+
Run the following commands:
18+
19+
[source,terminal]
20+
----
21+
cd $HOME/release
22+
git remote add upstream git@github.com:openshift/release.git
23+
git checkout master
24+
git fetch upstream
25+
git rebase upstream/master
26+
git checkout <your_new_branch> <1>
27+
----
28+
<1> Replace `<your_new_branch>` with an appropriate branch name.
29+
====
1330

1431
. Create the new branch config by running the `add-new-prow-config.sh` script passing the `$VERSION`, `$BRANCH` and `$DISTROS` variables.
1532
Open a shell prompt in the `openshift-docs/` directory, and run the script passing in the required variables, for example:

0 commit comments

Comments
 (0)