-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '1.x' into robbie/misc-documentation-items
- Loading branch information
Showing
67 changed files
with
6,471 additions
and
6,264 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,58 +1,61 @@ | ||
# Sample workflow for building and deploying a Jekyll site to GitHub Pages | ||
name: Deploy SharePoint Integration Documentation | ||
|
||
on: | ||
# Runs on pushes targeting the default branch | ||
push: | ||
branches: ['1.x'] | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | ||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
|
||
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. | ||
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. | ||
concurrency: | ||
group: 'pages' | ||
cancel-in-progress: false | ||
|
||
jobs: | ||
# Build job | ||
build: | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup Pages | ||
uses: actions/configure-pages@v3 | ||
|
||
- name: Move LaserficheSharePointIntegrationAppManifest.json | ||
run: cp ./UserDocuments/LaserficheSharePointIntegrationAppManifest.json ./jekyll_files/docs/assets/LaserficheSharePointIntegrationAppManifest.json | ||
|
||
- name: Build with Jekyll | ||
uses: actions/jekyll-build-pages@v1 | ||
with: | ||
source: ./jekyll_files | ||
destination: ./_site | ||
- name: Upload artifact | ||
uses: actions/upload-pages-artifact@v2 | ||
|
||
# Deployment job | ||
deploy: | ||
runs-on: ubuntu-latest | ||
needs: build | ||
steps: | ||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v2 | ||
# Copyright (c) Laserfiche. | ||
# Licensed under the MIT License. See LICENSE in the project root for license information. | ||
|
||
# Sample workflow for building and deploying a Jekyll site to GitHub Pages | ||
name: Deploy SharePoint Integration Documentation | ||
|
||
on: | ||
# Runs on pushes targeting the default branch | ||
push: | ||
branches: ['1.x'] | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | ||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
|
||
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. | ||
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. | ||
concurrency: | ||
group: 'pages' | ||
cancel-in-progress: false | ||
|
||
jobs: | ||
# Build job | ||
build: | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup Pages | ||
uses: actions/configure-pages@v3 | ||
|
||
- name: Move LaserficheSharePointIntegrationAppManifest.json | ||
run: cp ./UserDocuments/LaserficheSharePointIntegrationAppManifest.json ./jekyll_files/docs/assets/LaserficheSharePointIntegrationAppManifest.json | ||
|
||
- name: Build with Jekyll | ||
uses: actions/jekyll-build-pages@v1 | ||
with: | ||
source: ./jekyll_files | ||
destination: ./_site | ||
- name: Upload artifact | ||
uses: actions/upload-pages-artifact@v2 | ||
|
||
# Deployment job | ||
deploy: | ||
runs-on: ubuntu-latest | ||
needs: build | ||
steps: | ||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v2 |
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 |
---|---|---|
@@ -1,58 +1,61 @@ | ||
name: SPFx CI CD | ||
|
||
on: | ||
push: | ||
branches: ['\d+.x'] | ||
pull_request: | ||
branches: ['\d+.x'] | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
env: | ||
packagePath: sharepoint/solution/LaserficheSharePointOnlineIntegration.sppkg | ||
packagePathUserDocs: UserDocuments | ||
fullVersion: 1.0.0.${{github.run_number}} | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup Node.js environment | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16.x | ||
|
||
- name: Tag commit | ||
uses: rickstaa/action-create-tag@v1 | ||
with: | ||
tag: ${{env.fullVersion}} | ||
commit_sha: ${{ github.sha }} | ||
message: Workflow run ${{github.server_url}}/${{github.repository}}/actions/runs/${{ github.run_id}} | ||
|
||
- name: replace config/package-solution.json version | ||
run: sed -i 's/"1.0.0.0"/"${{env.fullVersion}}"/g' config/package-solution.json | ||
|
||
- name: replace package.json version | ||
run: sed -i 's/"1.0.0.0"/"${{env.fullVersion}}"/g' package.json | ||
|
||
- name: Install dependencies | ||
run: npm ci | ||
|
||
- name: Build solution | ||
run: gulp build | ||
|
||
- name: Bundle and package | ||
run: | | ||
gulp bundle --ship | ||
gulp package-solution --ship | ||
- name: Upload Build Package | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
path: | | ||
${{ env.packagePath }} | ||
${{ env.packagePathUserDocs }} | ||
# Copyright (c) Laserfiche. | ||
# Licensed under the MIT License. See LICENSE in the project root for license information. | ||
|
||
name: SPFx CI CD | ||
|
||
on: | ||
push: | ||
branches: ['\d+.x'] | ||
pull_request: | ||
branches: ['\d+.x'] | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
env: | ||
packagePath: sharepoint/solution/LaserficheSharePointOnlineIntegration.sppkg | ||
packagePathUserDocs: UserDocuments | ||
fullVersion: 1.0.0.${{github.run_number}} | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup Node.js environment | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16.x | ||
|
||
- name: Tag commit | ||
uses: rickstaa/action-create-tag@v1 | ||
with: | ||
tag: ${{env.fullVersion}} | ||
commit_sha: ${{ github.sha }} | ||
message: Workflow run ${{github.server_url}}/${{github.repository}}/actions/runs/${{ github.run_id}} | ||
|
||
- name: replace config/package-solution.json version | ||
run: sed -i 's/"1.0.0.0"/"${{env.fullVersion}}"/g' config/package-solution.json | ||
|
||
- name: replace package.json version | ||
run: sed -i 's/"1.0.0.0"/"${{env.fullVersion}}"/g' package.json | ||
|
||
- name: Install dependencies | ||
run: npm ci | ||
|
||
- name: Build solution | ||
run: gulp build | ||
|
||
- name: Bundle and package | ||
run: | | ||
gulp bundle --ship | ||
gulp package-solution --ship | ||
- name: Upload Build Package | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
path: | | ||
${{ env.packagePath }} | ||
${{ env.packagePathUserDocs }} |
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 |
---|---|---|
@@ -1,52 +1,55 @@ | ||
name: Veracode SPFx CI CD | ||
|
||
on: | ||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '0 12 * * 6' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup Node.js environment | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16.x | ||
|
||
- name: Install dependencies | ||
run: npm ci | ||
|
||
- name: Build solution | ||
run: gulp build | ||
|
||
- name: 'create an empty ./veracode folder' | ||
run: 'mkdir -p ./veracode' | ||
|
||
- name: 'Compress SharePoint files' | ||
run: tar -czvf ./veracode/sharepoint-integration.tar.gz ./lib | ||
|
||
|
||
- name: Veracode Upload And Scan (Static Application Security Testing) | ||
uses: veracode/[email protected] | ||
with: | ||
appname: 'SharePoint Integration' | ||
createprofile: true | ||
filepath: 'veracode' | ||
vid: '${{ secrets.VERACODE_API_ID }}' | ||
vkey: '${{ secrets.VERACODE_API_KEY }}' | ||
|
||
- name: Run Veracode Software Composition Analysis (SCA) | ||
env: | ||
SRCCLR_API_TOKEN: ${{ secrets.SRCCLR_API_TOKEN }} | ||
uses: veracode/[email protected] | ||
with: | ||
create-issues: false | ||
allow-dirty: true | ||
recursive: true | ||
|
||
# Copyright (c) Laserfiche. | ||
# Licensed under the MIT License. See LICENSE in the project root for license information. | ||
|
||
name: Veracode SPFx CI CD | ||
|
||
on: | ||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '0 12 * * 6' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup Node.js environment | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16.x | ||
|
||
- name: Install dependencies | ||
run: npm ci | ||
|
||
- name: Build solution | ||
run: gulp build | ||
|
||
- name: 'create an empty ./veracode folder' | ||
run: 'mkdir -p ./veracode' | ||
|
||
- name: 'Compress SharePoint files' | ||
run: tar -czvf ./veracode/sharepoint-integration.tar.gz ./lib | ||
|
||
|
||
- name: Veracode Upload And Scan (Static Application Security Testing) | ||
uses: veracode/[email protected] | ||
with: | ||
appname: 'SharePoint Integration' | ||
createprofile: true | ||
filepath: 'veracode' | ||
vid: '${{ secrets.VERACODE_API_ID }}' | ||
vkey: '${{ secrets.VERACODE_API_KEY }}' | ||
|
||
- name: Run Veracode Software Composition Analysis (SCA) | ||
env: | ||
SRCCLR_API_TOKEN: ${{ secrets.SRCCLR_API_TOKEN }} | ||
uses: veracode/[email protected] | ||
with: | ||
create-issues: false | ||
allow-dirty: true | ||
recursive: true | ||
|
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.