From 68a490fc8b3293d8c383279b1c1932a26d56a5ba Mon Sep 17 00:00:00 2001 From: polarityio Date: Sat, 15 Aug 2020 01:18:03 -0400 Subject: [PATCH 1/5] Uploading Github Action: run-int-dev-checklist.yml --- .github/workflows/run-int-dev-checklist.yml | 27 +++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/run-int-dev-checklist.yml diff --git a/.github/workflows/run-int-dev-checklist.yml b/.github/workflows/run-int-dev-checklist.yml new file mode 100644 index 0000000..546fdfe --- /dev/null +++ b/.github/workflows/run-int-dev-checklist.yml @@ -0,0 +1,27 @@ +# This workflow will run on a Pull Request is created on both master develop +# It run as series of checks from the Integration Developement Checklist + + +name: Run Integration Development Checklist + +on: + pull_request: + branches: [ master, develop ] + +jobs: + run-integration-development-checklist: + runs-on: ubuntu-latest + container: 'centos:7' + + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v1 + - name: Test NPM Install + id: test-npm-install + run: | + npm install + - name: Polarity Integration Development Checklist + id: int-dev-checklist + uses: polarityio/polarity-integration-development-checklist@v1.0.0 + with: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From d9bfd9e8cffbf9c406350cd5d065d2adcfa7b421 Mon Sep 17 00:00:00 2001 From: polarityio Date: Sat, 15 Aug 2020 01:18:05 -0400 Subject: [PATCH 2/5] Uploading Github Action: release-current-version.yml --- .github/workflows/release-current-version.yml | 58 +++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 .github/workflows/release-current-version.yml diff --git a/.github/workflows/release-current-version.yml b/.github/workflows/release-current-version.yml new file mode 100644 index 0000000..c3dea28 --- /dev/null +++ b/.github/workflows/release-current-version.yml @@ -0,0 +1,58 @@ +# This workflow will run on merge of a PR or push to master +# It will run the integration developement checklist and if that passes +# creates a new release with the Release and Tag name both being the +# package.json version and will with a created tgz file and the SHA256 has in the release body + + +name: Release Current Version + +on: + push: + branches: [ master ] + +jobs: + release-current-version: + runs-on: ubuntu-latest + container: 'centos:7' + + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v1 + - name: Get NPM Version + id: package-version + uses: martinbeentjes/npm-get-version-action@95bc31c6dd3145896c110e382f840bb1e750d09c + - name: Create Build + id: create_build + run: | + npm install && + cd .. && + tar --exclude="./${{ github.event.repository.name }}/.git" --exclude="./${{ github.event.repository.name }}/.gitignore" --exclude="./${{ github.event.repository.name }}/package-lock.json" --exclude="./${{ github.event.repository.name }}/.github" -czvf "${{ github.event.repository.name }}-${{ steps.package-version.outputs.current-version }}.tgz" "./${{ github.event.repository.name }}" && + echo "::set-output name=build_hash::$(sha256sum '${{ github.event.repository.name }}-${{ steps.package-version.outputs.current-version }}.tgz' | grep -oE '^[^ ]*' )" && + cd ${{ github.event.repository.name }} + - name: Polarity Integration Development Checklist + id: int-dev-checklist + uses: polarityio/polarity-integration-development-checklist@v1.0.0 + with: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Create Versioned Release + id: create_versioned_release + uses: actions/create-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + tag_name: ${{ steps.package-version.outputs.current-version}} + release_name: ${{ steps.package-version.outputs.current-version}} + body: | + SHA256: ${{ steps.create_build.outputs.build_hash }} + draft: false + prerelease: false + - name: Upload Release Asset + id: upload-release-asset + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ steps.create_versioned_release.outputs.upload_url }} + asset_path: ../${{ github.event.repository.name }}-${{ steps.package-version.outputs.current-version}}.tgz + asset_name: ${{ github.event.repository.name }}-${{ steps.package-version.outputs.current-version}}.tgz + asset_content_type: application/gzip From 8c2c9ed1bc86f05ab80a4443ba8eeef327b8bd25 Mon Sep 17 00:00:00 2001 From: William Michaels Date: Mon, 26 Oct 2020 21:34:50 -0500 Subject: [PATCH 3/5] added scrollToIntegration for sticky header --- templates/ldap-summary.hbs | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/templates/ldap-summary.hbs b/templates/ldap-summary.hbs index 1c423ed..c617039 100644 --- a/templates/ldap-summary.hbs +++ b/templates/ldap-summary.hbs @@ -1,17 +1,17 @@ -{{#each summaryAttributes as |attribute|}} - - {{block.acronym}} - - {{humanize (dasherize attribute.display)}}: - {{#if (eq attribute.type 'date')}} - {{moment-format attribute.value 'L LTS' timeZone=timezone}} - {{else if (eq attribute.type 'array')}} - {{#each attribute.value as | value |}} - {{value}} - {{/each}} - {{else}} - {{attribute.value}} - {{/if}} - - -{{/each}} +{{#each summaryAttributes as |attribute|}} + + {{block.acronym}} + + {{humanize (dasherize attribute.display)}}: + {{#if (eq attribute.type 'date')}} + {{moment-format attribute.value 'L LTS' timeZone=timezone}} + {{else if (eq attribute.type 'array')}} + {{#each attribute.value as | value |}} + {{value}} + {{/each}} + {{else}} + {{attribute.value}} + {{/if}} + + +{{/each}} From fff0caab0b5bb0f70c2b000db31c633d340cc7e3 Mon Sep 17 00:00:00 2001 From: William Michaels Date: Tue, 27 Oct 2020 09:30:03 -0500 Subject: [PATCH 4/5] added scrollToIntegration for sticky header --- templates/ldap-summary.hbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/ldap-summary.hbs b/templates/ldap-summary.hbs index c617039..d717fb9 100644 --- a/templates/ldap-summary.hbs +++ b/templates/ldap-summary.hbs @@ -1,5 +1,5 @@ {{#each summaryAttributes as |attribute|}} - + {{block.acronym}} {{humanize (dasherize attribute.display)}}: From afd7661acc985c203e400d2f395650788875f391 Mon Sep 17 00:00:00 2001 From: Jon Penwood Date: Wed, 28 Oct 2020 12:01:32 -0500 Subject: [PATCH 5/5] Bumped package.json version and fixed summary tags --- package.json | 2 +- templates/ldap-summary.hbs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 746a099..2ae5b46 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "main": "./integration.js", "name": "LDAP", "description": "Polarity LDAP Integration", - "version": "3.4.3-beta", + "version": "3.4.4-beta", "license": "MIT", "author": "Polarity", "private": true, diff --git a/templates/ldap-summary.hbs b/templates/ldap-summary.hbs index d717fb9..c617039 100644 --- a/templates/ldap-summary.hbs +++ b/templates/ldap-summary.hbs @@ -1,5 +1,5 @@ {{#each summaryAttributes as |attribute|}} - + {{block.acronym}} {{humanize (dasherize attribute.display)}}: