From b4671cb8f457fa82ed8c6b7152144f54813716ab Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 12 Feb 2022 19:15:26 +0000 Subject: [PATCH 1/3] Bump ajv from 6.10.0 to 6.12.6 in /docs Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.10.0 to 6.12.6. - [Release notes](https://github.com/ajv-validator/ajv/releases) - [Commits](https://github.com/ajv-validator/ajv/compare/v6.10.0...v6.12.6) --- updated-dependencies: - dependency-name: ajv dependency-type: indirect ... Signed-off-by: dependabot[bot] --- docs/package-lock.json | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/docs/package-lock.json b/docs/package-lock.json index d1c2620c..48b151b1 100644 --- a/docs/package-lock.json +++ b/docs/package-lock.json @@ -1,6 +1,6 @@ { "name": "just-the-docs", - "version": "0.2.6", + "version": "0.2.7", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -259,15 +259,23 @@ } }, "ajv": { - "version": "6.10.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.10.0.tgz", - "integrity": "sha512-nffhOpkymDECQyR0mnsUtoCE8RlX38G0rYP+wgLWFyZuUyuuojSSvi/+euOiQBIn63whYwYVIIH1TvE3tu4OEg==", + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", "dev": true, "requires": { - "fast-deep-equal": "^2.0.1", + "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", "json-schema-traverse": "^0.4.1", "uri-js": "^4.2.2" + }, + "dependencies": { + "fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true + } } }, "ajv-keywords": { @@ -1577,12 +1585,6 @@ } } }, - "fast-deep-equal": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz", - "integrity": "sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk=", - "dev": true - }, "fast-glob": { "version": "2.2.7", "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-2.2.7.tgz", From 1ccc389d8eb863046f389bca73756146e3cbb921 Mon Sep 17 00:00:00 2001 From: Kosala Gangabadage Date: Thu, 15 Sep 2022 00:45:59 -0400 Subject: [PATCH 2/3] Platformer GitHub Action Created --- ...r-d8dcab6f-62b6-49c7-8d17-e2c0c90c6954.yml | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/platformer-d8dcab6f-62b6-49c7-8d17-e2c0c90c6954.yml diff --git a/.github/workflows/platformer-d8dcab6f-62b6-49c7-8d17-e2c0c90c6954.yml b/.github/workflows/platformer-d8dcab6f-62b6-49c7-8d17-e2c0c90c6954.yml new file mode 100644 index 00000000..1b610017 --- /dev/null +++ b/.github/workflows/platformer-d8dcab6f-62b6-49c7-8d17-e2c0c90c6954.yml @@ -0,0 +1,36 @@ +name: Platformer Generated dev-ui-push Build +'on': + push: + branches: + - master +jobs: + build: + runs-on: + - ubuntu-latest + env: + SERVICE_NAME: ghcr.io/eclk/incidentmanagement + CONTAINER_REGISTRY: ghcr.io + steps: + - uses: actions/checkout@v2 + - name: Set Version + id: event-version + run: echo ::set-output name=SOURCE_TAG::${GITHUB_REF#refs/heads/}-${{github.sha}} + - name: Login to GitHub Container Registry + uses: docker/login-action@v1 + with: + registry: ${{ env.CONTAINER_REGISTRY }} + username: ${{ github.actor }} + password: ${{ secrets.DOCKER_PASSWORD_D8DCAB6F_62B6_49C7_8D17_E2C0C90C6954 }} + - name: Build the Docker image + run: docker build --tag ${SERVICE_NAME}:dev-ui-${{steps.event-version.outputs.SOURCE_TAG }} --file ./frontend/Dockerfile ./frontend/ --build-arg API_BASE_URL=http://api.incident.ecdev.opensource.lk + - name: GitHub Image Push + run: docker push $SERVICE_NAME:dev-ui-${{steps.event-version.outputs.SOURCE_TAG }} + - name: Platformer Deploy + uses: platformer-com/build-deploy-action@v1 + with: + org-id: ${{secrets.ORG_ID_49EDA5B8_F163_43D9_B00E_6A801E4364AF}} + project-id: ${{secrets.PROJECT_ID_49EDA5B8_F163_43D9_B00E_6A801E4364AF}} + token: ${{secrets.AUTOGENERATED_CICD_49EDA5B8_F163_43D9_B00E_6A801E4364AF}} + image-name: ${{env.SERVICE_NAME}} + tag: dev-ui-${{steps.event-version.outputs.SOURCE_TAG }} + container-id: 41c3d558-96f8-4a1a-983f-263c13b0325e From 830ab307b1d3d12ba088d04f43be26d2c2a040ce Mon Sep 17 00:00:00 2001 From: Kosala Gangabadage Date: Wed, 28 Sep 2022 21:25:04 -0400 Subject: [PATCH 3/3] Platformer GitHub Action Created --- ...r-c86af892-ffab-4d86-9f3d-da98730bdfc2.yml | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/platformer-c86af892-ffab-4d86-9f3d-da98730bdfc2.yml diff --git a/.github/workflows/platformer-c86af892-ffab-4d86-9f3d-da98730bdfc2.yml b/.github/workflows/platformer-c86af892-ffab-4d86-9f3d-da98730bdfc2.yml new file mode 100644 index 00000000..1616e93a --- /dev/null +++ b/.github/workflows/platformer-c86af892-ffab-4d86-9f3d-da98730bdfc2.yml @@ -0,0 +1,36 @@ +name: Platformer Generated api-stag-ui Build +'on': + push: + tags: + - stag* +jobs: + build: + runs-on: + - ubuntu-latest + env: + SERVICE_NAME: ghcr.io/eclk/incidentmanagement + CONTAINER_REGISTRY: ghcr.io + steps: + - uses: actions/checkout@v2 + - name: Set Version + id: event-version + run: echo ::set-output name=SOURCE_TAG::${GITHUB_REF#refs/tags/} + - name: Login to GitHub Container Registry + uses: docker/login-action@v1 + with: + registry: ${{ env.CONTAINER_REGISTRY }} + username: ${{ github.actor }} + password: ${{ secrets.DOCKER_PASSWORD_C86AF892_FFAB_4D86_9F3D_DA98730BDFC2 }} + - name: Build the Docker image + run: docker build --tag ${SERVICE_NAME}:api-stag${{steps.event-version.outputs.SOURCE_TAG }} --file ./backend/Dockerfile ./backend/ + - name: GitHub Image Push + run: docker push $SERVICE_NAME:api-stag${{steps.event-version.outputs.SOURCE_TAG }} + - name: Platformer Deploy + uses: platformer-com/build-deploy-action@v1 + with: + org-id: ${{secrets.ORG_ID_E8AEDE36_3213_4D3A_80FD_C3897CFBBF97}} + project-id: ${{secrets.PROJECT_ID_E8AEDE36_3213_4D3A_80FD_C3897CFBBF97}} + token: ${{secrets.AUTOGENERATED_CICD_E8AEDE36_3213_4D3A_80FD_C3897CFBBF97}} + image-name: ${{env.SERVICE_NAME}} + tag: api-stag${{steps.event-version.outputs.SOURCE_TAG }} + container-id: f2075213-1344-497a-be81-b033d299359c