Skip to content

Commit ef280b1

Browse files
raulcdrok
andauthored
apacheGH-48163: [CI][Docs] Update preview docs task S3 secret to use (apache#48164)
### Rationale for this change The voltron data AWS account will be closed soon, we have to update to newly created bucket under the AWS account for Arrow. ### What changes are included in this PR? Migrate credentials for newly created bucket and update URL where dashboard will be deployed. ### Are these changes tested? Yes, via archery. ### Are there any user-facing changes? No, only devs where the URL is different * GitHub Issue: apache#48163 Lead-authored-by: Raúl Cumplido <[email protected]> Co-authored-by: Rok Mihevc <[email protected]> Signed-off-by: Rok Mihevc <[email protected]>
1 parent a158036 commit ef280b1

File tree

8 files changed

+13
-12
lines changed

8 files changed

+13
-12
lines changed

dev/archery/archery/crossbow/tests/fixtures/chat-report-extra-message-failure.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
*<http://crossbow.voltrondata.com|Archery crossbow report> for <https://github.com/apache/crossbow/branches/all?query=ursabot-1|ursabot-1>*
2+
*<https://s3.amazonaws.com/arrow-data/index.html|Archery crossbow report> for <https://github.com/apache/crossbow/branches/all?query=ursabot-1|ursabot-1>*
33

44
:x: *1 failed jobs*
55
- <https://github.com/apache/crossbow/runs/2|wheel-osx-cp37m>

dev/archery/archery/crossbow/tests/fixtures/chat-report-extra-message-success.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
*<http://crossbow.voltrondata.com|Archery crossbow report> for <https://github.com/apache/crossbow/branches/all?query=ursabot-1|ursabot-1>*
2+
*<https://s3.amazonaws.com/arrow-data/index.html|Archery crossbow report> for <https://github.com/apache/crossbow/branches/all?query=ursabot-1|ursabot-1>*
33

44

55
:tada: *4 successful jobs*

dev/archery/archery/crossbow/tests/fixtures/chat-report.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
*<http://crossbow.voltrondata.com|Archery crossbow report> for <https://github.com/apache/crossbow/branches/all?query=ursabot-1|ursabot-1>*
2+
*<https://s3.amazonaws.com/arrow-data/index.html|Archery crossbow report> for <https://github.com/apache/crossbow/branches/all?query=ursabot-1|ursabot-1>*
33

44
:x: *1 failed jobs*
55
- <https://github.com/apache/crossbow/runs/2|wheel-osx-cp37m>

dev/archery/archery/crossbow/tests/fixtures/email-report.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Subject: [NIGHTLY] Arrow Build Report for Job ursabot-1: 2 failed, 1 pending
44

55
Arrow Build Report for Job ursabot-1
66

7-
See http://crossbow.voltrondata.com/ for more information.
7+
See https://s3.amazonaws.com/arrow-data/index.html for more information.
88

99
All tasks: https://github.com/apache/crossbow/branches/all?query=ursabot-1
1010

dev/archery/archery/templates/chat_nightly_report.txt.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# specific language governing permissions and limitations
1717
# under the License.
1818
#}
19-
*<http://crossbow.voltrondata.com|Archery crossbow report> for <{{ report.url(report.job.branch) }}|{{ report.job.branch }}>*
19+
*<https://s3.amazonaws.com/arrow-data/index.html|Archery crossbow report> for <{{ report.url(report.job.branch) }}|{{ report.job.branch }}>*
2020
{% if report.tasks_by_state["failure"] %}
2121
:x: *{{ report.tasks_by_state["failure"] | length }} failed jobs*
2222
{% for task_name, task in report.tasks_by_state["failure"] | dictsort -%}

dev/archery/archery/templates/email_nightly_report.txt.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Subject: [NIGHTLY] Arrow Build Report for Job {{report.job.branch}}: {{ (report.
2424

2525
Arrow Build Report for Job {{ report.job.branch }}
2626

27-
See http://crossbow.voltrondata.com/ for more information.
27+
See https://s3.amazonaws.com/arrow-data/index.html for more information.
2828

2929
All tasks: {{ report.url(report.job.branch) }}
3030
{% if report.tasks_by_state["failure"] %}

dev/tasks/docs/github.linux.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,15 @@ jobs:
5757
- name: Upload preview to S3
5858
env:
5959
{%- raw %}
60-
AWS_ACCESS_KEY_ID: ${{ secrets.CROSSBOW_DOCS_AWS_ACCESS_KEY_ID }}
61-
AWS_SECRET_ACCESS_KEY: ${{ secrets.CROSSBOW_DOCS_AWS_SECRET_ACCESS_KEY }}
62-
AWS_DEFAULT_REGION: ${{ secrets.CROSSBOW_DOCS_S3_BUCKET_REGION }}
63-
BUCKET: ${{ secrets.CROSSBOW_DOCS_S3_BUCKET }}
60+
AWS_ACCESS_KEY_ID: ${{ secrets.CROSSBOW_DOCS_ARROW_AWS_ACCESS_KEY_ID }}
61+
AWS_SECRET_ACCESS_KEY: ${{ secrets.CROSSBOW_DOCS_ARROW_AWS_SECRET_ACCESS_KEY }}
62+
AWS_DEFAULT_REGION: ${{ secrets.CROSSBOW_DOCS_ARROW_S3_BUCKET_REGION }}
63+
BUCKET: ${{ secrets.CROSSBOW_DOCS_ARROW_S3_BUCKET }}
6464
{% endraw %}
6565
run: |
6666
aws s3 cp build/docs/ $BUCKET/pr_docs/{{ pr_number }}/ --recursive
67-
echo ":open_book: You can find the preview here: http://crossbow.voltrondata.com/pr_docs/{{ pr_number }}" >> $GITHUB_STEP_SUMMARY
67+
echo ":open_book: You can find the preview here: https://s3.amazonaws.com/arrow-data/pr_docs/{{ pr_number }}/index.html" >> $GITHUB_STEP_SUMMARY
68+
6869
{% endif %}
6970
- name: Prepare Docs artifacts
7071
run: |

r/PACKAGING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ For a high-level overview of the Arrow release process see the [Apache Arrow Rel
2626

2727
- [ ] [Create a GitHub issue](https://github.com/apache/arrow/issues/new/) entitled `[R] CRAN packaging checklist for version X.Y.Z` and copy this checklist to the issue.
2828
- [ ] Review deprecated functions to advance their deprecation status.
29-
- [ ] Evaluate the status of any failing [nightly tests and nightly packaging builds](http://crossbow.voltrondata.com). These checks replicate most of the checks that CRAN runs, so we need them all to be passing or to understand that the failures may (though won't necessarily) result in a rejection from CRAN.
29+
- [ ] Evaluate the status of any failing [nightly tests and nightly packaging builds](https://s3.amazonaws.com/arrow-data/index.html). These checks replicate most of the checks that CRAN runs, so we need them all to be passing or to understand that the failures may (though won't necessarily) result in a rejection from CRAN.
3030
- [ ] Check [current CRAN check results](https://cran.rstudio.org/web/checks/check_results_arrow.html).
3131
- [ ] Ensure the contents of the README are accurate and up to date.
3232
- [ ] Run `urlchecker::url_check()` on the R directory at the release candidate.

0 commit comments

Comments
 (0)