Skip to content

Commit

Permalink
ORC-1050: Update ORC site README.md and release process page (#963)
Browse files Browse the repository at this point in the history
### What changes were proposed in this pull request?

This PR aims to update ORC release and publish process pages.

### Why are the changes needed?

The current web content is outdated.

### How was this patch tested?

N/A
  • Loading branch information
dongjoon-hyun authored Nov 14, 2021
1 parent 2c3727b commit 22cb538
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 22 deletions.
11 changes: 5 additions & 6 deletions site/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ the site is to use docker to use a standard environment.
## Run the docker container with the preview of the site.

1. `docker build -t orc-site .`
2. `docker run -d -p 4000:4000 orc-site`
2. `docker run -d --name orc-container -p 4000:4000 orc-site`

## Browsing

Expand All @@ -24,11 +24,10 @@ Look at the site by navigating to
You'll copy the files from the container to the site/target directory and
commit those to the asf-site branch.

1. Find the name of the container using `docker ps`.
2. `docker cp $CONTAINER:/home/orc/site/target .`
3. `cd target`
4. Commit the files and push to Apache.
1. `docker cp orc-container:/home/orc/site/target .`
2. `cd target`
3. Commit the files and push to Apache.

## Shutting down the docker container

1. `docker stop $CONTAINER`
1. `docker rm -f orc-container`
50 changes: 34 additions & 16 deletions site/develop/make-release.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,30 @@ Generate the source tarball and checksums for the release.
% wget https://github.com/apache/orc/archive/release-X.Y.Zrc0.tar.gz
% tar xzf release-X.Y.Zrc0.tar.gz
% mv orc-release-X.Y.Zrc0 orc-X.Y.Z
% tar czf orc-X.Y.Zrc0.tar.gz orc-X.Y.Z
% shasum -a 256 orc-X.Y.Zrc0.tar.gz > orc-X.Y.Zrc0.tar.gz.sha256
% gpg --detach-sig --armor orc-X.Y.Zrc0.tar.gz
% tar czf orc-X.Y.Z.tar.gz orc-X.Y.Z
% mkdir orc-X.Y.Z-rc0
% mv orc-X.Y.Z.tar.gz orc-X.Y.Z-rc0
% cd orc-X.Y.Z-rc0
% shasum -a 256 orc-X.Y.Z.tar.gz > orc-X.Y.Z.tar.gz.sha256
% gpg --detach-sig --armor orc-X.Y.Z.tar.gz
~~~

Copy the artifacts into your personal Apache website.
Verify the artifacts

~~~
% sftp <apacheid>@home.apache.org
sftp> cd public_html
sftp> mkdir orc-X.Y.Zrc0
sftp> cd orc-X.Y.Zrc0
sftp> put orc-X.Y.Zrc0*
sftp> quit
% shasum -a256 orc-X.Y.Z.tar.gz | diff - orc-X.Y.Z.tar.gz.sha256
% gpg --verify orc-X.Y.Z.tar.gz.asc
% cd ..
~~~

Upload the artifacts into Apache dev distribution website.

~~~
% svn co --depth=files "https://dist.apache.org/repos/dist/dev/orc" svn-orc
% mv orc-X.Y.Z-rc0 svn-orc
% cd svn-orc
% svn add orc-X.Y.Z-rc0
% svn commit -m "Upload Apache ORC X.Y.Z RC0"
~~~

Make sure your GPG key is present in [Apache
Expand All @@ -58,15 +68,23 @@ Send email with the vote:

~~~
To: [email protected]
Subject: [VOTE] Should we release ORC X.Y.Zrc0?
Subject: [VOTE] Release Apache ORC X.Y.Z (RC0)
Please vote on releasing the following candidate as Apache ORC version X.Y.Z.
[ ] +1 Release this package as Apache ORC X.Y.Z
[ ] -1 Do not release this package because ...
TAG:
https://github.com/apache/orc/releases/tag/release-X.Y.Zrc0
All,
RELEASE FILES:
https://dist.apache.org/repos/dist/dev/orc/orc-X.Y.Z-rc0
Should we release the following artifacts as ORC X.Y.Z?
LIST OF ISSUES:
https://issues.apache.org/jira/projects/ORC/versions/<fixid>
tar: http://home.apache.org/~omalley/orc-X.Y.Zrc0/
tag: https://github.com/apache/orc/releases/tag/release-X.Y.Zrc0
jiras: https://issues.apache.org/jira/browse/ORC/fixforversion/<fixid>
This vote will be open for 72 hours.
Thanks!
~~~
Expand Down

0 comments on commit 22cb538

Please sign in to comment.