Skip to content

Commit

Permalink
Handle renaming the README (#50404) (#50407)
Browse files Browse the repository at this point in the history
We renamed README.textile to README.asciidoc but a bunch of tests and
the package build itself still pointed at the old name. This switches
them the new name.
  • Loading branch information
nik9000 authored Dec 19, 2019
1 parent 1f9418b commit 72ca809
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion distribution/archives/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ CopySpec archiveFiles(CopySpec modulesFiles, String distributionType, String pla
}
}
from(rootProject.projectDir) {
include 'README.textile'
include 'README.asciidoc'
}
from(rootProject.file('licenses')) {
include oss ? 'APACHE-LICENSE-2.0.txt' : 'ELASTIC-LICENSE.txt'
Expand Down
2 changes: 1 addition & 1 deletion qa/os/bats/utils/packages.bash
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ verify_package_installation() {
assert_file "$ESPLUGINS" d root root 755
assert_file "$ESMODULES" d root root 755
assert_file "$ESHOME/NOTICE.txt" f root root 644
assert_file "$ESHOME/README.textile" f root root 644
assert_file "$ESHOME/README.asciidoc" f root root 644

if is_dpkg; then
# Env file
Expand Down
2 changes: 1 addition & 1 deletion qa/os/bats/utils/tar.bash
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,6 @@ verify_archive_installation() {
assert_file "$ESHOME/logs" d elasticsearch elasticsearch 755
assert_file "$ESHOME/NOTICE.txt" f elasticsearch elasticsearch 644
assert_file "$ESHOME/LICENSE.txt" f elasticsearch elasticsearch 644
assert_file "$ESHOME/README.textile" f elasticsearch elasticsearch 644
assert_file "$ESHOME/README.asciidoc" f elasticsearch elasticsearch 644
assert_file_not_exist "$ESCONFIG/elasticsearch.keystore"
}
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ private static void verifyOssInstallation(Installation es, Distribution distribu
Stream.of(
"NOTICE.txt",
"LICENSE.txt",
"README.textile"
"README.asciidoc"
).forEach(doc -> assertThat(es.home.resolve(doc), file(File, owner, owner, p644)));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ private static void verifyOssInstallation(Installation es, Distribution distribu

Stream.of(
"NOTICE.txt",
"README.textile"
"README.asciidoc"
).forEach(doc -> assertThat(es.home.resolve(doc), file(File, "root", "root", p644)));

assertThat(es.envFile, file(File, "root", "elasticsearch", p660));
Expand Down

0 comments on commit 72ca809

Please sign in to comment.