-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1441 from ONLYOFFICE/hotfix/v1.0.1
Hotfix/v1.0.1
- Loading branch information
Showing
853 changed files
with
61,183 additions
and
31,825 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
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
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 |
---|---|---|
@@ -0,0 +1,53 @@ | ||
name: Upload OneСlickInstall scripts on S3 | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
paths: | ||
- 'build/install/OneClickInstall/**' | ||
workflow_dispatch: | ||
|
||
env: | ||
SCRIPT_DIR: 'build/install/OneClickInstall' | ||
PRODUCT: $(echo "${{ github.event.repository.name }}" | tr '[:upper:]' '[:lower:]' ) | ||
|
||
jobs: | ||
release: | ||
name: Scripts release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Creating an enterprise script | ||
run: | | ||
cp ${{ env.SCRIPT_DIR }}/${{ env.PRODUCT }}-install.sh ${{ env.SCRIPT_DIR }}/${{ env.PRODUCT }}-enterprise-install.sh | ||
sed -i 's/\(PARAMETERS -it\).*";/\1 ENTERPRISE";/' ${{ env.SCRIPT_DIR }}/${{ env.PRODUCT }}-enterprise-install.sh | ||
- name: Configure AWS Credentials | ||
uses: aws-actions/configure-aws-credentials@v1 | ||
with: | ||
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID_OCI }} | ||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY_OCI }} | ||
aws-region: us-east-1 | ||
|
||
- name: Upload scripts | ||
run: | | ||
cd ${{ env.SCRIPT_DIR }} | ||
aws s3 cp . ${{ secrets.AWS_BUCKET_URL_OCI }}/ \ | ||
--recursive \ | ||
--acl public-read \ | ||
--content-type application/x-sh \ | ||
--metadata-directive REPLACE \ | ||
--exclude '*' \ | ||
--include="${{ env.PRODUCT }}-install.sh" \ | ||
--include="${{ env.PRODUCT }}-enterprise-install.sh" | ||
- name: Invalidate AWS CloudFront cache | ||
run: | | ||
aws cloudfront create-invalidation \ | ||
--distribution-id ${{ secrets.AWS_DISTRIBUTION_ID_OCI }} \ | ||
--paths \ | ||
"/${{ env.PRODUCT }}-install.sh" \ | ||
"/${{ env.PRODUCT }}-enterprise-install.sh" |
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 |
---|---|---|
@@ -0,0 +1,45 @@ | ||
|
||
## Install ONLYOFFICE DocSpace using OneClickInstall script | ||
|
||
### Enterprise version | ||
#### Get the installation script: | ||
|
||
wget https://download.onlyoffice.com/docspace/docspace-enterprise-install.sh | ||
|
||
#### Install ONLYOFFICE DocSpace RPM\DEB using script: | ||
|
||
bash docspace-enterprise-install.sh package | ||
|
||
#### Install ONLYOFFICE DocSpace Docker using script: | ||
|
||
bash docspace-enterprise-install.sh docker | ||
|
||
#### Display available script RPM\DEB parameters: | ||
|
||
bash docspace-enterprise-install.sh package -h | ||
|
||
#### Display available script Docker parameters: | ||
|
||
bash docspace-enterprise-install.sh docker -h | ||
|
||
|
||
### Community version | ||
#### Get the installation script: | ||
|
||
wget https://download.onlyoffice.com/docspace/docspace-install.sh | ||
|
||
#### Install ONLYOFFICE DocSpace RPM\DEB using script: | ||
|
||
bash docspace-install.sh package | ||
|
||
#### Install ONLYOFFICE DocSpace Docker using script: | ||
|
||
bash docspace-install.sh docker | ||
|
||
#### Display available script RPM\DEB parameters: | ||
|
||
bash docspace-install.sh package -h | ||
|
||
#### Display available script Docker parameters: | ||
|
||
bash docspace-install.sh docker -h |
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
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
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
Oops, something went wrong.