-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ci): Update install.sh workflow to not publish to AWS (#21412)
* chore(ci): Update install.sh workflow to not publish to AWS We no longer host install.sh in AWS S3 but instead reference it from GitHub. This change happened a while ago, but we apparently never updated the CI wrokflow; we just never noticed since we haven't changed the script since then. Signed-off-by: Jesse Szwedko <[email protected]> * readd missing steps Signed-off-by: Jesse Szwedko <[email protected]> * whitespace Signed-off-by: Jesse Szwedko <[email protected]> * Remove duplicate step Signed-off-by: Jesse Szwedko <[email protected]> --------- Signed-off-by: Jesse Szwedko <[email protected]>
- Loading branch information
Showing
2 changed files
with
4 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,10 +5,9 @@ on: | |
workflow_dispatch: | ||
|
||
jobs: | ||
|
||
sync-install: | ||
test-install: | ||
runs-on: ubuntu-20.04 | ||
timeout-minutes: 10 | ||
timeout-minutes: 5 | ||
steps: | ||
- name: (PR comment) Get PR branch | ||
if: ${{ github.event_name == 'issue_comment' }} | ||
|
@@ -34,35 +33,10 @@ jobs: | |
if: ${{ github.event_name != 'issue_comment' }} | ||
uses: actions/checkout@v3 | ||
|
||
- run: pip3 install awscli --upgrade --user | ||
- env: | ||
AWS_ACCESS_KEY_ID: "${{ secrets.CI_AWS_ACCESS_KEY_ID }}" | ||
AWS_SECRET_ACCESS_KEY: "${{ secrets.CI_AWS_SECRET_ACCESS_KEY }}" | ||
run: make sync-install | ||
|
||
- name: (PR comment) Set latest commit status as failed | ||
uses: myrotvorets/[email protected] | ||
if: failure() && github.event_name == 'issue_comment' | ||
with: | ||
sha: ${{ steps.comment-branch.outputs.head_sha }} | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
context: Update install.sh Suite | ||
status: 'failure' | ||
|
||
test-install: | ||
needs: sync-install | ||
runs-on: ubuntu-20.04 | ||
timeout-minutes: 5 | ||
steps: | ||
- run: sudo apt-get install --yes curl bc | ||
- run: curl --proto '=https' --tlsv1.2 -sSfL https://sh.vector.dev | bash -s -- -y | ||
- run: sudo apt-get install --yes bc | ||
- run: bash distribution/install.sh -- -y | ||
- run: ~/.vector/bin/vector --version | ||
|
||
- name: (PR comment) Get PR branch | ||
if: github.event_name == 'issue_comment' | ||
uses: xt0rted/pull-request-comment-branch@v2 | ||
id: comment-branch | ||
|
||
- name: (PR comment) Set latest commit status as ${{ job.status }} | ||
if: github.event_name == 'issue_comment' | ||
uses: myrotvorets/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters