From a8ca4331199f01a04036c3cd57728c28db27a56d Mon Sep 17 00:00:00 2001 From: Dmitriy Krayniy Date: Tue, 24 Oct 2023 19:22:44 +0400 Subject: [PATCH] Added pipelines --- .../workflows/pip-services4-azure-go.yml | 45 +++---- .../workflows/pip-services4-commons-go.yml | 45 +++---- .../workflows/pip-services4-components-go.yml | 110 ++++++++++++++++++ .../workflows/pip-services4-config-go.yml | 45 +++---- .../workflows/pip-services4-container-go.yml | 110 ++++++++++++++++++ .../workflows/pip-services4-data-go.yml | 45 +++---- .../workflows/pip-services4-datadog-go.yml | 110 ++++++++++++++++++ .../pip-services4-elasticsearch-go.yml | 110 ++++++++++++++++++ .../pip-services4-expressions-go.yml | 110 ++++++++++++++++++ .github/workflows/pip-services4-gcp-go.yml | 110 ++++++++++++++++++ .github/workflows/pip-services4-grpc-go.yml | 110 ++++++++++++++++++ .github/workflows/pip-services4-http-go.yml | 110 ++++++++++++++++++ .github/workflows/pip-services4-kafka-go.yml | 110 ++++++++++++++++++ .github/workflows/pip-services4-logic-go.yml | 110 ++++++++++++++++++ .../workflows/pip-services4-memcached-go.yml | 110 ++++++++++++++++++ .../workflows/pip-services4-messaging-go.yml | 110 ++++++++++++++++++ .../workflows/pip-services4-mongodb-go.yml | 110 ++++++++++++++++++ .github/workflows/pip-services4-mqtt-go.yml | 110 ++++++++++++++++++ .github/workflows/pip-services4-mysql-go.yml | 110 ++++++++++++++++++ .github/workflows/pip-services4-nats-go.yml | 110 ++++++++++++++++++ .../pip-services4-observability-go.yml | 110 ++++++++++++++++++ .../pip-services4-persistence-go.yml | 110 ++++++++++++++++++ .../workflows/pip-services4-postgres-go.yml | 110 ++++++++++++++++++ .../workflows/pip-services4-prometheus-go.yml | 110 ++++++++++++++++++ .../workflows/pip-services4-rabbitmq-go.yml | 110 ++++++++++++++++++ .github/workflows/pip-services4-redis-go.yml | 110 ++++++++++++++++++ .github/workflows/pip-services4-rpc-go.yml | 110 ++++++++++++++++++ .github/workflows/pip-services4-sqlite-go.yml | 110 ++++++++++++++++++ .../workflows/pip-services4-sqlserver-go.yml | 110 ++++++++++++++++++ .../workflows/pip-services4-swagger-go.yml | 110 ++++++++++++++++++ pip-services4-aws-go/LICENSE | 2 +- pip-services4-aws-go/docker/Dockerfile.docs | 2 +- pip-services4-azure-go/LICENSE | 2 +- pip-services4-azure-go/component.json | 2 +- .../docker/Dockerfile.docgen | 2 +- .../.github/workflows/github-ci.yml | 103 ---------------- pip-services4-commons-go/component.json | 2 +- pip-services4-components-go/component.json | 2 +- pip-services4-config-go/README.md | 8 +- pip-services4-config-go/component.json | 2 +- .../.github/workflows/github-ci.yml | 103 ---------------- pip-services4-container-go/README.md | 4 +- pip-services4-container-go/component.json | 2 +- .../docker/Dockerfile.docs | 2 +- .../.github/workflows/github-ci.yml | 103 ---------------- pip-services4-data-go/component.json | 2 +- pip-services4-data-go/docker/Dockerfile.docs | 2 +- .../.github/workflows/github-ci.yml | 103 ---------------- pip-services4-datadog-go/LICENSE | 2 +- pip-services4-datadog-go/component.json | 2 +- .../docker/Dockerfile.docs | 2 +- .../.github/workflows/github-ci.yml | 103 ---------------- .../.github/workflows/github-ci.yml | 103 ---------------- pip-services4-expressions-go/component.json | 4 +- pip-services4-gcp-go/LICENSE | 2 +- pip-services4-gcp-go/component.json | 2 +- pip-services4-gcp-go/docker/Dockerfile.docgen | 2 +- pip-services4-grpc-go/component.json | 2 +- pip-services4-http-go/component.json | 2 +- .../.dockerignore | 0 .../.gitignore | 0 .../CHANGELOG.md | 0 .../pip-services4-elasticsearch-go}/LICENSE | 2 +- .../pip-services4-elasticsearch-go}/Makefile | 0 .../pip-services4-elasticsearch-go}/README.md | 0 .../build/DefaultElasticSearchFactory.go | 0 .../pip-services4-elasticsearch-go}/clean.ps1 | 0 .../component.json | 2 +- .../docgen.ps1 | 0 .../docker/Dockerfile.docs | 2 +- .../docker/Dockerfile.test | 0 .../docker/docker-compose.dev.yml | 0 .../docker/docker-compose.test.yml | 0 .../pip-services4-elasticsearch-go}/go.mod | 0 .../pip-services4-elasticsearch-go}/go.sum | 0 .../pip-services4-elasticsearch-go}/index.go | 0 .../log/ElasticSearchLogger.go | 0 .../pip-services4-elasticsearch-go}/test.ps1 | 0 .../test/log/ElasticSearchLogger_test.go | 0 .../test/log/LoggerFixture.go | 0 .../.github/workflows/github-ci.yml | 103 ---------------- pip-services4-kafka-go/LICENSE | 2 +- pip-services4-kafka-go/component.json | 4 +- pip-services4-kafka-go/docker/Dockerfile.docs | 2 +- pip-services4-logic-go/README.md | 6 +- pip-services4-logic-go/component.json | 2 +- .../.github/workflows/github-ci.yml | 103 ---------------- pip-services4-memcached-go/component.json | 4 +- .../.github/workflows/github-ci.yml | 103 ---------------- pip-services4-messaging-go/component.json | 2 +- .../docker/Dockerfile.docs | 2 +- .../docker/Dockerfile.docs | 2 +- .../.github/workflows/github-ci.yml | 103 ---------------- pip-services4-mqtt-go/LICENSE | 2 +- pip-services4-mqtt-go/component.json | 2 +- .../connect/MqttConnection.go | 4 +- pip-services4-mqtt-go/docker/Dockerfile.docs | 2 +- .../.github/workflows/github-ci.yml | 103 ---------------- pip-services4-mysql-go/LICENSE | 2 +- pip-services4-mysql-go/component.json | 2 +- pip-services4-mysql-go/docker/Dockerfile.docs | 2 +- .../.github/workflows/github-ci.yml | 103 ---------------- pip-services4-nats-go/LICENSE | 2 +- pip-services4-nats-go/component.json | 2 +- pip-services4-nats-go/docker/Dockerfile.docs | 2 +- pip-services4-observability-go/README.md | 8 +- pip-services4-observability-go/component.json | 2 +- .../.github/workflows/github-ci.yml | 103 ---------------- pip-services4-persistence-go/component.json | 2 +- .../docker/Dockerfile.docs | 2 +- .../.github/workflows/github-ci.yml | 103 ---------------- pip-services4-postgres-go/component.json | 4 +- .../docker/Dockerfile.docs | 2 +- .../.github/workflows/github-ci.yml | 103 ---------------- pip-services4-prometheus-go/LICENSE | 2 +- pip-services4-prometheus-go/component.json | 2 +- .../docker/Dockerfile.docs | 2 +- .../.github/workflows/github-ci.yml | 103 ---------------- pip-services4-rabbitmq-go/LICENSE | 2 +- pip-services4-rabbitmq-go/component.json | 2 +- .../docker/Dockerfile.docs | 2 +- .../.github/workflows/github-ci.yml | 103 ---------------- pip-services4-redis-go/component.json | 2 +- pip-services4-rpc-go/component.json | 2 +- .../.github/workflows/github-ci.yml | 103 ---------------- pip-services4-sqlite-go/component.json | 2 +- .../docker/Dockerfile.docs | 2 +- .../.github/workflows/github-ci.yml | 103 ---------------- pip-services4-sqlserver-go/LICENSE | 2 +- pip-services4-sqlserver-go/component.json | 4 +- .../docker/Dockerfile.docs | 2 +- .../.github/workflows/github-ci.yml | 103 ---------------- pip-services4-swagger-go/README.md | 2 +- pip-services4-swagger-go/component.json | 2 +- 134 files changed, 3037 insertions(+), 2225 deletions(-) rename pip-services4-gcp-go/.github/workflows/github-ci.yml => .github/workflows/pip-services4-azure-go.yml (52%) rename pip-services4-mongodb-go/.github/workflows/github-ci.yml => .github/workflows/pip-services4-commons-go.yml (51%) create mode 100644 .github/workflows/pip-services4-components-go.yml rename pip-services4-components-go/.github/workflows/github-ci.yml => .github/workflows/pip-services4-config-go.yml (51%) create mode 100644 .github/workflows/pip-services4-container-go.yml rename pip-services4-azure-go/.github/workflows/github-ci.yml => .github/workflows/pip-services4-data-go.yml (52%) create mode 100644 .github/workflows/pip-services4-datadog-go.yml create mode 100644 .github/workflows/pip-services4-elasticsearch-go.yml create mode 100644 .github/workflows/pip-services4-expressions-go.yml create mode 100644 .github/workflows/pip-services4-gcp-go.yml create mode 100644 .github/workflows/pip-services4-grpc-go.yml create mode 100644 .github/workflows/pip-services4-http-go.yml create mode 100644 .github/workflows/pip-services4-kafka-go.yml create mode 100644 .github/workflows/pip-services4-logic-go.yml create mode 100644 .github/workflows/pip-services4-memcached-go.yml create mode 100644 .github/workflows/pip-services4-messaging-go.yml create mode 100644 .github/workflows/pip-services4-mongodb-go.yml create mode 100644 .github/workflows/pip-services4-mqtt-go.yml create mode 100644 .github/workflows/pip-services4-mysql-go.yml create mode 100644 .github/workflows/pip-services4-nats-go.yml create mode 100644 .github/workflows/pip-services4-observability-go.yml create mode 100644 .github/workflows/pip-services4-persistence-go.yml create mode 100644 .github/workflows/pip-services4-postgres-go.yml create mode 100644 .github/workflows/pip-services4-prometheus-go.yml create mode 100644 .github/workflows/pip-services4-rabbitmq-go.yml create mode 100644 .github/workflows/pip-services4-redis-go.yml create mode 100644 .github/workflows/pip-services4-rpc-go.yml create mode 100644 .github/workflows/pip-services4-sqlite-go.yml create mode 100644 .github/workflows/pip-services4-sqlserver-go.yml create mode 100644 .github/workflows/pip-services4-swagger-go.yml delete mode 100644 pip-services4-commons-go/.github/workflows/github-ci.yml delete mode 100644 pip-services4-container-go/.github/workflows/github-ci.yml delete mode 100644 pip-services4-data-go/.github/workflows/github-ci.yml delete mode 100644 pip-services4-datadog-go/.github/workflows/github-ci.yml delete mode 100644 pip-services4-elasticsearch-go/.github/workflows/github-ci.yml delete mode 100644 pip-services4-expressions-go/.github/workflows/github-ci.yml rename {pip-services4-elasticsearch-go => pip-services4-http-go/pip-services4-elasticsearch-go}/.dockerignore (100%) rename {pip-services4-elasticsearch-go => pip-services4-http-go/pip-services4-elasticsearch-go}/.gitignore (100%) rename {pip-services4-elasticsearch-go => pip-services4-http-go/pip-services4-elasticsearch-go}/CHANGELOG.md (100%) rename {pip-services4-elasticsearch-go => pip-services4-http-go/pip-services4-elasticsearch-go}/LICENSE (96%) rename {pip-services4-elasticsearch-go => pip-services4-http-go/pip-services4-elasticsearch-go}/Makefile (100%) rename {pip-services4-elasticsearch-go => pip-services4-http-go/pip-services4-elasticsearch-go}/README.md (100%) rename {pip-services4-elasticsearch-go => pip-services4-http-go/pip-services4-elasticsearch-go}/build/DefaultElasticSearchFactory.go (100%) rename {pip-services4-elasticsearch-go => pip-services4-http-go/pip-services4-elasticsearch-go}/clean.ps1 (100%) rename {pip-services4-elasticsearch-go => pip-services4-http-go/pip-services4-elasticsearch-go}/component.json (83%) rename {pip-services4-elasticsearch-go => pip-services4-http-go/pip-services4-elasticsearch-go}/docgen.ps1 (100%) rename {pip-services4-elasticsearch-go => pip-services4-http-go/pip-services4-elasticsearch-go}/docker/Dockerfile.docs (82%) rename {pip-services4-elasticsearch-go => pip-services4-http-go/pip-services4-elasticsearch-go}/docker/Dockerfile.test (100%) rename {pip-services4-elasticsearch-go => pip-services4-http-go/pip-services4-elasticsearch-go}/docker/docker-compose.dev.yml (100%) rename {pip-services4-elasticsearch-go => pip-services4-http-go/pip-services4-elasticsearch-go}/docker/docker-compose.test.yml (100%) rename {pip-services4-elasticsearch-go => pip-services4-http-go/pip-services4-elasticsearch-go}/go.mod (100%) rename {pip-services4-elasticsearch-go => pip-services4-http-go/pip-services4-elasticsearch-go}/go.sum (100%) rename {pip-services4-elasticsearch-go => pip-services4-http-go/pip-services4-elasticsearch-go}/index.go (100%) rename {pip-services4-elasticsearch-go => pip-services4-http-go/pip-services4-elasticsearch-go}/log/ElasticSearchLogger.go (100%) rename {pip-services4-elasticsearch-go => pip-services4-http-go/pip-services4-elasticsearch-go}/test.ps1 (100%) rename {pip-services4-elasticsearch-go => pip-services4-http-go/pip-services4-elasticsearch-go}/test/log/ElasticSearchLogger_test.go (100%) rename {pip-services4-elasticsearch-go => pip-services4-http-go/pip-services4-elasticsearch-go}/test/log/LoggerFixture.go (100%) delete mode 100644 pip-services4-kafka-go/.github/workflows/github-ci.yml delete mode 100644 pip-services4-memcached-go/.github/workflows/github-ci.yml delete mode 100644 pip-services4-messaging-go/.github/workflows/github-ci.yml delete mode 100644 pip-services4-mqtt-go/.github/workflows/github-ci.yml delete mode 100644 pip-services4-mysql-go/.github/workflows/github-ci.yml delete mode 100644 pip-services4-nats-go/.github/workflows/github-ci.yml delete mode 100644 pip-services4-persistence-go/.github/workflows/github-ci.yml delete mode 100644 pip-services4-postgres-go/.github/workflows/github-ci.yml delete mode 100644 pip-services4-prometheus-go/.github/workflows/github-ci.yml delete mode 100644 pip-services4-rabbitmq-go/.github/workflows/github-ci.yml delete mode 100644 pip-services4-redis-go/.github/workflows/github-ci.yml delete mode 100644 pip-services4-sqlite-go/.github/workflows/github-ci.yml delete mode 100644 pip-services4-sqlserver-go/.github/workflows/github-ci.yml delete mode 100644 pip-services4-swagger-go/.github/workflows/github-ci.yml diff --git a/pip-services4-gcp-go/.github/workflows/github-ci.yml b/.github/workflows/pip-services4-azure-go.yml similarity index 52% rename from pip-services4-gcp-go/.github/workflows/github-ci.yml rename to .github/workflows/pip-services4-azure-go.yml index 4f7a69f..ad515d4 100644 --- a/pip-services4-gcp-go/.github/workflows/github-ci.yml +++ b/.github/workflows/pip-services4-azure-go.yml @@ -1,4 +1,4 @@ -name: Pip.Services GCP Gox Delivery +name: Pip.Services Azure GO Delivery # Configure trigger rules on: @@ -6,10 +6,13 @@ on: branches: - main paths: - - '**' - - '!README.md' + - 'pip-services4-azure-go/**' + - 'pip-services4-azure-go/!README.md' workflow_dispatch: +env: + IS_MONOREPO: true + jobs: # Setup job setup: @@ -23,24 +26,24 @@ jobs: - name: Pull delivery scripts shell: bash run: | - rm -rf script-delivery-ps + rm -rf pip-services4-azure-go/script-delivery-ps git clone ${{ secrets.SCRIPTS_DELIVERY_PS_GIT_URL }} eic-templates-cicd-ps - cp -r eic-templates-cicd-ps/script-delivery-ps script-delivery-ps + cp -r eic-templates-cicd-ps/script-delivery-ps pip-services4-azure-go/script-delivery-ps - name: Execute increment script shell: bash - run: ./script-delivery-ps/setup/increment/increment.ps1 + run: pip-services4-azure-go/script-delivery-ps/setup/increment/increment.ps1 - name: Execute prerequisites script shell: bash - run: ./script-delivery-ps/setup/prereqs/prereqs.ps1 + run: pip-services4-azure-go/script-delivery-ps/setup/prereqs/prereqs.ps1 - name: Cache intermediate data uses: actions/cache@v3 with: path: | - script-delivery-ps - component*.json + pip-services4-azure-go/script-delivery-ps + pip-services4-azure-go/component*.json key: delivery-${{ github.run_id }}-${{ github.run_attempt }} # Authoring job @@ -56,34 +59,34 @@ jobs: uses: actions/cache@v3 with: path: | - script-delivery-ps - component*.json + pip-services4-azure-go/script-delivery-ps + pip-services4-azure-go/component*.json key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - name: Execute build script shell: bash - run: script-delivery-ps/authoring/build/build.ps1 + run: pip-services4-azure-go/script-delivery-ps/authoring/build/build.ps1 - name: Execute test script shell: bash - run: ./script-delivery-ps/authoring/test/test.ps1 + run: pip-services4-azure-go/script-delivery-ps/authoring/test/test.ps1 - name: Execute package script shell: bash - run: ./script-delivery-ps/authoring/package/package.ps1 + run: pip-services4-azure-go/script-delivery-ps/authoring/package/package.ps1 - name: Execute publish script shell: bash - run: ./script-delivery-ps/authoring/publish/publish.ps1 + run: pip-services4-azure-go/script-delivery-ps/authoring/publish/publish.ps1 - name: Execute tag script shell: bash - run: ./script-delivery-ps/authoring/tag/tag.ps1 + run: pip-services4-azure-go/script-delivery-ps/authoring/tag/tag.ps1 - name: Execute clean script if: always() shell: bash - run: ./script-delivery-ps/authoring/clean/clean.ps1 + run: pip-services4-azure-go/script-delivery-ps/authoring/clean/clean.ps1 # Measure job measure: @@ -96,12 +99,12 @@ jobs: uses: actions/cache@v3 with: path: | - script-delivery-ps - component*.json + pip-services4-azure-go/script-delivery-ps + pip-services4-azure-go/component*.json key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - name: Execute measure script env: - name: $(echo '${{ github.repository }}' | awk -F '/' '{print $2}') - run: ./script-delivery-ps/measure/measure.ps1 ${{ github.repository_owner }} ${{ env.name }} ${{ secrets.AWS_ACCESS_KEY_ID }} ${{ secrets.AWS_SECRET_ACCESS_KEY }} ${{ secrets.AWS_S3_BUCKET }} ${{ secrets.AWS_S3_BUCKET_FOLDER }} ${{ secrets.GITHUB_TOKEN }} + NAME: $(echo '${{ github.repository }}' | awk -F '/' '{print $2}') + run: pip-services4-azure-go/script-delivery-ps/measure/measure.ps1 ${{ github.repository_owner }} ${{ env.NAME }} ${{ secrets.AWS_ACCESS_KEY_ID }} ${{ secrets.AWS_SECRET_ACCESS_KEY }} ${{ secrets.AWS_S3_BUCKET }} ${{ secrets.AWS_S3_BUCKET_FOLDER }} ${{ secrets.GITHUB_TOKEN }} shell: bash diff --git a/pip-services4-mongodb-go/.github/workflows/github-ci.yml b/.github/workflows/pip-services4-commons-go.yml similarity index 51% rename from pip-services4-mongodb-go/.github/workflows/github-ci.yml rename to .github/workflows/pip-services4-commons-go.yml index 72fcd1d..bb466db 100644 --- a/pip-services4-mongodb-go/.github/workflows/github-ci.yml +++ b/.github/workflows/pip-services4-commons-go.yml @@ -1,4 +1,4 @@ -name: Pip.Services MongoDB Gox Delivery +name: Pip.Services Commons GO Delivery # Configure trigger rules on: @@ -6,10 +6,13 @@ on: branches: - main paths: - - '**' - - '!README.md' + - 'pip-services4-commons-go/**' + - 'pip-services4-commons-go/!README.md' workflow_dispatch: +env: + IS_MONOREPO: true + jobs: # Setup job setup: @@ -23,24 +26,24 @@ jobs: - name: Pull delivery scripts shell: bash run: | - rm -rf script-delivery-ps + rm -rf pip-services4-commons-go/script-delivery-ps git clone ${{ secrets.SCRIPTS_DELIVERY_PS_GIT_URL }} eic-templates-cicd-ps - cp -r eic-templates-cicd-ps/script-delivery-ps script-delivery-ps + cp -r eic-templates-cicd-ps/script-delivery-ps pip-services4-commons-go/script-delivery-ps - name: Execute increment script shell: bash - run: ./script-delivery-ps/setup/increment/increment.ps1 + run: pip-services4-commons-go/script-delivery-ps/setup/increment/increment.ps1 - name: Execute prerequisites script shell: bash - run: ./script-delivery-ps/setup/prereqs/prereqs.ps1 + run: pip-services4-commons-go/script-delivery-ps/setup/prereqs/prereqs.ps1 - name: Cache intermediate data uses: actions/cache@v3 with: path: | - script-delivery-ps - component*.json + pip-services4-commons-go/script-delivery-ps + pip-services4-commons-go/component*.json key: delivery-${{ github.run_id }}-${{ github.run_attempt }} # Authoring job @@ -56,34 +59,34 @@ jobs: uses: actions/cache@v3 with: path: | - script-delivery-ps - component*.json + pip-services4-commons-go/script-delivery-ps + pip-services4-commons-go/component*.json key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - name: Execute build script shell: bash - run: script-delivery-ps/authoring/build/build.ps1 + run: pip-services4-commons-go/script-delivery-ps/authoring/build/build.ps1 - name: Execute test script shell: bash - run: ./script-delivery-ps/authoring/test/test.ps1 + run: pip-services4-commons-go/script-delivery-ps/authoring/test/test.ps1 - name: Execute package script shell: bash - run: ./script-delivery-ps/authoring/package/package.ps1 + run: pip-services4-commons-go/script-delivery-ps/authoring/package/package.ps1 - name: Execute publish script shell: bash - run: ./script-delivery-ps/authoring/publish/publish.ps1 + run: pip-services4-commons-go/script-delivery-ps/authoring/publish/publish.ps1 - name: Execute tag script shell: bash - run: ./script-delivery-ps/authoring/tag/tag.ps1 + run: pip-services4-commons-go/script-delivery-ps/authoring/tag/tag.ps1 - name: Execute clean script if: always() shell: bash - run: ./script-delivery-ps/authoring/clean/clean.ps1 + run: pip-services4-commons-go/script-delivery-ps/authoring/clean/clean.ps1 # Measure job measure: @@ -96,12 +99,12 @@ jobs: uses: actions/cache@v3 with: path: | - script-delivery-ps - component*.json + pip-services4-commons-go/script-delivery-ps + pip-services4-commons-go/component*.json key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - name: Execute measure script env: - name: $(echo '${{ github.repository }}' | awk -F '/' '{print $2}') - run: ./script-delivery-ps/measure/measure.ps1 ${{ github.repository_owner }} ${{ env.name }} ${{ secrets.AWS_ACCESS_KEY_ID }} ${{ secrets.AWS_SECRET_ACCESS_KEY }} ${{ secrets.AWS_S3_BUCKET }} ${{ secrets.AWS_S3_BUCKET_FOLDER }} ${{ secrets.GITHUB_TOKEN }} + NAME: $(echo '${{ github.repository }}' | awk -F '/' '{print $2}') + run: pip-services4-commons-go/script-delivery-ps/measure/measure.ps1 ${{ github.repository_owner }} ${{ env.NAME }} ${{ secrets.AWS_ACCESS_KEY_ID }} ${{ secrets.AWS_SECRET_ACCESS_KEY }} ${{ secrets.AWS_S3_BUCKET }} ${{ secrets.AWS_S3_BUCKET_FOLDER }} ${{ secrets.GITHUB_TOKEN }} shell: bash diff --git a/.github/workflows/pip-services4-components-go.yml b/.github/workflows/pip-services4-components-go.yml new file mode 100644 index 0000000..9a39509 --- /dev/null +++ b/.github/workflows/pip-services4-components-go.yml @@ -0,0 +1,110 @@ +name: Pip.Services Components GO Delivery + +# Configure trigger rules +on: + push: + branches: + - main + paths: + - 'pip-services4-components-go/**' + - 'pip-services4-components-go/!README.md' + workflow_dispatch: + +env: + IS_MONOREPO: true + +jobs: + # Setup job + setup: + runs-on: ubuntu-22.04 + if: "!contains(github.event.head_commit.message, '[skip-ci]')" + + steps: + - name: Checkout source code + uses: actions/checkout@main + + - name: Pull delivery scripts + shell: bash + run: | + rm -rf pip-services4-components-go/script-delivery-ps + git clone ${{ secrets.SCRIPTS_DELIVERY_PS_GIT_URL }} eic-templates-cicd-ps + cp -r eic-templates-cicd-ps/script-delivery-ps pip-services4-components-go/script-delivery-ps + + - name: Execute increment script + shell: bash + run: pip-services4-components-go/script-delivery-ps/setup/increment/increment.ps1 + + - name: Execute prerequisites script + shell: bash + run: pip-services4-components-go/script-delivery-ps/setup/prereqs/prereqs.ps1 + + - name: Cache intermediate data + uses: actions/cache@v3 + with: + path: | + pip-services4-components-go/script-delivery-ps + pip-services4-components-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + # Authoring job + authoring: + needs: setup + runs-on: ubuntu-22.04 + + steps: + - name: Checkout source code + uses: actions/checkout@main + + - name: Get cached intermediate data + uses: actions/cache@v3 + with: + path: | + pip-services4-components-go/script-delivery-ps + pip-services4-components-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + - name: Execute build script + shell: bash + run: pip-services4-components-go/script-delivery-ps/authoring/build/build.ps1 + + - name: Execute test script + shell: bash + run: pip-services4-components-go/script-delivery-ps/authoring/test/test.ps1 + + - name: Execute package script + shell: bash + run: pip-services4-components-go/script-delivery-ps/authoring/package/package.ps1 + + - name: Execute publish script + shell: bash + run: pip-services4-components-go/script-delivery-ps/authoring/publish/publish.ps1 + + - name: Execute tag script + shell: bash + run: pip-services4-components-go/script-delivery-ps/authoring/tag/tag.ps1 + + - name: Execute clean script + if: always() + shell: bash + run: pip-services4-components-go/script-delivery-ps/authoring/clean/clean.ps1 + + # Measure job + measure: + needs: authoring + if: always() + runs-on: ubuntu-22.04 + + steps: + - name: Get cached intermediate data + uses: actions/cache@v3 + with: + path: | + pip-services4-components-go/script-delivery-ps + pip-services4-components-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + - name: Execute measure script + env: + NAME: $(echo '${{ github.repository }}' | awk -F '/' '{print $2}') + run: pip-services4-components-go/script-delivery-ps/measure/measure.ps1 ${{ github.repository_owner }} ${{ env.NAME }} ${{ secrets.AWS_ACCESS_KEY_ID }} ${{ secrets.AWS_SECRET_ACCESS_KEY }} ${{ secrets.AWS_S3_BUCKET }} ${{ secrets.AWS_S3_BUCKET_FOLDER }} ${{ secrets.GITHUB_TOKEN }} + shell: bash diff --git a/pip-services4-components-go/.github/workflows/github-ci.yml b/.github/workflows/pip-services4-config-go.yml similarity index 51% rename from pip-services4-components-go/.github/workflows/github-ci.yml rename to .github/workflows/pip-services4-config-go.yml index 6b41860..29cfec1 100644 --- a/pip-services4-components-go/.github/workflows/github-ci.yml +++ b/.github/workflows/pip-services4-config-go.yml @@ -1,4 +1,4 @@ -name: Pip.Services Components Gox Delivery +name: Pip.Services Config GO Delivery # Configure trigger rules on: @@ -6,10 +6,13 @@ on: branches: - main paths: - - '**' - - '!README.md' + - 'pip-services4-config-go/**' + - 'pip-services4-config-go/!README.md' workflow_dispatch: +env: + IS_MONOREPO: true + jobs: # Setup job setup: @@ -23,24 +26,24 @@ jobs: - name: Pull delivery scripts shell: bash run: | - rm -rf script-delivery-ps + rm -rf pip-services4-config-go/script-delivery-ps git clone ${{ secrets.SCRIPTS_DELIVERY_PS_GIT_URL }} eic-templates-cicd-ps - cp -r eic-templates-cicd-ps/script-delivery-ps script-delivery-ps + cp -r eic-templates-cicd-ps/script-delivery-ps pip-services4-config-go/script-delivery-ps - name: Execute increment script shell: bash - run: ./script-delivery-ps/setup/increment/increment.ps1 + run: pip-services4-config-go/script-delivery-ps/setup/increment/increment.ps1 - name: Execute prerequisites script shell: bash - run: ./script-delivery-ps/setup/prereqs/prereqs.ps1 + run: pip-services4-config-go/script-delivery-ps/setup/prereqs/prereqs.ps1 - name: Cache intermediate data uses: actions/cache@v3 with: path: | - script-delivery-ps - component*.json + pip-services4-config-go/script-delivery-ps + pip-services4-config-go/component*.json key: delivery-${{ github.run_id }}-${{ github.run_attempt }} # Authoring job @@ -56,34 +59,34 @@ jobs: uses: actions/cache@v3 with: path: | - script-delivery-ps - component*.json + pip-services4-config-go/script-delivery-ps + pip-services4-config-go/component*.json key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - name: Execute build script shell: bash - run: script-delivery-ps/authoring/build/build.ps1 + run: pip-services4-config-go/script-delivery-ps/authoring/build/build.ps1 - name: Execute test script shell: bash - run: ./script-delivery-ps/authoring/test/test.ps1 + run: pip-services4-config-go/script-delivery-ps/authoring/test/test.ps1 - name: Execute package script shell: bash - run: ./script-delivery-ps/authoring/package/package.ps1 + run: pip-services4-config-go/script-delivery-ps/authoring/package/package.ps1 - name: Execute publish script shell: bash - run: ./script-delivery-ps/authoring/publish/publish.ps1 + run: pip-services4-config-go/script-delivery-ps/authoring/publish/publish.ps1 - name: Execute tag script shell: bash - run: ./script-delivery-ps/authoring/tag/tag.ps1 + run: pip-services4-config-go/script-delivery-ps/authoring/tag/tag.ps1 - name: Execute clean script if: always() shell: bash - run: ./script-delivery-ps/authoring/clean/clean.ps1 + run: pip-services4-config-go/script-delivery-ps/authoring/clean/clean.ps1 # Measure job measure: @@ -96,12 +99,12 @@ jobs: uses: actions/cache@v3 with: path: | - script-delivery-ps - component*.json + pip-services4-config-go/script-delivery-ps + pip-services4-config-go/component*.json key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - name: Execute measure script env: - name: $(echo '${{ github.repository }}' | awk -F '/' '{print $2}') - run: ./script-delivery-ps/measure/measure.ps1 ${{ github.repository_owner }} ${{ env.name }} ${{ secrets.AWS_ACCESS_KEY_ID }} ${{ secrets.AWS_SECRET_ACCESS_KEY }} ${{ secrets.AWS_S3_BUCKET }} ${{ secrets.AWS_S3_BUCKET_FOLDER }} ${{ secrets.GITHUB_TOKEN }} + NAME: $(echo '${{ github.repository }}' | awk -F '/' '{print $2}') + run: pip-services4-config-go/script-delivery-ps/measure/measure.ps1 ${{ github.repository_owner }} ${{ env.NAME }} ${{ secrets.AWS_ACCESS_KEY_ID }} ${{ secrets.AWS_SECRET_ACCESS_KEY }} ${{ secrets.AWS_S3_BUCKET }} ${{ secrets.AWS_S3_BUCKET_FOLDER }} ${{ secrets.GITHUB_TOKEN }} shell: bash diff --git a/.github/workflows/pip-services4-container-go.yml b/.github/workflows/pip-services4-container-go.yml new file mode 100644 index 0000000..dd2a215 --- /dev/null +++ b/.github/workflows/pip-services4-container-go.yml @@ -0,0 +1,110 @@ +name: Pip.Services Container GO Delivery + +# Configure trigger rules +on: + push: + branches: + - main + paths: + - 'pip-services4-container-go/**' + - 'pip-services4-container-go/!README.md' + workflow_dispatch: + +env: + IS_MONOREPO: true + +jobs: + # Setup job + setup: + runs-on: ubuntu-22.04 + if: "!contains(github.event.head_commit.message, '[skip-ci]')" + + steps: + - name: Checkout source code + uses: actions/checkout@main + + - name: Pull delivery scripts + shell: bash + run: | + rm -rf pip-services4-container-go/script-delivery-ps + git clone ${{ secrets.SCRIPTS_DELIVERY_PS_GIT_URL }} eic-templates-cicd-ps + cp -r eic-templates-cicd-ps/script-delivery-ps pip-services4-container-go/script-delivery-ps + + - name: Execute increment script + shell: bash + run: pip-services4-container-go/script-delivery-ps/setup/increment/increment.ps1 + + - name: Execute prerequisites script + shell: bash + run: pip-services4-container-go/script-delivery-ps/setup/prereqs/prereqs.ps1 + + - name: Cache intermediate data + uses: actions/cache@v3 + with: + path: | + pip-services4-container-go/script-delivery-ps + pip-services4-container-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + # Authoring job + authoring: + needs: setup + runs-on: ubuntu-22.04 + + steps: + - name: Checkout source code + uses: actions/checkout@main + + - name: Get cached intermediate data + uses: actions/cache@v3 + with: + path: | + pip-services4-container-go/script-delivery-ps + pip-services4-container-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + - name: Execute build script + shell: bash + run: pip-services4-container-go/script-delivery-ps/authoring/build/build.ps1 + + - name: Execute test script + shell: bash + run: pip-services4-container-go/script-delivery-ps/authoring/test/test.ps1 + + - name: Execute package script + shell: bash + run: pip-services4-container-go/script-delivery-ps/authoring/package/package.ps1 + + - name: Execute publish script + shell: bash + run: pip-services4-container-go/script-delivery-ps/authoring/publish/publish.ps1 + + - name: Execute tag script + shell: bash + run: pip-services4-container-go/script-delivery-ps/authoring/tag/tag.ps1 + + - name: Execute clean script + if: always() + shell: bash + run: pip-services4-container-go/script-delivery-ps/authoring/clean/clean.ps1 + + # Measure job + measure: + needs: authoring + if: always() + runs-on: ubuntu-22.04 + + steps: + - name: Get cached intermediate data + uses: actions/cache@v3 + with: + path: | + pip-services4-container-go/script-delivery-ps + pip-services4-container-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + - name: Execute measure script + env: + NAME: $(echo '${{ github.repository }}' | awk -F '/' '{print $2}') + run: pip-services4-container-go/script-delivery-ps/measure/measure.ps1 ${{ github.repository_owner }} ${{ env.NAME }} ${{ secrets.AWS_ACCESS_KEY_ID }} ${{ secrets.AWS_SECRET_ACCESS_KEY }} ${{ secrets.AWS_S3_BUCKET }} ${{ secrets.AWS_S3_BUCKET_FOLDER }} ${{ secrets.GITHUB_TOKEN }} + shell: bash diff --git a/pip-services4-azure-go/.github/workflows/github-ci.yml b/.github/workflows/pip-services4-data-go.yml similarity index 52% rename from pip-services4-azure-go/.github/workflows/github-ci.yml rename to .github/workflows/pip-services4-data-go.yml index 8209599..4868923 100644 --- a/pip-services4-azure-go/.github/workflows/github-ci.yml +++ b/.github/workflows/pip-services4-data-go.yml @@ -1,4 +1,4 @@ -name: Pip.Services Azure Gox Delivery +name: Pip.Services Data GO Delivery # Configure trigger rules on: @@ -6,10 +6,13 @@ on: branches: - main paths: - - '**' - - '!README.md' + - 'pip-services4-data-go/**' + - 'pip-services4-data-go/!README.md' workflow_dispatch: +env: + IS_MONOREPO: true + jobs: # Setup job setup: @@ -23,24 +26,24 @@ jobs: - name: Pull delivery scripts shell: bash run: | - rm -rf script-delivery-ps + rm -rf pip-services4-data-go/script-delivery-ps git clone ${{ secrets.SCRIPTS_DELIVERY_PS_GIT_URL }} eic-templates-cicd-ps - cp -r eic-templates-cicd-ps/script-delivery-ps script-delivery-ps + cp -r eic-templates-cicd-ps/script-delivery-ps pip-services4-data-go/script-delivery-ps - name: Execute increment script shell: bash - run: ./script-delivery-ps/setup/increment/increment.ps1 + run: pip-services4-data-go/script-delivery-ps/setup/increment/increment.ps1 - name: Execute prerequisites script shell: bash - run: ./script-delivery-ps/setup/prereqs/prereqs.ps1 + run: pip-services4-data-go/script-delivery-ps/setup/prereqs/prereqs.ps1 - name: Cache intermediate data uses: actions/cache@v3 with: path: | - script-delivery-ps - component*.json + pip-services4-data-go/script-delivery-ps + pip-services4-data-go/component*.json key: delivery-${{ github.run_id }}-${{ github.run_attempt }} # Authoring job @@ -56,34 +59,34 @@ jobs: uses: actions/cache@v3 with: path: | - script-delivery-ps - component*.json + pip-services4-data-go/script-delivery-ps + pip-services4-data-go/component*.json key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - name: Execute build script shell: bash - run: script-delivery-ps/authoring/build/build.ps1 + run: pip-services4-data-go/script-delivery-ps/authoring/build/build.ps1 - name: Execute test script shell: bash - run: ./script-delivery-ps/authoring/test/test.ps1 + run: pip-services4-data-go/script-delivery-ps/authoring/test/test.ps1 - name: Execute package script shell: bash - run: ./script-delivery-ps/authoring/package/package.ps1 + run: pip-services4-data-go/script-delivery-ps/authoring/package/package.ps1 - name: Execute publish script shell: bash - run: ./script-delivery-ps/authoring/publish/publish.ps1 + run: pip-services4-data-go/script-delivery-ps/authoring/publish/publish.ps1 - name: Execute tag script shell: bash - run: ./script-delivery-ps/authoring/tag/tag.ps1 + run: pip-services4-data-go/script-delivery-ps/authoring/tag/tag.ps1 - name: Execute clean script if: always() shell: bash - run: ./script-delivery-ps/authoring/clean/clean.ps1 + run: pip-services4-data-go/script-delivery-ps/authoring/clean/clean.ps1 # Measure job measure: @@ -96,12 +99,12 @@ jobs: uses: actions/cache@v3 with: path: | - script-delivery-ps - component*.json + pip-services4-data-go/script-delivery-ps + pip-services4-data-go/component*.json key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - name: Execute measure script env: - name: $(echo '${{ github.repository }}' | awk -F '/' '{print $2}') - run: ./script-delivery-ps/measure/measure.ps1 ${{ github.repository_owner }} ${{ env.name }} ${{ secrets.AWS_ACCESS_KEY_ID }} ${{ secrets.AWS_SECRET_ACCESS_KEY }} ${{ secrets.AWS_S3_BUCKET }} ${{ secrets.AWS_S3_BUCKET_FOLDER }} ${{ secrets.GITHUB_TOKEN }} + NAME: $(echo '${{ github.repository }}' | awk -F '/' '{print $2}') + run: pip-services4-data-go/script-delivery-ps/measure/measure.ps1 ${{ github.repository_owner }} ${{ env.NAME }} ${{ secrets.AWS_ACCESS_KEY_ID }} ${{ secrets.AWS_SECRET_ACCESS_KEY }} ${{ secrets.AWS_S3_BUCKET }} ${{ secrets.AWS_S3_BUCKET_FOLDER }} ${{ secrets.GITHUB_TOKEN }} shell: bash diff --git a/.github/workflows/pip-services4-datadog-go.yml b/.github/workflows/pip-services4-datadog-go.yml new file mode 100644 index 0000000..3db776f --- /dev/null +++ b/.github/workflows/pip-services4-datadog-go.yml @@ -0,0 +1,110 @@ +name: Pip.Services DataDog GO Delivery + +# Configure trigger rules +on: + push: + branches: + - main + paths: + - 'pip-services4-datadog-go/**' + - 'pip-services4-datadog-go/!README.md' + workflow_dispatch: + +env: + IS_MONOREPO: true + +jobs: + # Setup job + setup: + runs-on: ubuntu-22.04 + if: "!contains(github.event.head_commit.message, '[skip-ci]')" + + steps: + - name: Checkout source code + uses: actions/checkout@main + + - name: Pull delivery scripts + shell: bash + run: | + rm -rf pip-services4-datadog-go/script-delivery-ps + git clone ${{ secrets.SCRIPTS_DELIVERY_PS_GIT_URL }} eic-templates-cicd-ps + cp -r eic-templates-cicd-ps/script-delivery-ps pip-services4-datadog-go/script-delivery-ps + + - name: Execute increment script + shell: bash + run: pip-services4-datadog-go/script-delivery-ps/setup/increment/increment.ps1 + + - name: Execute prerequisites script + shell: bash + run: pip-services4-datadog-go/script-delivery-ps/setup/prereqs/prereqs.ps1 + + - name: Cache intermediate datadog + uses: actions/cache@v3 + with: + path: | + pip-services4-datadog-go/script-delivery-ps + pip-services4-datadog-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + # Authoring job + authoring: + needs: setup + runs-on: ubuntu-22.04 + + steps: + - name: Checkout source code + uses: actions/checkout@main + + - name: Get cached intermediate datadog + uses: actions/cache@v3 + with: + path: | + pip-services4-datadog-go/script-delivery-ps + pip-services4-datadog-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + - name: Execute build script + shell: bash + run: pip-services4-datadog-go/script-delivery-ps/authoring/build/build.ps1 + + - name: Execute test script + shell: bash + run: pip-services4-datadog-go/script-delivery-ps/authoring/test/test.ps1 + + - name: Execute package script + shell: bash + run: pip-services4-datadog-go/script-delivery-ps/authoring/package/package.ps1 + + - name: Execute publish script + shell: bash + run: pip-services4-datadog-go/script-delivery-ps/authoring/publish/publish.ps1 + + - name: Execute tag script + shell: bash + run: pip-services4-datadog-go/script-delivery-ps/authoring/tag/tag.ps1 + + - name: Execute clean script + if: always() + shell: bash + run: pip-services4-datadog-go/script-delivery-ps/authoring/clean/clean.ps1 + + # Measure job + measure: + needs: authoring + if: always() + runs-on: ubuntu-22.04 + + steps: + - name: Get cached intermediate datadog + uses: actions/cache@v3 + with: + path: | + pip-services4-datadog-go/script-delivery-ps + pip-services4-datadog-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + - name: Execute measure script + env: + NAME: $(echo '${{ github.repository }}' | awk -F '/' '{print $2}') + run: pip-services4-datadog-go/script-delivery-ps/measure/measure.ps1 ${{ github.repository_owner }} ${{ env.NAME }} ${{ secrets.AWS_ACCESS_KEY_ID }} ${{ secrets.AWS_SECRET_ACCESS_KEY }} ${{ secrets.AWS_S3_BUCKET }} ${{ secrets.AWS_S3_BUCKET_FOLDER }} ${{ secrets.GITHUB_TOKEN }} + shell: bash diff --git a/.github/workflows/pip-services4-elasticsearch-go.yml b/.github/workflows/pip-services4-elasticsearch-go.yml new file mode 100644 index 0000000..24ab56a --- /dev/null +++ b/.github/workflows/pip-services4-elasticsearch-go.yml @@ -0,0 +1,110 @@ +name: Pip.Services ElasticSearch GO Delivery + +# Configure trigger rules +on: + push: + branches: + - main + paths: + - 'pip-services4-elasticsearch-go/**' + - 'pip-services4-elasticsearch-go/!README.md' + workflow_dispatch: + +env: + IS_MONOREPO: true + +jobs: + # Setup job + setup: + runs-on: ubuntu-22.04 + if: "!contains(github.event.head_commit.message, '[skip-ci]')" + + steps: + - name: Checkout source code + uses: actions/checkout@main + + - name: Pull delivery scripts + shell: bash + run: | + rm -rf pip-services4-elasticsearch-go/script-delivery-ps + git clone ${{ secrets.SCRIPTS_DELIVERY_PS_GIT_URL }} eic-templates-cicd-ps + cp -r eic-templates-cicd-ps/script-delivery-ps pip-services4-elasticsearch-go/script-delivery-ps + + - name: Execute increment script + shell: bash + run: pip-services4-elasticsearch-go/script-delivery-ps/setup/increment/increment.ps1 + + - name: Execute prerequisites script + shell: bash + run: pip-services4-elasticsearch-go/script-delivery-ps/setup/prereqs/prereqs.ps1 + + - name: Cache intermediate elasticsearch + uses: actions/cache@v3 + with: + path: | + pip-services4-elasticsearch-go/script-delivery-ps + pip-services4-elasticsearch-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + # Authoring job + authoring: + needs: setup + runs-on: ubuntu-22.04 + + steps: + - name: Checkout source code + uses: actions/checkout@main + + - name: Get cached intermediate elasticsearch + uses: actions/cache@v3 + with: + path: | + pip-services4-elasticsearch-go/script-delivery-ps + pip-services4-elasticsearch-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + - name: Execute build script + shell: bash + run: pip-services4-elasticsearch-go/script-delivery-ps/authoring/build/build.ps1 + + - name: Execute test script + shell: bash + run: pip-services4-elasticsearch-go/script-delivery-ps/authoring/test/test.ps1 + + - name: Execute package script + shell: bash + run: pip-services4-elasticsearch-go/script-delivery-ps/authoring/package/package.ps1 + + - name: Execute publish script + shell: bash + run: pip-services4-elasticsearch-go/script-delivery-ps/authoring/publish/publish.ps1 + + - name: Execute tag script + shell: bash + run: pip-services4-elasticsearch-go/script-delivery-ps/authoring/tag/tag.ps1 + + - name: Execute clean script + if: always() + shell: bash + run: pip-services4-elasticsearch-go/script-delivery-ps/authoring/clean/clean.ps1 + + # Measure job + measure: + needs: authoring + if: always() + runs-on: ubuntu-22.04 + + steps: + - name: Get cached intermediate elasticsearch + uses: actions/cache@v3 + with: + path: | + pip-services4-elasticsearch-go/script-delivery-ps + pip-services4-elasticsearch-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + - name: Execute measure script + env: + NAME: $(echo '${{ github.repository }}' | awk -F '/' '{print $2}') + run: pip-services4-elasticsearch-go/script-delivery-ps/measure/measure.ps1 ${{ github.repository_owner }} ${{ env.NAME }} ${{ secrets.AWS_ACCESS_KEY_ID }} ${{ secrets.AWS_SECRET_ACCESS_KEY }} ${{ secrets.AWS_S3_BUCKET }} ${{ secrets.AWS_S3_BUCKET_FOLDER }} ${{ secrets.GITHUB_TOKEN }} + shell: bash diff --git a/.github/workflows/pip-services4-expressions-go.yml b/.github/workflows/pip-services4-expressions-go.yml new file mode 100644 index 0000000..1037c2b --- /dev/null +++ b/.github/workflows/pip-services4-expressions-go.yml @@ -0,0 +1,110 @@ +name: Pip.Services Expressions GO Delivery + +# Configure trigger rules +on: + push: + branches: + - main + paths: + - 'pip-services4-expressions-go/**' + - 'pip-services4-expressions-go/!README.md' + workflow_dispatch: + +env: + IS_MONOREPO: true + +jobs: + # Setup job + setup: + runs-on: ubuntu-22.04 + if: "!contains(github.event.head_commit.message, '[skip-ci]')" + + steps: + - name: Checkout source code + uses: actions/checkout@main + + - name: Pull delivery scripts + shell: bash + run: | + rm -rf pip-services4-expressions-go/script-delivery-ps + git clone ${{ secrets.SCRIPTS_DELIVERY_PS_GIT_URL }} eic-templates-cicd-ps + cp -r eic-templates-cicd-ps/script-delivery-ps pip-services4-expressions-go/script-delivery-ps + + - name: Execute increment script + shell: bash + run: pip-services4-expressions-go/script-delivery-ps/setup/increment/increment.ps1 + + - name: Execute prerequisites script + shell: bash + run: pip-services4-expressions-go/script-delivery-ps/setup/prereqs/prereqs.ps1 + + - name: Cache intermediate expressions + uses: actions/cache@v3 + with: + path: | + pip-services4-expressions-go/script-delivery-ps + pip-services4-expressions-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + # Authoring job + authoring: + needs: setup + runs-on: ubuntu-22.04 + + steps: + - name: Checkout source code + uses: actions/checkout@main + + - name: Get cached intermediate expressions + uses: actions/cache@v3 + with: + path: | + pip-services4-expressions-go/script-delivery-ps + pip-services4-expressions-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + - name: Execute build script + shell: bash + run: pip-services4-expressions-go/script-delivery-ps/authoring/build/build.ps1 + + - name: Execute test script + shell: bash + run: pip-services4-expressions-go/script-delivery-ps/authoring/test/test.ps1 + + - name: Execute package script + shell: bash + run: pip-services4-expressions-go/script-delivery-ps/authoring/package/package.ps1 + + - name: Execute publish script + shell: bash + run: pip-services4-expressions-go/script-delivery-ps/authoring/publish/publish.ps1 + + - name: Execute tag script + shell: bash + run: pip-services4-expressions-go/script-delivery-ps/authoring/tag/tag.ps1 + + - name: Execute clean script + if: always() + shell: bash + run: pip-services4-expressions-go/script-delivery-ps/authoring/clean/clean.ps1 + + # Measure job + measure: + needs: authoring + if: always() + runs-on: ubuntu-22.04 + + steps: + - name: Get cached intermediate expressions + uses: actions/cache@v3 + with: + path: | + pip-services4-expressions-go/script-delivery-ps + pip-services4-expressions-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + - name: Execute measure script + env: + NAME: $(echo '${{ github.repository }}' | awk -F '/' '{print $2}') + run: pip-services4-expressions-go/script-delivery-ps/measure/measure.ps1 ${{ github.repository_owner }} ${{ env.NAME }} ${{ secrets.AWS_ACCESS_KEY_ID }} ${{ secrets.AWS_SECRET_ACCESS_KEY }} ${{ secrets.AWS_S3_BUCKET }} ${{ secrets.AWS_S3_BUCKET_FOLDER }} ${{ secrets.GITHUB_TOKEN }} + shell: bash diff --git a/.github/workflows/pip-services4-gcp-go.yml b/.github/workflows/pip-services4-gcp-go.yml new file mode 100644 index 0000000..346b756 --- /dev/null +++ b/.github/workflows/pip-services4-gcp-go.yml @@ -0,0 +1,110 @@ +name: Pip.Services GCP GO Delivery + +# Configure trigger rules +on: + push: + branches: + - main + paths: + - 'pip-services4-gcp-go/**' + - 'pip-services4-gcp-go/!README.md' + workflow_dispatch: + +env: + IS_MONOREPO: true + +jobs: + # Setup job + setup: + runs-on: ubuntu-22.04 + if: "!contains(github.event.head_commit.message, '[skip-ci]')" + + steps: + - name: Checkout source code + uses: actions/checkout@main + + - name: Pull delivery scripts + shell: bash + run: | + rm -rf pip-services4-gcp-go/script-delivery-ps + git clone ${{ secrets.SCRIPTS_DELIVERY_PS_GIT_URL }} eic-templates-cicd-ps + cp -r eic-templates-cicd-ps/script-delivery-ps pip-services4-gcp-go/script-delivery-ps + + - name: Execute increment script + shell: bash + run: pip-services4-gcp-go/script-delivery-ps/setup/increment/increment.ps1 + + - name: Execute prerequisites script + shell: bash + run: pip-services4-gcp-go/script-delivery-ps/setup/prereqs/prereqs.ps1 + + - name: Cache intermediate gcp + uses: actions/cache@v3 + with: + path: | + pip-services4-gcp-go/script-delivery-ps + pip-services4-gcp-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + # Authoring job + authoring: + needs: setup + runs-on: ubuntu-22.04 + + steps: + - name: Checkout source code + uses: actions/checkout@main + + - name: Get cached intermediate gcp + uses: actions/cache@v3 + with: + path: | + pip-services4-gcp-go/script-delivery-ps + pip-services4-gcp-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + - name: Execute build script + shell: bash + run: pip-services4-gcp-go/script-delivery-ps/authoring/build/build.ps1 + + - name: Execute test script + shell: bash + run: pip-services4-gcp-go/script-delivery-ps/authoring/test/test.ps1 + + - name: Execute package script + shell: bash + run: pip-services4-gcp-go/script-delivery-ps/authoring/package/package.ps1 + + - name: Execute publish script + shell: bash + run: pip-services4-gcp-go/script-delivery-ps/authoring/publish/publish.ps1 + + - name: Execute tag script + shell: bash + run: pip-services4-gcp-go/script-delivery-ps/authoring/tag/tag.ps1 + + - name: Execute clean script + if: always() + shell: bash + run: pip-services4-gcp-go/script-delivery-ps/authoring/clean/clean.ps1 + + # Measure job + measure: + needs: authoring + if: always() + runs-on: ubuntu-22.04 + + steps: + - name: Get cached intermediate gcp + uses: actions/cache@v3 + with: + path: | + pip-services4-gcp-go/script-delivery-ps + pip-services4-gcp-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + - name: Execute measure script + env: + NAME: $(echo '${{ github.repository }}' | awk -F '/' '{print $2}') + run: pip-services4-gcp-go/script-delivery-ps/measure/measure.ps1 ${{ github.repository_owner }} ${{ env.NAME }} ${{ secrets.AWS_ACCESS_KEY_ID }} ${{ secrets.AWS_SECRET_ACCESS_KEY }} ${{ secrets.AWS_S3_BUCKET }} ${{ secrets.AWS_S3_BUCKET_FOLDER }} ${{ secrets.GITHUB_TOKEN }} + shell: bash diff --git a/.github/workflows/pip-services4-grpc-go.yml b/.github/workflows/pip-services4-grpc-go.yml new file mode 100644 index 0000000..e182bbc --- /dev/null +++ b/.github/workflows/pip-services4-grpc-go.yml @@ -0,0 +1,110 @@ +name: Pip.Services GRPC GO Delivery + +# Configure trigger rules +on: + push: + branches: + - main + paths: + - 'pip-services4-grpc-go/**' + - 'pip-services4-grpc-go/!README.md' + workflow_dispatch: + +env: + IS_MONOREPO: true + +jobs: + # Setup job + setup: + runs-on: ubuntu-22.04 + if: "!contains(github.event.head_commit.message, '[skip-ci]')" + + steps: + - name: Checkout source code + uses: actions/checkout@main + + - name: Pull delivery scripts + shell: bash + run: | + rm -rf pip-services4-grpc-go/script-delivery-ps + git clone ${{ secrets.SCRIPTS_DELIVERY_PS_GIT_URL }} eic-templates-cicd-ps + cp -r eic-templates-cicd-ps/script-delivery-ps pip-services4-grpc-go/script-delivery-ps + + - name: Execute increment script + shell: bash + run: pip-services4-grpc-go/script-delivery-ps/setup/increment/increment.ps1 + + - name: Execute prerequisites script + shell: bash + run: pip-services4-grpc-go/script-delivery-ps/setup/prereqs/prereqs.ps1 + + - name: Cache intermediate grpc + uses: actions/cache@v3 + with: + path: | + pip-services4-grpc-go/script-delivery-ps + pip-services4-grpc-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + # Authoring job + authoring: + needs: setup + runs-on: ubuntu-22.04 + + steps: + - name: Checkout source code + uses: actions/checkout@main + + - name: Get cached intermediate grpc + uses: actions/cache@v3 + with: + path: | + pip-services4-grpc-go/script-delivery-ps + pip-services4-grpc-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + - name: Execute build script + shell: bash + run: pip-services4-grpc-go/script-delivery-ps/authoring/build/build.ps1 + + - name: Execute test script + shell: bash + run: pip-services4-grpc-go/script-delivery-ps/authoring/test/test.ps1 + + - name: Execute package script + shell: bash + run: pip-services4-grpc-go/script-delivery-ps/authoring/package/package.ps1 + + - name: Execute publish script + shell: bash + run: pip-services4-grpc-go/script-delivery-ps/authoring/publish/publish.ps1 + + - name: Execute tag script + shell: bash + run: pip-services4-grpc-go/script-delivery-ps/authoring/tag/tag.ps1 + + - name: Execute clean script + if: always() + shell: bash + run: pip-services4-grpc-go/script-delivery-ps/authoring/clean/clean.ps1 + + # Measure job + measure: + needs: authoring + if: always() + runs-on: ubuntu-22.04 + + steps: + - name: Get cached intermediate grpc + uses: actions/cache@v3 + with: + path: | + pip-services4-grpc-go/script-delivery-ps + pip-services4-grpc-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + - name: Execute measure script + env: + NAME: $(echo '${{ github.repository }}' | awk -F '/' '{print $2}') + run: pip-services4-grpc-go/script-delivery-ps/measure/measure.ps1 ${{ github.repository_owner }} ${{ env.NAME }} ${{ secrets.AWS_ACCESS_KEY_ID }} ${{ secrets.AWS_SECRET_ACCESS_KEY }} ${{ secrets.AWS_S3_BUCKET }} ${{ secrets.AWS_S3_BUCKET_FOLDER }} ${{ secrets.GITHUB_TOKEN }} + shell: bash diff --git a/.github/workflows/pip-services4-http-go.yml b/.github/workflows/pip-services4-http-go.yml new file mode 100644 index 0000000..8478878 --- /dev/null +++ b/.github/workflows/pip-services4-http-go.yml @@ -0,0 +1,110 @@ +name: Pip.Services HTTP GO Delivery + +# Configure trigger rules +on: + push: + branches: + - main + paths: + - 'pip-services4-http-go/**' + - 'pip-services4-http-go/!README.md' + workflow_dispatch: + +env: + IS_MONOREPO: true + +jobs: + # Setup job + setup: + runs-on: ubuntu-22.04 + if: "!contains(github.event.head_commit.message, '[skip-ci]')" + + steps: + - name: Checkout source code + uses: actions/checkout@main + + - name: Pull delivery scripts + shell: bash + run: | + rm -rf pip-services4-http-go/script-delivery-ps + git clone ${{ secrets.SCRIPTS_DELIVERY_PS_GIT_URL }} eic-templates-cicd-ps + cp -r eic-templates-cicd-ps/script-delivery-ps pip-services4-http-go/script-delivery-ps + + - name: Execute increment script + shell: bash + run: pip-services4-http-go/script-delivery-ps/setup/increment/increment.ps1 + + - name: Execute prerequisites script + shell: bash + run: pip-services4-http-go/script-delivery-ps/setup/prereqs/prereqs.ps1 + + - name: Cache intermediate http + uses: actions/cache@v3 + with: + path: | + pip-services4-http-go/script-delivery-ps + pip-services4-http-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + # Authoring job + authoring: + needs: setup + runs-on: ubuntu-22.04 + + steps: + - name: Checkout source code + uses: actions/checkout@main + + - name: Get cached intermediate http + uses: actions/cache@v3 + with: + path: | + pip-services4-http-go/script-delivery-ps + pip-services4-http-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + - name: Execute build script + shell: bash + run: pip-services4-http-go/script-delivery-ps/authoring/build/build.ps1 + + - name: Execute test script + shell: bash + run: pip-services4-http-go/script-delivery-ps/authoring/test/test.ps1 + + - name: Execute package script + shell: bash + run: pip-services4-http-go/script-delivery-ps/authoring/package/package.ps1 + + - name: Execute publish script + shell: bash + run: pip-services4-http-go/script-delivery-ps/authoring/publish/publish.ps1 + + - name: Execute tag script + shell: bash + run: pip-services4-http-go/script-delivery-ps/authoring/tag/tag.ps1 + + - name: Execute clean script + if: always() + shell: bash + run: pip-services4-http-go/script-delivery-ps/authoring/clean/clean.ps1 + + # Measure job + measure: + needs: authoring + if: always() + runs-on: ubuntu-22.04 + + steps: + - name: Get cached intermediate http + uses: actions/cache@v3 + with: + path: | + pip-services4-http-go/script-delivery-ps + pip-services4-http-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + - name: Execute measure script + env: + NAME: $(echo '${{ github.repository }}' | awk -F '/' '{print $2}') + run: pip-services4-http-go/script-delivery-ps/measure/measure.ps1 ${{ github.repository_owner }} ${{ env.NAME }} ${{ secrets.AWS_ACCESS_KEY_ID }} ${{ secrets.AWS_SECRET_ACCESS_KEY }} ${{ secrets.AWS_S3_BUCKET }} ${{ secrets.AWS_S3_BUCKET_FOLDER }} ${{ secrets.GITHUB_TOKEN }} + shell: bash diff --git a/.github/workflows/pip-services4-kafka-go.yml b/.github/workflows/pip-services4-kafka-go.yml new file mode 100644 index 0000000..d742c0d --- /dev/null +++ b/.github/workflows/pip-services4-kafka-go.yml @@ -0,0 +1,110 @@ +name: Pip.Services Kafka GO Delivery + +# Configure trigger rules +on: + push: + branches: + - main + paths: + - 'pip-services4-kafka-go/**' + - 'pip-services4-kafka-go/!README.md' + workflow_dispatch: + +env: + IS_MONOREPO: true + +jobs: + # Setup job + setup: + runs-on: ubuntu-22.04 + if: "!contains(github.event.head_commit.message, '[skip-ci]')" + + steps: + - name: Checkout source code + uses: actions/checkout@main + + - name: Pull delivery scripts + shell: bash + run: | + rm -rf pip-services4-kafka-go/script-delivery-ps + git clone ${{ secrets.SCRIPTS_DELIVERY_PS_GIT_URL }} eic-templates-cicd-ps + cp -r eic-templates-cicd-ps/script-delivery-ps pip-services4-kafka-go/script-delivery-ps + + - name: Execute increment script + shell: bash + run: pip-services4-kafka-go/script-delivery-ps/setup/increment/increment.ps1 + + - name: Execute prerequisites script + shell: bash + run: pip-services4-kafka-go/script-delivery-ps/setup/prereqs/prereqs.ps1 + + - name: Cache intermediate kafka + uses: actions/cache@v3 + with: + path: | + pip-services4-kafka-go/script-delivery-ps + pip-services4-kafka-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + # Authoring job + authoring: + needs: setup + runs-on: ubuntu-22.04 + + steps: + - name: Checkout source code + uses: actions/checkout@main + + - name: Get cached intermediate kafka + uses: actions/cache@v3 + with: + path: | + pip-services4-kafka-go/script-delivery-ps + pip-services4-kafka-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + - name: Execute build script + shell: bash + run: pip-services4-kafka-go/script-delivery-ps/authoring/build/build.ps1 + + - name: Execute test script + shell: bash + run: pip-services4-kafka-go/script-delivery-ps/authoring/test/test.ps1 + + - name: Execute package script + shell: bash + run: pip-services4-kafka-go/script-delivery-ps/authoring/package/package.ps1 + + - name: Execute publish script + shell: bash + run: pip-services4-kafka-go/script-delivery-ps/authoring/publish/publish.ps1 + + - name: Execute tag script + shell: bash + run: pip-services4-kafka-go/script-delivery-ps/authoring/tag/tag.ps1 + + - name: Execute clean script + if: always() + shell: bash + run: pip-services4-kafka-go/script-delivery-ps/authoring/clean/clean.ps1 + + # Measure job + measure: + needs: authoring + if: always() + runs-on: ubuntu-22.04 + + steps: + - name: Get cached intermediate kafka + uses: actions/cache@v3 + with: + path: | + pip-services4-kafka-go/script-delivery-ps + pip-services4-kafka-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + - name: Execute measure script + env: + NAME: $(echo '${{ github.repository }}' | awk -F '/' '{print $2}') + run: pip-services4-kafka-go/script-delivery-ps/measure/measure.ps1 ${{ github.repository_owner }} ${{ env.NAME }} ${{ secrets.AWS_ACCESS_KEY_ID }} ${{ secrets.AWS_SECRET_ACCESS_KEY }} ${{ secrets.AWS_S3_BUCKET }} ${{ secrets.AWS_S3_BUCKET_FOLDER }} ${{ secrets.GITHUB_TOKEN }} + shell: bash diff --git a/.github/workflows/pip-services4-logic-go.yml b/.github/workflows/pip-services4-logic-go.yml new file mode 100644 index 0000000..d61371e --- /dev/null +++ b/.github/workflows/pip-services4-logic-go.yml @@ -0,0 +1,110 @@ +name: Pip.Services Logic GO Delivery + +# Configure trigger rules +on: + push: + branches: + - main + paths: + - 'pip-services4-logic-go/**' + - 'pip-services4-logic-go/!README.md' + workflow_dispatch: + +env: + IS_MONOREPO: true + +jobs: + # Setup job + setup: + runs-on: ubuntu-22.04 + if: "!contains(github.event.head_commit.message, '[skip-ci]')" + + steps: + - name: Checkout source code + uses: actions/checkout@main + + - name: Pull delivery scripts + shell: bash + run: | + rm -rf pip-services4-logic-go/script-delivery-ps + git clone ${{ secrets.SCRIPTS_DELIVERY_PS_GIT_URL }} eic-templates-cicd-ps + cp -r eic-templates-cicd-ps/script-delivery-ps pip-services4-logic-go/script-delivery-ps + + - name: Execute increment script + shell: bash + run: pip-services4-logic-go/script-delivery-ps/setup/increment/increment.ps1 + + - name: Execute prerequisites script + shell: bash + run: pip-services4-logic-go/script-delivery-ps/setup/prereqs/prereqs.ps1 + + - name: Cache intermediate logic + uses: actions/cache@v3 + with: + path: | + pip-services4-logic-go/script-delivery-ps + pip-services4-logic-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + # Authoring job + authoring: + needs: setup + runs-on: ubuntu-22.04 + + steps: + - name: Checkout source code + uses: actions/checkout@main + + - name: Get cached intermediate logic + uses: actions/cache@v3 + with: + path: | + pip-services4-logic-go/script-delivery-ps + pip-services4-logic-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + - name: Execute build script + shell: bash + run: pip-services4-logic-go/script-delivery-ps/authoring/build/build.ps1 + + - name: Execute test script + shell: bash + run: pip-services4-logic-go/script-delivery-ps/authoring/test/test.ps1 + + - name: Execute package script + shell: bash + run: pip-services4-logic-go/script-delivery-ps/authoring/package/package.ps1 + + - name: Execute publish script + shell: bash + run: pip-services4-logic-go/script-delivery-ps/authoring/publish/publish.ps1 + + - name: Execute tag script + shell: bash + run: pip-services4-logic-go/script-delivery-ps/authoring/tag/tag.ps1 + + - name: Execute clean script + if: always() + shell: bash + run: pip-services4-logic-go/script-delivery-ps/authoring/clean/clean.ps1 + + # Measure job + measure: + needs: authoring + if: always() + runs-on: ubuntu-22.04 + + steps: + - name: Get cached intermediate logic + uses: actions/cache@v3 + with: + path: | + pip-services4-logic-go/script-delivery-ps + pip-services4-logic-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + - name: Execute measure script + env: + NAME: $(echo '${{ github.repository }}' | awk -F '/' '{print $2}') + run: pip-services4-logic-go/script-delivery-ps/measure/measure.ps1 ${{ github.repository_owner }} ${{ env.NAME }} ${{ secrets.AWS_ACCESS_KEY_ID }} ${{ secrets.AWS_SECRET_ACCESS_KEY }} ${{ secrets.AWS_S3_BUCKET }} ${{ secrets.AWS_S3_BUCKET_FOLDER }} ${{ secrets.GITHUB_TOKEN }} + shell: bash diff --git a/.github/workflows/pip-services4-memcached-go.yml b/.github/workflows/pip-services4-memcached-go.yml new file mode 100644 index 0000000..a88dfd6 --- /dev/null +++ b/.github/workflows/pip-services4-memcached-go.yml @@ -0,0 +1,110 @@ +name: Pip.Services Memcached GO Delivery + +# Configure trigger rules +on: + push: + branches: + - main + paths: + - 'pip-services4-memcached-go/**' + - 'pip-services4-memcached-go/!README.md' + workflow_dispatch: + +env: + IS_MONOREPO: true + +jobs: + # Setup job + setup: + runs-on: ubuntu-22.04 + if: "!contains(github.event.head_commit.message, '[skip-ci]')" + + steps: + - name: Checkout source code + uses: actions/checkout@main + + - name: Pull delivery scripts + shell: bash + run: | + rm -rf pip-services4-memcached-go/script-delivery-ps + git clone ${{ secrets.SCRIPTS_DELIVERY_PS_GIT_URL }} eic-templates-cicd-ps + cp -r eic-templates-cicd-ps/script-delivery-ps pip-services4-memcached-go/script-delivery-ps + + - name: Execute increment script + shell: bash + run: pip-services4-memcached-go/script-delivery-ps/setup/increment/increment.ps1 + + - name: Execute prerequisites script + shell: bash + run: pip-services4-memcached-go/script-delivery-ps/setup/prereqs/prereqs.ps1 + + - name: Cache intermediate memcached + uses: actions/cache@v3 + with: + path: | + pip-services4-memcached-go/script-delivery-ps + pip-services4-memcached-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + # Authoring job + authoring: + needs: setup + runs-on: ubuntu-22.04 + + steps: + - name: Checkout source code + uses: actions/checkout@main + + - name: Get cached intermediate memcached + uses: actions/cache@v3 + with: + path: | + pip-services4-memcached-go/script-delivery-ps + pip-services4-memcached-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + - name: Execute build script + shell: bash + run: pip-services4-memcached-go/script-delivery-ps/authoring/build/build.ps1 + + - name: Execute test script + shell: bash + run: pip-services4-memcached-go/script-delivery-ps/authoring/test/test.ps1 + + - name: Execute package script + shell: bash + run: pip-services4-memcached-go/script-delivery-ps/authoring/package/package.ps1 + + - name: Execute publish script + shell: bash + run: pip-services4-memcached-go/script-delivery-ps/authoring/publish/publish.ps1 + + - name: Execute tag script + shell: bash + run: pip-services4-memcached-go/script-delivery-ps/authoring/tag/tag.ps1 + + - name: Execute clean script + if: always() + shell: bash + run: pip-services4-memcached-go/script-delivery-ps/authoring/clean/clean.ps1 + + # Measure job + measure: + needs: authoring + if: always() + runs-on: ubuntu-22.04 + + steps: + - name: Get cached intermediate memcached + uses: actions/cache@v3 + with: + path: | + pip-services4-memcached-go/script-delivery-ps + pip-services4-memcached-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + - name: Execute measure script + env: + NAME: $(echo '${{ github.repository }}' | awk -F '/' '{print $2}') + run: pip-services4-memcached-go/script-delivery-ps/measure/measure.ps1 ${{ github.repository_owner }} ${{ env.NAME }} ${{ secrets.AWS_ACCESS_KEY_ID }} ${{ secrets.AWS_SECRET_ACCESS_KEY }} ${{ secrets.AWS_S3_BUCKET }} ${{ secrets.AWS_S3_BUCKET_FOLDER }} ${{ secrets.GITHUB_TOKEN }} + shell: bash diff --git a/.github/workflows/pip-services4-messaging-go.yml b/.github/workflows/pip-services4-messaging-go.yml new file mode 100644 index 0000000..4d98c22 --- /dev/null +++ b/.github/workflows/pip-services4-messaging-go.yml @@ -0,0 +1,110 @@ +name: Pip.Services Messaging GO Delivery + +# Configure trigger rules +on: + push: + branches: + - main + paths: + - 'pip-services4-messaging-go/**' + - 'pip-services4-messaging-go/!README.md' + workflow_dispatch: + +env: + IS_MONOREPO: true + +jobs: + # Setup job + setup: + runs-on: ubuntu-22.04 + if: "!contains(github.event.head_commit.message, '[skip-ci]')" + + steps: + - name: Checkout source code + uses: actions/checkout@main + + - name: Pull delivery scripts + shell: bash + run: | + rm -rf pip-services4-messaging-go/script-delivery-ps + git clone ${{ secrets.SCRIPTS_DELIVERY_PS_GIT_URL }} eic-templates-cicd-ps + cp -r eic-templates-cicd-ps/script-delivery-ps pip-services4-messaging-go/script-delivery-ps + + - name: Execute increment script + shell: bash + run: pip-services4-messaging-go/script-delivery-ps/setup/increment/increment.ps1 + + - name: Execute prerequisites script + shell: bash + run: pip-services4-messaging-go/script-delivery-ps/setup/prereqs/prereqs.ps1 + + - name: Cache intermediate messaging + uses: actions/cache@v3 + with: + path: | + pip-services4-messaging-go/script-delivery-ps + pip-services4-messaging-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + # Authoring job + authoring: + needs: setup + runs-on: ubuntu-22.04 + + steps: + - name: Checkout source code + uses: actions/checkout@main + + - name: Get cached intermediate messaging + uses: actions/cache@v3 + with: + path: | + pip-services4-messaging-go/script-delivery-ps + pip-services4-messaging-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + - name: Execute build script + shell: bash + run: pip-services4-messaging-go/script-delivery-ps/authoring/build/build.ps1 + + - name: Execute test script + shell: bash + run: pip-services4-messaging-go/script-delivery-ps/authoring/test/test.ps1 + + - name: Execute package script + shell: bash + run: pip-services4-messaging-go/script-delivery-ps/authoring/package/package.ps1 + + - name: Execute publish script + shell: bash + run: pip-services4-messaging-go/script-delivery-ps/authoring/publish/publish.ps1 + + - name: Execute tag script + shell: bash + run: pip-services4-messaging-go/script-delivery-ps/authoring/tag/tag.ps1 + + - name: Execute clean script + if: always() + shell: bash + run: pip-services4-messaging-go/script-delivery-ps/authoring/clean/clean.ps1 + + # Measure job + measure: + needs: authoring + if: always() + runs-on: ubuntu-22.04 + + steps: + - name: Get cached intermediate messaging + uses: actions/cache@v3 + with: + path: | + pip-services4-messaging-go/script-delivery-ps + pip-services4-messaging-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + - name: Execute measure script + env: + NAME: $(echo '${{ github.repository }}' | awk -F '/' '{print $2}') + run: pip-services4-messaging-go/script-delivery-ps/measure/measure.ps1 ${{ github.repository_owner }} ${{ env.NAME }} ${{ secrets.AWS_ACCESS_KEY_ID }} ${{ secrets.AWS_SECRET_ACCESS_KEY }} ${{ secrets.AWS_S3_BUCKET }} ${{ secrets.AWS_S3_BUCKET_FOLDER }} ${{ secrets.GITHUB_TOKEN }} + shell: bash diff --git a/.github/workflows/pip-services4-mongodb-go.yml b/.github/workflows/pip-services4-mongodb-go.yml new file mode 100644 index 0000000..5897961 --- /dev/null +++ b/.github/workflows/pip-services4-mongodb-go.yml @@ -0,0 +1,110 @@ +name: Pip.Services MongoDB GO Delivery + +# Configure trigger rules +on: + push: + branches: + - main + paths: + - 'pip-services4-mongodb-go/**' + - 'pip-services4-mongodb-go/!README.md' + workflow_dispatch: + +env: + IS_MONOREPO: true + +jobs: + # Setup job + setup: + runs-on: ubuntu-22.04 + if: "!contains(github.event.head_commit.message, '[skip-ci]')" + + steps: + - name: Checkout source code + uses: actions/checkout@main + + - name: Pull delivery scripts + shell: bash + run: | + rm -rf pip-services4-mongodb-go/script-delivery-ps + git clone ${{ secrets.SCRIPTS_DELIVERY_PS_GIT_URL }} eic-templates-cicd-ps + cp -r eic-templates-cicd-ps/script-delivery-ps pip-services4-mongodb-go/script-delivery-ps + + - name: Execute increment script + shell: bash + run: pip-services4-mongodb-go/script-delivery-ps/setup/increment/increment.ps1 + + - name: Execute prerequisites script + shell: bash + run: pip-services4-mongodb-go/script-delivery-ps/setup/prereqs/prereqs.ps1 + + - name: Cache intermediate mongodb + uses: actions/cache@v3 + with: + path: | + pip-services4-mongodb-go/script-delivery-ps + pip-services4-mongodb-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + # Authoring job + authoring: + needs: setup + runs-on: ubuntu-22.04 + + steps: + - name: Checkout source code + uses: actions/checkout@main + + - name: Get cached intermediate mongodb + uses: actions/cache@v3 + with: + path: | + pip-services4-mongodb-go/script-delivery-ps + pip-services4-mongodb-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + - name: Execute build script + shell: bash + run: pip-services4-mongodb-go/script-delivery-ps/authoring/build/build.ps1 + + - name: Execute test script + shell: bash + run: pip-services4-mongodb-go/script-delivery-ps/authoring/test/test.ps1 + + - name: Execute package script + shell: bash + run: pip-services4-mongodb-go/script-delivery-ps/authoring/package/package.ps1 + + - name: Execute publish script + shell: bash + run: pip-services4-mongodb-go/script-delivery-ps/authoring/publish/publish.ps1 + + - name: Execute tag script + shell: bash + run: pip-services4-mongodb-go/script-delivery-ps/authoring/tag/tag.ps1 + + - name: Execute clean script + if: always() + shell: bash + run: pip-services4-mongodb-go/script-delivery-ps/authoring/clean/clean.ps1 + + # Measure job + measure: + needs: authoring + if: always() + runs-on: ubuntu-22.04 + + steps: + - name: Get cached intermediate mongodb + uses: actions/cache@v3 + with: + path: | + pip-services4-mongodb-go/script-delivery-ps + pip-services4-mongodb-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + - name: Execute measure script + env: + NAME: $(echo '${{ github.repository }}' | awk -F '/' '{print $2}') + run: pip-services4-mongodb-go/script-delivery-ps/measure/measure.ps1 ${{ github.repository_owner }} ${{ env.NAME }} ${{ secrets.AWS_ACCESS_KEY_ID }} ${{ secrets.AWS_SECRET_ACCESS_KEY }} ${{ secrets.AWS_S3_BUCKET }} ${{ secrets.AWS_S3_BUCKET_FOLDER }} ${{ secrets.GITHUB_TOKEN }} + shell: bash diff --git a/.github/workflows/pip-services4-mqtt-go.yml b/.github/workflows/pip-services4-mqtt-go.yml new file mode 100644 index 0000000..e9c4cf5 --- /dev/null +++ b/.github/workflows/pip-services4-mqtt-go.yml @@ -0,0 +1,110 @@ +name: Pip.Services MQTT GO Delivery + +# Configure trigger rules +on: + push: + branches: + - main + paths: + - 'pip-services4-mqtt-go/**' + - 'pip-services4-mqtt-go/!README.md' + workflow_dispatch: + +env: + IS_MONOREPO: true + +jobs: + # Setup job + setup: + runs-on: ubuntu-22.04 + if: "!contains(github.event.head_commit.message, '[skip-ci]')" + + steps: + - name: Checkout source code + uses: actions/checkout@main + + - name: Pull delivery scripts + shell: bash + run: | + rm -rf pip-services4-mqtt-go/script-delivery-ps + git clone ${{ secrets.SCRIPTS_DELIVERY_PS_GIT_URL }} eic-templates-cicd-ps + cp -r eic-templates-cicd-ps/script-delivery-ps pip-services4-mqtt-go/script-delivery-ps + + - name: Execute increment script + shell: bash + run: pip-services4-mqtt-go/script-delivery-ps/setup/increment/increment.ps1 + + - name: Execute prerequisites script + shell: bash + run: pip-services4-mqtt-go/script-delivery-ps/setup/prereqs/prereqs.ps1 + + - name: Cache intermediate mqtt + uses: actions/cache@v3 + with: + path: | + pip-services4-mqtt-go/script-delivery-ps + pip-services4-mqtt-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + # Authoring job + authoring: + needs: setup + runs-on: ubuntu-22.04 + + steps: + - name: Checkout source code + uses: actions/checkout@main + + - name: Get cached intermediate mqtt + uses: actions/cache@v3 + with: + path: | + pip-services4-mqtt-go/script-delivery-ps + pip-services4-mqtt-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + - name: Execute build script + shell: bash + run: pip-services4-mqtt-go/script-delivery-ps/authoring/build/build.ps1 + + - name: Execute test script + shell: bash + run: pip-services4-mqtt-go/script-delivery-ps/authoring/test/test.ps1 + + - name: Execute package script + shell: bash + run: pip-services4-mqtt-go/script-delivery-ps/authoring/package/package.ps1 + + - name: Execute publish script + shell: bash + run: pip-services4-mqtt-go/script-delivery-ps/authoring/publish/publish.ps1 + + - name: Execute tag script + shell: bash + run: pip-services4-mqtt-go/script-delivery-ps/authoring/tag/tag.ps1 + + - name: Execute clean script + if: always() + shell: bash + run: pip-services4-mqtt-go/script-delivery-ps/authoring/clean/clean.ps1 + + # Measure job + measure: + needs: authoring + if: always() + runs-on: ubuntu-22.04 + + steps: + - name: Get cached intermediate mqtt + uses: actions/cache@v3 + with: + path: | + pip-services4-mqtt-go/script-delivery-ps + pip-services4-mqtt-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + - name: Execute measure script + env: + NAME: $(echo '${{ github.repository }}' | awk -F '/' '{print $2}') + run: pip-services4-mqtt-go/script-delivery-ps/measure/measure.ps1 ${{ github.repository_owner }} ${{ env.NAME }} ${{ secrets.AWS_ACCESS_KEY_ID }} ${{ secrets.AWS_SECRET_ACCESS_KEY }} ${{ secrets.AWS_S3_BUCKET }} ${{ secrets.AWS_S3_BUCKET_FOLDER }} ${{ secrets.GITHUB_TOKEN }} + shell: bash diff --git a/.github/workflows/pip-services4-mysql-go.yml b/.github/workflows/pip-services4-mysql-go.yml new file mode 100644 index 0000000..26ae415 --- /dev/null +++ b/.github/workflows/pip-services4-mysql-go.yml @@ -0,0 +1,110 @@ +name: Pip.Services MySQL GO Delivery + +# Configure trigger rules +on: + push: + branches: + - main + paths: + - 'pip-services4-mysql-go/**' + - 'pip-services4-mysql-go/!README.md' + workflow_dispatch: + +env: + IS_MONOREPO: true + +jobs: + # Setup job + setup: + runs-on: ubuntu-22.04 + if: "!contains(github.event.head_commit.message, '[skip-ci]')" + + steps: + - name: Checkout source code + uses: actions/checkout@main + + - name: Pull delivery scripts + shell: bash + run: | + rm -rf pip-services4-mysql-go/script-delivery-ps + git clone ${{ secrets.SCRIPTS_DELIVERY_PS_GIT_URL }} eic-templates-cicd-ps + cp -r eic-templates-cicd-ps/script-delivery-ps pip-services4-mysql-go/script-delivery-ps + + - name: Execute increment script + shell: bash + run: pip-services4-mysql-go/script-delivery-ps/setup/increment/increment.ps1 + + - name: Execute prerequisites script + shell: bash + run: pip-services4-mysql-go/script-delivery-ps/setup/prereqs/prereqs.ps1 + + - name: Cache intermediate mysql + uses: actions/cache@v3 + with: + path: | + pip-services4-mysql-go/script-delivery-ps + pip-services4-mysql-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + # Authoring job + authoring: + needs: setup + runs-on: ubuntu-22.04 + + steps: + - name: Checkout source code + uses: actions/checkout@main + + - name: Get cached intermediate mysql + uses: actions/cache@v3 + with: + path: | + pip-services4-mysql-go/script-delivery-ps + pip-services4-mysql-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + - name: Execute build script + shell: bash + run: pip-services4-mysql-go/script-delivery-ps/authoring/build/build.ps1 + + - name: Execute test script + shell: bash + run: pip-services4-mysql-go/script-delivery-ps/authoring/test/test.ps1 + + - name: Execute package script + shell: bash + run: pip-services4-mysql-go/script-delivery-ps/authoring/package/package.ps1 + + - name: Execute publish script + shell: bash + run: pip-services4-mysql-go/script-delivery-ps/authoring/publish/publish.ps1 + + - name: Execute tag script + shell: bash + run: pip-services4-mysql-go/script-delivery-ps/authoring/tag/tag.ps1 + + - name: Execute clean script + if: always() + shell: bash + run: pip-services4-mysql-go/script-delivery-ps/authoring/clean/clean.ps1 + + # Measure job + measure: + needs: authoring + if: always() + runs-on: ubuntu-22.04 + + steps: + - name: Get cached intermediate mysql + uses: actions/cache@v3 + with: + path: | + pip-services4-mysql-go/script-delivery-ps + pip-services4-mysql-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + - name: Execute measure script + env: + NAME: $(echo '${{ github.repository }}' | awk -F '/' '{print $2}') + run: pip-services4-mysql-go/script-delivery-ps/measure/measure.ps1 ${{ github.repository_owner }} ${{ env.NAME }} ${{ secrets.AWS_ACCESS_KEY_ID }} ${{ secrets.AWS_SECRET_ACCESS_KEY }} ${{ secrets.AWS_S3_BUCKET }} ${{ secrets.AWS_S3_BUCKET_FOLDER }} ${{ secrets.GITHUB_TOKEN }} + shell: bash diff --git a/.github/workflows/pip-services4-nats-go.yml b/.github/workflows/pip-services4-nats-go.yml new file mode 100644 index 0000000..831cd13 --- /dev/null +++ b/.github/workflows/pip-services4-nats-go.yml @@ -0,0 +1,110 @@ +name: Pip.Services Nats GO Delivery + +# Configure trigger rules +on: + push: + branches: + - main + paths: + - 'pip-services4-nats-go/**' + - 'pip-services4-nats-go/!README.md' + workflow_dispatch: + +env: + IS_MONOREPO: true + +jobs: + # Setup job + setup: + runs-on: ubuntu-22.04 + if: "!contains(github.event.head_commit.message, '[skip-ci]')" + + steps: + - name: Checkout source code + uses: actions/checkout@main + + - name: Pull delivery scripts + shell: bash + run: | + rm -rf pip-services4-nats-go/script-delivery-ps + git clone ${{ secrets.SCRIPTS_DELIVERY_PS_GIT_URL }} eic-templates-cicd-ps + cp -r eic-templates-cicd-ps/script-delivery-ps pip-services4-nats-go/script-delivery-ps + + - name: Execute increment script + shell: bash + run: pip-services4-nats-go/script-delivery-ps/setup/increment/increment.ps1 + + - name: Execute prerequisites script + shell: bash + run: pip-services4-nats-go/script-delivery-ps/setup/prereqs/prereqs.ps1 + + - name: Cache intermediate nats + uses: actions/cache@v3 + with: + path: | + pip-services4-nats-go/script-delivery-ps + pip-services4-nats-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + # Authoring job + authoring: + needs: setup + runs-on: ubuntu-22.04 + + steps: + - name: Checkout source code + uses: actions/checkout@main + + - name: Get cached intermediate nats + uses: actions/cache@v3 + with: + path: | + pip-services4-nats-go/script-delivery-ps + pip-services4-nats-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + - name: Execute build script + shell: bash + run: pip-services4-nats-go/script-delivery-ps/authoring/build/build.ps1 + + - name: Execute test script + shell: bash + run: pip-services4-nats-go/script-delivery-ps/authoring/test/test.ps1 + + - name: Execute package script + shell: bash + run: pip-services4-nats-go/script-delivery-ps/authoring/package/package.ps1 + + - name: Execute publish script + shell: bash + run: pip-services4-nats-go/script-delivery-ps/authoring/publish/publish.ps1 + + - name: Execute tag script + shell: bash + run: pip-services4-nats-go/script-delivery-ps/authoring/tag/tag.ps1 + + - name: Execute clean script + if: always() + shell: bash + run: pip-services4-nats-go/script-delivery-ps/authoring/clean/clean.ps1 + + # Measure job + measure: + needs: authoring + if: always() + runs-on: ubuntu-22.04 + + steps: + - name: Get cached intermediate nats + uses: actions/cache@v3 + with: + path: | + pip-services4-nats-go/script-delivery-ps + pip-services4-nats-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + - name: Execute measure script + env: + NAME: $(echo '${{ github.repository }}' | awk -F '/' '{print $2}') + run: pip-services4-nats-go/script-delivery-ps/measure/measure.ps1 ${{ github.repository_owner }} ${{ env.NAME }} ${{ secrets.AWS_ACCESS_KEY_ID }} ${{ secrets.AWS_SECRET_ACCESS_KEY }} ${{ secrets.AWS_S3_BUCKET }} ${{ secrets.AWS_S3_BUCKET_FOLDER }} ${{ secrets.GITHUB_TOKEN }} + shell: bash diff --git a/.github/workflows/pip-services4-observability-go.yml b/.github/workflows/pip-services4-observability-go.yml new file mode 100644 index 0000000..a820d46 --- /dev/null +++ b/.github/workflows/pip-services4-observability-go.yml @@ -0,0 +1,110 @@ +name: Pip.Services Observability GO Delivery + +# Configure trigger rules +on: + push: + branches: + - main + paths: + - 'pip-services4-observability-go/**' + - 'pip-services4-observability-go/!README.md' + workflow_dispatch: + +env: + IS_MONOREPO: true + +jobs: + # Setup job + setup: + runs-on: ubuntu-22.04 + if: "!contains(github.event.head_commit.message, '[skip-ci]')" + + steps: + - name: Checkout source code + uses: actions/checkout@main + + - name: Pull delivery scripts + shell: bash + run: | + rm -rf pip-services4-observability-go/script-delivery-ps + git clone ${{ secrets.SCRIPTS_DELIVERY_PS_GIT_URL }} eic-templates-cicd-ps + cp -r eic-templates-cicd-ps/script-delivery-ps pip-services4-observability-go/script-delivery-ps + + - name: Execute increment script + shell: bash + run: pip-services4-observability-go/script-delivery-ps/setup/increment/increment.ps1 + + - name: Execute prerequisites script + shell: bash + run: pip-services4-observability-go/script-delivery-ps/setup/prereqs/prereqs.ps1 + + - name: Cache intermediate observability + uses: actions/cache@v3 + with: + path: | + pip-services4-observability-go/script-delivery-ps + pip-services4-observability-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + # Authoring job + authoring: + needs: setup + runs-on: ubuntu-22.04 + + steps: + - name: Checkout source code + uses: actions/checkout@main + + - name: Get cached intermediate observability + uses: actions/cache@v3 + with: + path: | + pip-services4-observability-go/script-delivery-ps + pip-services4-observability-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + - name: Execute build script + shell: bash + run: pip-services4-observability-go/script-delivery-ps/authoring/build/build.ps1 + + - name: Execute test script + shell: bash + run: pip-services4-observability-go/script-delivery-ps/authoring/test/test.ps1 + + - name: Execute package script + shell: bash + run: pip-services4-observability-go/script-delivery-ps/authoring/package/package.ps1 + + - name: Execute publish script + shell: bash + run: pip-services4-observability-go/script-delivery-ps/authoring/publish/publish.ps1 + + - name: Execute tag script + shell: bash + run: pip-services4-observability-go/script-delivery-ps/authoring/tag/tag.ps1 + + - name: Execute clean script + if: always() + shell: bash + run: pip-services4-observability-go/script-delivery-ps/authoring/clean/clean.ps1 + + # Measure job + measure: + needs: authoring + if: always() + runs-on: ubuntu-22.04 + + steps: + - name: Get cached intermediate observability + uses: actions/cache@v3 + with: + path: | + pip-services4-observability-go/script-delivery-ps + pip-services4-observability-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + - name: Execute measure script + env: + NAME: $(echo '${{ github.repository }}' | awk -F '/' '{print $2}') + run: pip-services4-observability-go/script-delivery-ps/measure/measure.ps1 ${{ github.repository_owner }} ${{ env.NAME }} ${{ secrets.AWS_ACCESS_KEY_ID }} ${{ secrets.AWS_SECRET_ACCESS_KEY }} ${{ secrets.AWS_S3_BUCKET }} ${{ secrets.AWS_S3_BUCKET_FOLDER }} ${{ secrets.GITHUB_TOKEN }} + shell: bash diff --git a/.github/workflows/pip-services4-persistence-go.yml b/.github/workflows/pip-services4-persistence-go.yml new file mode 100644 index 0000000..fa62161 --- /dev/null +++ b/.github/workflows/pip-services4-persistence-go.yml @@ -0,0 +1,110 @@ +name: Pip.Services Persistence GO Delivery + +# Configure trigger rules +on: + push: + branches: + - main + paths: + - 'pip-services4-persistence-go/**' + - 'pip-services4-persistence-go/!README.md' + workflow_dispatch: + +env: + IS_MONOREPO: true + +jobs: + # Setup job + setup: + runs-on: ubuntu-22.04 + if: "!contains(github.event.head_commit.message, '[skip-ci]')" + + steps: + - name: Checkout source code + uses: actions/checkout@main + + - name: Pull delivery scripts + shell: bash + run: | + rm -rf pip-services4-persistence-go/script-delivery-ps + git clone ${{ secrets.SCRIPTS_DELIVERY_PS_GIT_URL }} eic-templates-cicd-ps + cp -r eic-templates-cicd-ps/script-delivery-ps pip-services4-persistence-go/script-delivery-ps + + - name: Execute increment script + shell: bash + run: pip-services4-persistence-go/script-delivery-ps/setup/increment/increment.ps1 + + - name: Execute prerequisites script + shell: bash + run: pip-services4-persistence-go/script-delivery-ps/setup/prereqs/prereqs.ps1 + + - name: Cache intermediate persistence + uses: actions/cache@v3 + with: + path: | + pip-services4-persistence-go/script-delivery-ps + pip-services4-persistence-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + # Authoring job + authoring: + needs: setup + runs-on: ubuntu-22.04 + + steps: + - name: Checkout source code + uses: actions/checkout@main + + - name: Get cached intermediate persistence + uses: actions/cache@v3 + with: + path: | + pip-services4-persistence-go/script-delivery-ps + pip-services4-persistence-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + - name: Execute build script + shell: bash + run: pip-services4-persistence-go/script-delivery-ps/authoring/build/build.ps1 + + - name: Execute test script + shell: bash + run: pip-services4-persistence-go/script-delivery-ps/authoring/test/test.ps1 + + - name: Execute package script + shell: bash + run: pip-services4-persistence-go/script-delivery-ps/authoring/package/package.ps1 + + - name: Execute publish script + shell: bash + run: pip-services4-persistence-go/script-delivery-ps/authoring/publish/publish.ps1 + + - name: Execute tag script + shell: bash + run: pip-services4-persistence-go/script-delivery-ps/authoring/tag/tag.ps1 + + - name: Execute clean script + if: always() + shell: bash + run: pip-services4-persistence-go/script-delivery-ps/authoring/clean/clean.ps1 + + # Measure job + measure: + needs: authoring + if: always() + runs-on: ubuntu-22.04 + + steps: + - name: Get cached intermediate persistence + uses: actions/cache@v3 + with: + path: | + pip-services4-persistence-go/script-delivery-ps + pip-services4-persistence-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + - name: Execute measure script + env: + NAME: $(echo '${{ github.repository }}' | awk -F '/' '{print $2}') + run: pip-services4-persistence-go/script-delivery-ps/measure/measure.ps1 ${{ github.repository_owner }} ${{ env.NAME }} ${{ secrets.AWS_ACCESS_KEY_ID }} ${{ secrets.AWS_SECRET_ACCESS_KEY }} ${{ secrets.AWS_S3_BUCKET }} ${{ secrets.AWS_S3_BUCKET_FOLDER }} ${{ secrets.GITHUB_TOKEN }} + shell: bash diff --git a/.github/workflows/pip-services4-postgres-go.yml b/.github/workflows/pip-services4-postgres-go.yml new file mode 100644 index 0000000..f27a4eb --- /dev/null +++ b/.github/workflows/pip-services4-postgres-go.yml @@ -0,0 +1,110 @@ +name: Pip.Services Postgres GO Delivery + +# Configure trigger rules +on: + push: + branches: + - main + paths: + - 'pip-services4-postgres-go/**' + - 'pip-services4-postgres-go/!README.md' + workflow_dispatch: + +env: + IS_MONOREPO: true + +jobs: + # Setup job + setup: + runs-on: ubuntu-22.04 + if: "!contains(github.event.head_commit.message, '[skip-ci]')" + + steps: + - name: Checkout source code + uses: actions/checkout@main + + - name: Pull delivery scripts + shell: bash + run: | + rm -rf pip-services4-postgres-go/script-delivery-ps + git clone ${{ secrets.SCRIPTS_DELIVERY_PS_GIT_URL }} eic-templates-cicd-ps + cp -r eic-templates-cicd-ps/script-delivery-ps pip-services4-postgres-go/script-delivery-ps + + - name: Execute increment script + shell: bash + run: pip-services4-postgres-go/script-delivery-ps/setup/increment/increment.ps1 + + - name: Execute prerequisites script + shell: bash + run: pip-services4-postgres-go/script-delivery-ps/setup/prereqs/prereqs.ps1 + + - name: Cache intermediate postgres + uses: actions/cache@v3 + with: + path: | + pip-services4-postgres-go/script-delivery-ps + pip-services4-postgres-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + # Authoring job + authoring: + needs: setup + runs-on: ubuntu-22.04 + + steps: + - name: Checkout source code + uses: actions/checkout@main + + - name: Get cached intermediate postgres + uses: actions/cache@v3 + with: + path: | + pip-services4-postgres-go/script-delivery-ps + pip-services4-postgres-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + - name: Execute build script + shell: bash + run: pip-services4-postgres-go/script-delivery-ps/authoring/build/build.ps1 + + - name: Execute test script + shell: bash + run: pip-services4-postgres-go/script-delivery-ps/authoring/test/test.ps1 + + - name: Execute package script + shell: bash + run: pip-services4-postgres-go/script-delivery-ps/authoring/package/package.ps1 + + - name: Execute publish script + shell: bash + run: pip-services4-postgres-go/script-delivery-ps/authoring/publish/publish.ps1 + + - name: Execute tag script + shell: bash + run: pip-services4-postgres-go/script-delivery-ps/authoring/tag/tag.ps1 + + - name: Execute clean script + if: always() + shell: bash + run: pip-services4-postgres-go/script-delivery-ps/authoring/clean/clean.ps1 + + # Measure job + measure: + needs: authoring + if: always() + runs-on: ubuntu-22.04 + + steps: + - name: Get cached intermediate postgres + uses: actions/cache@v3 + with: + path: | + pip-services4-postgres-go/script-delivery-ps + pip-services4-postgres-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + - name: Execute measure script + env: + NAME: $(echo '${{ github.repository }}' | awk -F '/' '{print $2}') + run: pip-services4-postgres-go/script-delivery-ps/measure/measure.ps1 ${{ github.repository_owner }} ${{ env.NAME }} ${{ secrets.AWS_ACCESS_KEY_ID }} ${{ secrets.AWS_SECRET_ACCESS_KEY }} ${{ secrets.AWS_S3_BUCKET }} ${{ secrets.AWS_S3_BUCKET_FOLDER }} ${{ secrets.GITHUB_TOKEN }} + shell: bash diff --git a/.github/workflows/pip-services4-prometheus-go.yml b/.github/workflows/pip-services4-prometheus-go.yml new file mode 100644 index 0000000..0d334f5 --- /dev/null +++ b/.github/workflows/pip-services4-prometheus-go.yml @@ -0,0 +1,110 @@ +name: Pip.Services Prometheus GO Delivery + +# Configure trigger rules +on: + push: + branches: + - main + paths: + - 'pip-services4-prometheus-go/**' + - 'pip-services4-prometheus-go/!README.md' + workflow_dispatch: + +env: + IS_MONOREPO: true + +jobs: + # Setup job + setup: + runs-on: ubuntu-22.04 + if: "!contains(github.event.head_commit.message, '[skip-ci]')" + + steps: + - name: Checkout source code + uses: actions/checkout@main + + - name: Pull delivery scripts + shell: bash + run: | + rm -rf pip-services4-prometheus-go/script-delivery-ps + git clone ${{ secrets.SCRIPTS_DELIVERY_PS_GIT_URL }} eic-templates-cicd-ps + cp -r eic-templates-cicd-ps/script-delivery-ps pip-services4-prometheus-go/script-delivery-ps + + - name: Execute increment script + shell: bash + run: pip-services4-prometheus-go/script-delivery-ps/setup/increment/increment.ps1 + + - name: Execute prerequisites script + shell: bash + run: pip-services4-prometheus-go/script-delivery-ps/setup/prereqs/prereqs.ps1 + + - name: Cache intermediate prometheus + uses: actions/cache@v3 + with: + path: | + pip-services4-prometheus-go/script-delivery-ps + pip-services4-prometheus-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + # Authoring job + authoring: + needs: setup + runs-on: ubuntu-22.04 + + steps: + - name: Checkout source code + uses: actions/checkout@main + + - name: Get cached intermediate prometheus + uses: actions/cache@v3 + with: + path: | + pip-services4-prometheus-go/script-delivery-ps + pip-services4-prometheus-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + - name: Execute build script + shell: bash + run: pip-services4-prometheus-go/script-delivery-ps/authoring/build/build.ps1 + + - name: Execute test script + shell: bash + run: pip-services4-prometheus-go/script-delivery-ps/authoring/test/test.ps1 + + - name: Execute package script + shell: bash + run: pip-services4-prometheus-go/script-delivery-ps/authoring/package/package.ps1 + + - name: Execute publish script + shell: bash + run: pip-services4-prometheus-go/script-delivery-ps/authoring/publish/publish.ps1 + + - name: Execute tag script + shell: bash + run: pip-services4-prometheus-go/script-delivery-ps/authoring/tag/tag.ps1 + + - name: Execute clean script + if: always() + shell: bash + run: pip-services4-prometheus-go/script-delivery-ps/authoring/clean/clean.ps1 + + # Measure job + measure: + needs: authoring + if: always() + runs-on: ubuntu-22.04 + + steps: + - name: Get cached intermediate prometheus + uses: actions/cache@v3 + with: + path: | + pip-services4-prometheus-go/script-delivery-ps + pip-services4-prometheus-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + - name: Execute measure script + env: + NAME: $(echo '${{ github.repository }}' | awk -F '/' '{print $2}') + run: pip-services4-prometheus-go/script-delivery-ps/measure/measure.ps1 ${{ github.repository_owner }} ${{ env.NAME }} ${{ secrets.AWS_ACCESS_KEY_ID }} ${{ secrets.AWS_SECRET_ACCESS_KEY }} ${{ secrets.AWS_S3_BUCKET }} ${{ secrets.AWS_S3_BUCKET_FOLDER }} ${{ secrets.GITHUB_TOKEN }} + shell: bash diff --git a/.github/workflows/pip-services4-rabbitmq-go.yml b/.github/workflows/pip-services4-rabbitmq-go.yml new file mode 100644 index 0000000..0688491 --- /dev/null +++ b/.github/workflows/pip-services4-rabbitmq-go.yml @@ -0,0 +1,110 @@ +name: Pip.Services RabbitMQ GO Delivery + +# Configure trigger rules +on: + push: + branches: + - main + paths: + - 'pip-services4-rabbitmq-go/**' + - 'pip-services4-rabbitmq-go/!README.md' + workflow_dispatch: + +env: + IS_MONOREPO: true + +jobs: + # Setup job + setup: + runs-on: ubuntu-22.04 + if: "!contains(github.event.head_commit.message, '[skip-ci]')" + + steps: + - name: Checkout source code + uses: actions/checkout@main + + - name: Pull delivery scripts + shell: bash + run: | + rm -rf pip-services4-rabbitmq-go/script-delivery-ps + git clone ${{ secrets.SCRIPTS_DELIVERY_PS_GIT_URL }} eic-templates-cicd-ps + cp -r eic-templates-cicd-ps/script-delivery-ps pip-services4-rabbitmq-go/script-delivery-ps + + - name: Execute increment script + shell: bash + run: pip-services4-rabbitmq-go/script-delivery-ps/setup/increment/increment.ps1 + + - name: Execute prerequisites script + shell: bash + run: pip-services4-rabbitmq-go/script-delivery-ps/setup/prereqs/prereqs.ps1 + + - name: Cache intermediate rabbitmq + uses: actions/cache@v3 + with: + path: | + pip-services4-rabbitmq-go/script-delivery-ps + pip-services4-rabbitmq-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + # Authoring job + authoring: + needs: setup + runs-on: ubuntu-22.04 + + steps: + - name: Checkout source code + uses: actions/checkout@main + + - name: Get cached intermediate rabbitmq + uses: actions/cache@v3 + with: + path: | + pip-services4-rabbitmq-go/script-delivery-ps + pip-services4-rabbitmq-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + - name: Execute build script + shell: bash + run: pip-services4-rabbitmq-go/script-delivery-ps/authoring/build/build.ps1 + + - name: Execute test script + shell: bash + run: pip-services4-rabbitmq-go/script-delivery-ps/authoring/test/test.ps1 + + - name: Execute package script + shell: bash + run: pip-services4-rabbitmq-go/script-delivery-ps/authoring/package/package.ps1 + + - name: Execute publish script + shell: bash + run: pip-services4-rabbitmq-go/script-delivery-ps/authoring/publish/publish.ps1 + + - name: Execute tag script + shell: bash + run: pip-services4-rabbitmq-go/script-delivery-ps/authoring/tag/tag.ps1 + + - name: Execute clean script + if: always() + shell: bash + run: pip-services4-rabbitmq-go/script-delivery-ps/authoring/clean/clean.ps1 + + # Measure job + measure: + needs: authoring + if: always() + runs-on: ubuntu-22.04 + + steps: + - name: Get cached intermediate rabbitmq + uses: actions/cache@v3 + with: + path: | + pip-services4-rabbitmq-go/script-delivery-ps + pip-services4-rabbitmq-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + - name: Execute measure script + env: + NAME: $(echo '${{ github.repository }}' | awk -F '/' '{print $2}') + run: pip-services4-rabbitmq-go/script-delivery-ps/measure/measure.ps1 ${{ github.repository_owner }} ${{ env.NAME }} ${{ secrets.AWS_ACCESS_KEY_ID }} ${{ secrets.AWS_SECRET_ACCESS_KEY }} ${{ secrets.AWS_S3_BUCKET }} ${{ secrets.AWS_S3_BUCKET_FOLDER }} ${{ secrets.GITHUB_TOKEN }} + shell: bash diff --git a/.github/workflows/pip-services4-redis-go.yml b/.github/workflows/pip-services4-redis-go.yml new file mode 100644 index 0000000..b8be90d --- /dev/null +++ b/.github/workflows/pip-services4-redis-go.yml @@ -0,0 +1,110 @@ +name: Pip.Services Redis GO Delivery + +# Configure trigger rules +on: + push: + branches: + - main + paths: + - 'pip-services4-redis-go/**' + - 'pip-services4-redis-go/!README.md' + workflow_dispatch: + +env: + IS_MONOREPO: true + +jobs: + # Setup job + setup: + runs-on: ubuntu-22.04 + if: "!contains(github.event.head_commit.message, '[skip-ci]')" + + steps: + - name: Checkout source code + uses: actions/checkout@main + + - name: Pull delivery scripts + shell: bash + run: | + rm -rf pip-services4-redis-go/script-delivery-ps + git clone ${{ secrets.SCRIPTS_DELIVERY_PS_GIT_URL }} eic-templates-cicd-ps + cp -r eic-templates-cicd-ps/script-delivery-ps pip-services4-redis-go/script-delivery-ps + + - name: Execute increment script + shell: bash + run: pip-services4-redis-go/script-delivery-ps/setup/increment/increment.ps1 + + - name: Execute prerequisites script + shell: bash + run: pip-services4-redis-go/script-delivery-ps/setup/prereqs/prereqs.ps1 + + - name: Cache intermediate redis + uses: actions/cache@v3 + with: + path: | + pip-services4-redis-go/script-delivery-ps + pip-services4-redis-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + # Authoring job + authoring: + needs: setup + runs-on: ubuntu-22.04 + + steps: + - name: Checkout source code + uses: actions/checkout@main + + - name: Get cached intermediate redis + uses: actions/cache@v3 + with: + path: | + pip-services4-redis-go/script-delivery-ps + pip-services4-redis-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + - name: Execute build script + shell: bash + run: pip-services4-redis-go/script-delivery-ps/authoring/build/build.ps1 + + - name: Execute test script + shell: bash + run: pip-services4-redis-go/script-delivery-ps/authoring/test/test.ps1 + + - name: Execute package script + shell: bash + run: pip-services4-redis-go/script-delivery-ps/authoring/package/package.ps1 + + - name: Execute publish script + shell: bash + run: pip-services4-redis-go/script-delivery-ps/authoring/publish/publish.ps1 + + - name: Execute tag script + shell: bash + run: pip-services4-redis-go/script-delivery-ps/authoring/tag/tag.ps1 + + - name: Execute clean script + if: always() + shell: bash + run: pip-services4-redis-go/script-delivery-ps/authoring/clean/clean.ps1 + + # Measure job + measure: + needs: authoring + if: always() + runs-on: ubuntu-22.04 + + steps: + - name: Get cached intermediate redis + uses: actions/cache@v3 + with: + path: | + pip-services4-redis-go/script-delivery-ps + pip-services4-redis-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + - name: Execute measure script + env: + NAME: $(echo '${{ github.repository }}' | awk -F '/' '{print $2}') + run: pip-services4-redis-go/script-delivery-ps/measure/measure.ps1 ${{ github.repository_owner }} ${{ env.NAME }} ${{ secrets.AWS_ACCESS_KEY_ID }} ${{ secrets.AWS_SECRET_ACCESS_KEY }} ${{ secrets.AWS_S3_BUCKET }} ${{ secrets.AWS_S3_BUCKET_FOLDER }} ${{ secrets.GITHUB_TOKEN }} + shell: bash diff --git a/.github/workflows/pip-services4-rpc-go.yml b/.github/workflows/pip-services4-rpc-go.yml new file mode 100644 index 0000000..e48924c --- /dev/null +++ b/.github/workflows/pip-services4-rpc-go.yml @@ -0,0 +1,110 @@ +name: Pip.Services RPC GO Delivery + +# Configure trigger rules +on: + push: + branches: + - main + paths: + - 'pip-services4-rpc-go/**' + - 'pip-services4-rpc-go/!README.md' + workflow_dispatch: + +env: + IS_MONOREPO: true + +jobs: + # Setup job + setup: + runs-on: ubuntu-22.04 + if: "!contains(github.event.head_commit.message, '[skip-ci]')" + + steps: + - name: Checkout source code + uses: actions/checkout@main + + - name: Pull delivery scripts + shell: bash + run: | + rm -rf pip-services4-rpc-go/script-delivery-ps + git clone ${{ secrets.SCRIPTS_DELIVERY_PS_GIT_URL }} eic-templates-cicd-ps + cp -r eic-templates-cicd-ps/script-delivery-ps pip-services4-rpc-go/script-delivery-ps + + - name: Execute increment script + shell: bash + run: pip-services4-rpc-go/script-delivery-ps/setup/increment/increment.ps1 + + - name: Execute prerequisites script + shell: bash + run: pip-services4-rpc-go/script-delivery-ps/setup/prereqs/prereqs.ps1 + + - name: Cache intermediate rpc + uses: actions/cache@v3 + with: + path: | + pip-services4-rpc-go/script-delivery-ps + pip-services4-rpc-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + # Authoring job + authoring: + needs: setup + runs-on: ubuntu-22.04 + + steps: + - name: Checkout source code + uses: actions/checkout@main + + - name: Get cached intermediate rpc + uses: actions/cache@v3 + with: + path: | + pip-services4-rpc-go/script-delivery-ps + pip-services4-rpc-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + - name: Execute build script + shell: bash + run: pip-services4-rpc-go/script-delivery-ps/authoring/build/build.ps1 + + - name: Execute test script + shell: bash + run: pip-services4-rpc-go/script-delivery-ps/authoring/test/test.ps1 + + - name: Execute package script + shell: bash + run: pip-services4-rpc-go/script-delivery-ps/authoring/package/package.ps1 + + - name: Execute publish script + shell: bash + run: pip-services4-rpc-go/script-delivery-ps/authoring/publish/publish.ps1 + + - name: Execute tag script + shell: bash + run: pip-services4-rpc-go/script-delivery-ps/authoring/tag/tag.ps1 + + - name: Execute clean script + if: always() + shell: bash + run: pip-services4-rpc-go/script-delivery-ps/authoring/clean/clean.ps1 + + # Measure job + measure: + needs: authoring + if: always() + runs-on: ubuntu-22.04 + + steps: + - name: Get cached intermediate rpc + uses: actions/cache@v3 + with: + path: | + pip-services4-rpc-go/script-delivery-ps + pip-services4-rpc-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + - name: Execute measure script + env: + NAME: $(echo '${{ github.repository }}' | awk -F '/' '{print $2}') + run: pip-services4-rpc-go/script-delivery-ps/measure/measure.ps1 ${{ github.repository_owner }} ${{ env.NAME }} ${{ secrets.AWS_ACCESS_KEY_ID }} ${{ secrets.AWS_SECRET_ACCESS_KEY }} ${{ secrets.AWS_S3_BUCKET }} ${{ secrets.AWS_S3_BUCKET_FOLDER }} ${{ secrets.GITHUB_TOKEN }} + shell: bash diff --git a/.github/workflows/pip-services4-sqlite-go.yml b/.github/workflows/pip-services4-sqlite-go.yml new file mode 100644 index 0000000..49ae45f --- /dev/null +++ b/.github/workflows/pip-services4-sqlite-go.yml @@ -0,0 +1,110 @@ +name: Pip.Services SQLite GO Delivery + +# Configure trigger rules +on: + push: + branches: + - main + paths: + - 'pip-services4-sqlite-go/**' + - 'pip-services4-sqlite-go/!README.md' + workflow_dispatch: + +env: + IS_MONOREPO: true + +jobs: + # Setup job + setup: + runs-on: ubuntu-22.04 + if: "!contains(github.event.head_commit.message, '[skip-ci]')" + + steps: + - name: Checkout source code + uses: actions/checkout@main + + - name: Pull delivery scripts + shell: bash + run: | + rm -rf pip-services4-sqlite-go/script-delivery-ps + git clone ${{ secrets.SCRIPTS_DELIVERY_PS_GIT_URL }} eic-templates-cicd-ps + cp -r eic-templates-cicd-ps/script-delivery-ps pip-services4-sqlite-go/script-delivery-ps + + - name: Execute increment script + shell: bash + run: pip-services4-sqlite-go/script-delivery-ps/setup/increment/increment.ps1 + + - name: Execute prerequisites script + shell: bash + run: pip-services4-sqlite-go/script-delivery-ps/setup/prereqs/prereqs.ps1 + + - name: Cache intermediate sqlite + uses: actions/cache@v3 + with: + path: | + pip-services4-sqlite-go/script-delivery-ps + pip-services4-sqlite-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + # Authoring job + authoring: + needs: setup + runs-on: ubuntu-22.04 + + steps: + - name: Checkout source code + uses: actions/checkout@main + + - name: Get cached intermediate sqlite + uses: actions/cache@v3 + with: + path: | + pip-services4-sqlite-go/script-delivery-ps + pip-services4-sqlite-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + - name: Execute build script + shell: bash + run: pip-services4-sqlite-go/script-delivery-ps/authoring/build/build.ps1 + + - name: Execute test script + shell: bash + run: pip-services4-sqlite-go/script-delivery-ps/authoring/test/test.ps1 + + - name: Execute package script + shell: bash + run: pip-services4-sqlite-go/script-delivery-ps/authoring/package/package.ps1 + + - name: Execute publish script + shell: bash + run: pip-services4-sqlite-go/script-delivery-ps/authoring/publish/publish.ps1 + + - name: Execute tag script + shell: bash + run: pip-services4-sqlite-go/script-delivery-ps/authoring/tag/tag.ps1 + + - name: Execute clean script + if: always() + shell: bash + run: pip-services4-sqlite-go/script-delivery-ps/authoring/clean/clean.ps1 + + # Measure job + measure: + needs: authoring + if: always() + runs-on: ubuntu-22.04 + + steps: + - name: Get cached intermediate sqlite + uses: actions/cache@v3 + with: + path: | + pip-services4-sqlite-go/script-delivery-ps + pip-services4-sqlite-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + - name: Execute measure script + env: + NAME: $(echo '${{ github.repository }}' | awk -F '/' '{print $2}') + run: pip-services4-sqlite-go/script-delivery-ps/measure/measure.ps1 ${{ github.repository_owner }} ${{ env.NAME }} ${{ secrets.AWS_ACCESS_KEY_ID }} ${{ secrets.AWS_SECRET_ACCESS_KEY }} ${{ secrets.AWS_S3_BUCKET }} ${{ secrets.AWS_S3_BUCKET_FOLDER }} ${{ secrets.GITHUB_TOKEN }} + shell: bash diff --git a/.github/workflows/pip-services4-sqlserver-go.yml b/.github/workflows/pip-services4-sqlserver-go.yml new file mode 100644 index 0000000..fc23d08 --- /dev/null +++ b/.github/workflows/pip-services4-sqlserver-go.yml @@ -0,0 +1,110 @@ +name: Pip.Services SQLServer GO Delivery + +# Configure trigger rules +on: + push: + branches: + - main + paths: + - 'pip-services4-sqlserver-go/**' + - 'pip-services4-sqlserver-go/!README.md' + workflow_dispatch: + +env: + IS_MONOREPO: true + +jobs: + # Setup job + setup: + runs-on: ubuntu-22.04 + if: "!contains(github.event.head_commit.message, '[skip-ci]')" + + steps: + - name: Checkout source code + uses: actions/checkout@main + + - name: Pull delivery scripts + shell: bash + run: | + rm -rf pip-services4-sqlserver-go/script-delivery-ps + git clone ${{ secrets.SCRIPTS_DELIVERY_PS_GIT_URL }} eic-templates-cicd-ps + cp -r eic-templates-cicd-ps/script-delivery-ps pip-services4-sqlserver-go/script-delivery-ps + + - name: Execute increment script + shell: bash + run: pip-services4-sqlserver-go/script-delivery-ps/setup/increment/increment.ps1 + + - name: Execute prerequisites script + shell: bash + run: pip-services4-sqlserver-go/script-delivery-ps/setup/prereqs/prereqs.ps1 + + - name: Cache intermediate sqlserver + uses: actions/cache@v3 + with: + path: | + pip-services4-sqlserver-go/script-delivery-ps + pip-services4-sqlserver-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + # Authoring job + authoring: + needs: setup + runs-on: ubuntu-22.04 + + steps: + - name: Checkout source code + uses: actions/checkout@main + + - name: Get cached intermediate sqlserver + uses: actions/cache@v3 + with: + path: | + pip-services4-sqlserver-go/script-delivery-ps + pip-services4-sqlserver-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + - name: Execute build script + shell: bash + run: pip-services4-sqlserver-go/script-delivery-ps/authoring/build/build.ps1 + + - name: Execute test script + shell: bash + run: pip-services4-sqlserver-go/script-delivery-ps/authoring/test/test.ps1 + + - name: Execute package script + shell: bash + run: pip-services4-sqlserver-go/script-delivery-ps/authoring/package/package.ps1 + + - name: Execute publish script + shell: bash + run: pip-services4-sqlserver-go/script-delivery-ps/authoring/publish/publish.ps1 + + - name: Execute tag script + shell: bash + run: pip-services4-sqlserver-go/script-delivery-ps/authoring/tag/tag.ps1 + + - name: Execute clean script + if: always() + shell: bash + run: pip-services4-sqlserver-go/script-delivery-ps/authoring/clean/clean.ps1 + + # Measure job + measure: + needs: authoring + if: always() + runs-on: ubuntu-22.04 + + steps: + - name: Get cached intermediate sqlserver + uses: actions/cache@v3 + with: + path: | + pip-services4-sqlserver-go/script-delivery-ps + pip-services4-sqlserver-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + - name: Execute measure script + env: + NAME: $(echo '${{ github.repository }}' | awk -F '/' '{print $2}') + run: pip-services4-sqlserver-go/script-delivery-ps/measure/measure.ps1 ${{ github.repository_owner }} ${{ env.NAME }} ${{ secrets.AWS_ACCESS_KEY_ID }} ${{ secrets.AWS_SECRET_ACCESS_KEY }} ${{ secrets.AWS_S3_BUCKET }} ${{ secrets.AWS_S3_BUCKET_FOLDER }} ${{ secrets.GITHUB_TOKEN }} + shell: bash diff --git a/.github/workflows/pip-services4-swagger-go.yml b/.github/workflows/pip-services4-swagger-go.yml new file mode 100644 index 0000000..4bd8589 --- /dev/null +++ b/.github/workflows/pip-services4-swagger-go.yml @@ -0,0 +1,110 @@ +name: Pip.Services Swagger GO Delivery + +# Configure trigger rules +on: + push: + branches: + - main + paths: + - 'pip-services4-swagger-go/**' + - 'pip-services4-swagger-go/!README.md' + workflow_dispatch: + +env: + IS_MONOREPO: true + +jobs: + # Setup job + setup: + runs-on: ubuntu-22.04 + if: "!contains(github.event.head_commit.message, '[skip-ci]')" + + steps: + - name: Checkout source code + uses: actions/checkout@main + + - name: Pull delivery scripts + shell: bash + run: | + rm -rf pip-services4-swagger-go/script-delivery-ps + git clone ${{ secrets.SCRIPTS_DELIVERY_PS_GIT_URL }} eic-templates-cicd-ps + cp -r eic-templates-cicd-ps/script-delivery-ps pip-services4-swagger-go/script-delivery-ps + + - name: Execute increment script + shell: bash + run: pip-services4-swagger-go/script-delivery-ps/setup/increment/increment.ps1 + + - name: Execute prerequisites script + shell: bash + run: pip-services4-swagger-go/script-delivery-ps/setup/prereqs/prereqs.ps1 + + - name: Cache intermediate swagger + uses: actions/cache@v3 + with: + path: | + pip-services4-swagger-go/script-delivery-ps + pip-services4-swagger-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + # Authoring job + authoring: + needs: setup + runs-on: ubuntu-22.04 + + steps: + - name: Checkout source code + uses: actions/checkout@main + + - name: Get cached intermediate swagger + uses: actions/cache@v3 + with: + path: | + pip-services4-swagger-go/script-delivery-ps + pip-services4-swagger-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + - name: Execute build script + shell: bash + run: pip-services4-swagger-go/script-delivery-ps/authoring/build/build.ps1 + + - name: Execute test script + shell: bash + run: pip-services4-swagger-go/script-delivery-ps/authoring/test/test.ps1 + + - name: Execute package script + shell: bash + run: pip-services4-swagger-go/script-delivery-ps/authoring/package/package.ps1 + + - name: Execute publish script + shell: bash + run: pip-services4-swagger-go/script-delivery-ps/authoring/publish/publish.ps1 + + - name: Execute tag script + shell: bash + run: pip-services4-swagger-go/script-delivery-ps/authoring/tag/tag.ps1 + + - name: Execute clean script + if: always() + shell: bash + run: pip-services4-swagger-go/script-delivery-ps/authoring/clean/clean.ps1 + + # Measure job + measure: + needs: authoring + if: always() + runs-on: ubuntu-22.04 + + steps: + - name: Get cached intermediate swagger + uses: actions/cache@v3 + with: + path: | + pip-services4-swagger-go/script-delivery-ps + pip-services4-swagger-go/component*.json + key: delivery-${{ github.run_id }}-${{ github.run_attempt }} + + - name: Execute measure script + env: + NAME: $(echo '${{ github.repository }}' | awk -F '/' '{print $2}') + run: pip-services4-swagger-go/script-delivery-ps/measure/measure.ps1 ${{ github.repository_owner }} ${{ env.NAME }} ${{ secrets.AWS_ACCESS_KEY_ID }} ${{ secrets.AWS_SECRET_ACCESS_KEY }} ${{ secrets.AWS_S3_BUCKET }} ${{ secrets.AWS_S3_BUCKET_FOLDER }} ${{ secrets.GITHUB_TOKEN }} + shell: bash diff --git a/pip-services4-aws-go/LICENSE b/pip-services4-aws-go/LICENSE index 715357c..aa653d3 100644 --- a/pip-services4-aws-go/LICENSE +++ b/pip-services4-aws-go/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2022 pip-services3-gox +Copyright (c) 2022 pip-services4-go Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/pip-services4-aws-go/docker/Dockerfile.docs b/pip-services4-aws-go/docker/Dockerfile.docs index 33f849b..820f24c 100644 --- a/pip-services4-aws-go/docker/Dockerfile.docs +++ b/pip-services4-aws-go/docker/Dockerfile.docs @@ -2,7 +2,7 @@ FROM golang:1.20 # Set environment variables for Go ENV GO111MODULE=on \ - GOPRIVATE=github.com/pip-services3-gox/* + GOPRIVATE=github.com/pip-services4-go/* WORKDIR /app diff --git a/pip-services4-azure-go/LICENSE b/pip-services4-azure-go/LICENSE index 715357c..aa653d3 100644 --- a/pip-services4-azure-go/LICENSE +++ b/pip-services4-azure-go/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2022 pip-services3-gox +Copyright (c) 2022 pip-services4-go Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/pip-services4-azure-go/component.json b/pip-services4-azure-go/component.json index 5a3643b..8eaba2c 100644 --- a/pip-services4-azure-go/component.json +++ b/pip-services4-azure-go/component.json @@ -1,5 +1,5 @@ { - "name": "pip-services3-azure-gox", + "name": "pip-services4-azure-go", "type": "module", "language": "go", "version": "1.1.0", diff --git a/pip-services4-azure-go/docker/Dockerfile.docgen b/pip-services4-azure-go/docker/Dockerfile.docgen index 7c81199..dd5d698 100644 --- a/pip-services4-azure-go/docker/Dockerfile.docgen +++ b/pip-services4-azure-go/docker/Dockerfile.docgen @@ -2,7 +2,7 @@ FROM golang:1.20 # Set environment variables for Go ENV GO111MODULE=on \ - GOPRIVATE=github.com/pip-services3-gox/* + GOPRIVATE=github.com/pip-services4-go/* WORKDIR /app diff --git a/pip-services4-commons-go/.github/workflows/github-ci.yml b/pip-services4-commons-go/.github/workflows/github-ci.yml deleted file mode 100644 index bdbe57a..0000000 --- a/pip-services4-commons-go/.github/workflows/github-ci.yml +++ /dev/null @@ -1,103 +0,0 @@ -name: Pip.Services Commons Gox Delivery - -# Configure trigger rules -on: - push: - paths: - - '**' - - '!README.md' - -jobs: - # Setup job - setup: - runs-on: ubuntu-20.04 - if: "!contains(github.event.head_commit.message, '[skip-ci]')" - - steps: - - name: Checkout source code - uses: actions/checkout@main - - - name: Pull delivery scripts - shell: bash - run: | - rm -rf script-delivery-ps - git clone ${{ secrets.SCRIPTS_DELIVERY_PS_GIT_URL }} script-delivery-ps - - - name: Execute increment script - shell: bash - run: ./script-delivery-ps/setup/increment/increment.ps1 - - - name: Execute prerequisites script - shell: bash - run: ./script-delivery-ps/setup/prereqs/prereqs.ps1 - - - name: Cache intermediate data - uses: actions/cache@v3 - with: - path: | - script-delivery-ps - component*.json - key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - - # Authoring job - authoring: - needs: setup - runs-on: ubuntu-20.04 - - steps: - - name: Checkout source code - uses: actions/checkout@main - - - name: Get cached intermediate data - uses: actions/cache@v3 - with: - path: | - script-delivery-ps - component*.json - key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - - - name: Execute build script - shell: bash - run: script-delivery-ps/authoring/build/build.ps1 - - - name: Execute test script - shell: bash - run: ./script-delivery-ps/authoring/test/test.ps1 - - - name: Execute package script - shell: bash - run: ./script-delivery-ps/authoring/package/package.ps1 - - - name: Execute publish script - shell: bash - run: ./script-delivery-ps/authoring/publish/publish.ps1 - - - name: Execute tag script - shell: bash - run: ./script-delivery-ps/authoring/tag/tag.ps1 - - - name: Execute clean script - if: always() - shell: bash - run: ./script-delivery-ps/authoring/clean/clean.ps1 - - # Measure job - measure: - needs: authoring - if: always() - runs-on: ubuntu-20.04 - - steps: - - name: Get cached intermediate data - uses: actions/cache@v3 - with: - path: | - script-delivery-ps - component*.json - key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - - - name: Execute measure script - env: - name: $(echo '${{ github.repository }}' | awk -F '/' '{print $2}') - run: ./script-delivery-ps/measure/measure.ps1 ${{ github.repository_owner }} ${{ env.name }} ${{ secrets.AWS_ACCESS_KEY_ID }} ${{ secrets.AWS_SECRET_ACCESS_KEY }} ${{ secrets.AWS_S3_BUCKET }} ${{ secrets.GITHUB_TOKEN }} - shell: bash diff --git a/pip-services4-commons-go/component.json b/pip-services4-commons-go/component.json index 2812e87..c6254ed 100644 --- a/pip-services4-commons-go/component.json +++ b/pip-services4-commons-go/component.json @@ -4,7 +4,7 @@ "language": "go", "version": "0.0.1", "build": 0, - "registry": "pipdevs", + "registry": "pipservices", "artifacts": [ ] } \ No newline at end of file diff --git a/pip-services4-components-go/component.json b/pip-services4-components-go/component.json index 5fb611f..790d3b9 100644 --- a/pip-services4-components-go/component.json +++ b/pip-services4-components-go/component.json @@ -1,5 +1,5 @@ { - "name": "pip-services4-components-gox", + "name": "pip-services4-components-go", "type": "module", "language": "go", "version": "0.0.1", diff --git a/pip-services4-config-go/README.md b/pip-services4-config-go/README.md index f7bbfdc..56581ae 100644 --- a/pip-services4-config-go/README.md +++ b/pip-services4-config-go/README.md @@ -35,10 +35,10 @@ package main import ( "context" - "github.com/pip-services4/pip-services4-go/pip-services3-components-gox/config" - "github.com/pip-services4/pip-services4-go/pip-services3-components-gox/refer" - "github.com/pip-services4/pip-services4-go/pip-services3-config-gox/auth" - "github.com/pip-services4/pip-services4-go/pip-services3-config-gox/connect" + "github.com/pip-services4/pip-services4-go/pip-services4-components-go/config" + "github.com/pip-services4/pip-services4-go/pip-services4-components-go/refer" + "github.com/pip-services4/pip-services4-go/pip-services4-config-go/auth" + "github.com/pip-services4/pip-services4-go/pip-services4-config-go/connect" ) func main() { diff --git a/pip-services4-config-go/component.json b/pip-services4-config-go/component.json index 221c8be..c97e87f 100644 --- a/pip-services4-config-go/component.json +++ b/pip-services4-config-go/component.json @@ -4,7 +4,7 @@ "language": "go", "version": "0.0.1", "build": 0, - "registry": "pipdevs", + "registry": "pipservices", "artifacts": [ ] } \ No newline at end of file diff --git a/pip-services4-container-go/.github/workflows/github-ci.yml b/pip-services4-container-go/.github/workflows/github-ci.yml deleted file mode 100644 index fbc1a3d..0000000 --- a/pip-services4-container-go/.github/workflows/github-ci.yml +++ /dev/null @@ -1,103 +0,0 @@ -name: Pip.Services Container Gox Delivery - -# Configure trigger rules -on: - push: - paths: - - '**' - - '!README.md' - -jobs: - # Setup job - setup: - runs-on: ubuntu-20.04 - if: "!contains(github.event.head_commit.message, '[skip-ci]')" - - steps: - - name: Checkout source code - uses: actions/checkout@main - - - name: Pull delivery scripts - shell: bash - run: | - rm -rf script-delivery-ps - git clone ${{ secrets.SCRIPTS_DELIVERY_PS_GIT_URL }} script-delivery-ps - - - name: Execute increment script - shell: bash - run: ./script-delivery-ps/setup/increment/increment.ps1 - - - name: Execute prerequisites script - shell: bash - run: ./script-delivery-ps/setup/prereqs/prereqs.ps1 - - - name: Cache intermediate data - uses: actions/cache@v3 - with: - path: | - script-delivery-ps - component*.json - key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - - # Authoring job - authoring: - needs: setup - runs-on: ubuntu-20.04 - - steps: - - name: Checkout source code - uses: actions/checkout@main - - - name: Get cached intermediate data - uses: actions/cache@v3 - with: - path: | - script-delivery-ps - component*.json - key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - - - name: Execute build script - shell: bash - run: script-delivery-ps/authoring/build/build.ps1 - - - name: Execute test script - shell: bash - run: ./script-delivery-ps/authoring/test/test.ps1 - - - name: Execute package script - shell: bash - run: ./script-delivery-ps/authoring/package/package.ps1 - - - name: Execute publish script - shell: bash - run: ./script-delivery-ps/authoring/publish/publish.ps1 - - - name: Execute tag script - shell: bash - run: ./script-delivery-ps/authoring/tag/tag.ps1 - - - name: Execute clean script - if: always() - shell: bash - run: ./script-delivery-ps/authoring/clean/clean.ps1 - - # Measure job - measure: - needs: authoring - if: always() - runs-on: ubuntu-20.04 - - steps: - - name: Get cached intermediate data - uses: actions/cache@v3 - with: - path: | - script-delivery-ps - component*.json - key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - - - name: Execute measure script - env: - name: $(echo '${{ github.repository }}' | awk -F '/' '{print $2}') - run: ./script-delivery-ps/measure/measure.ps1 ${{ github.repository_owner }} ${{ env.name }} ${{ secrets.AWS_ACCESS_KEY_ID }} ${{ secrets.AWS_SECRET_ACCESS_KEY }} ${{ secrets.AWS_S3_BUCKET }} ${{ secrets.GITHUB_TOKEN }} - shell: bash diff --git a/pip-services4-container-go/README.md b/pip-services4-container-go/README.md index 2650d59..c148820 100644 --- a/pip-services4-container-go/README.md +++ b/pip-services4-container-go/README.md @@ -54,7 +54,7 @@ Then create a process container and register the factory there. You can also reg ```go import ( "github.com/pip-services4/pip-services4-go/pip-services4-container-go/container" - rpcbuild "github.com/pip-services3-gox/pip-services3-rpc-gox/build" + rpcbuild "github.com/pip-services4-go/pip-services4-rpc-go/build" ) type MyProcess struct { @@ -71,7 +71,7 @@ func NewMyProcess() *MyProcess { } ``` -Define YAML configuration file with components and their descriptors. The configuration file is pre-processed using [Handlebars templating](https://github.com/pip-services3-gox/pip-services3-expressions-gox) that allows to inject configuration parameters or dynamically include/exclude components using conditional blocks. The values for the templating engine are defined via process command line arguments or via environment variables. Support for environment variables works well in docker or other containers like AWS Lambda functions. +Define YAML configuration file with components and their descriptors. The configuration file is pre-processed using [Handlebars templating](https://github.com/pip-services4-go/pip-services4-expressions-go) that allows to inject configuration parameters or dynamically include/exclude components using conditional blocks. The values for the templating engine are defined via process command line arguments or via environment variables. Support for environment variables works well in docker or other containers like AWS Lambda functions. ```yml diff --git a/pip-services4-container-go/component.json b/pip-services4-container-go/component.json index 7ad8024..53b1f3b 100644 --- a/pip-services4-container-go/component.json +++ b/pip-services4-container-go/component.json @@ -4,7 +4,7 @@ "language": "go", "version": "0.0.1", "build": 0, - "registry": "pipdevs", + "registry": "pipservices", "artifacts": [ ] } \ No newline at end of file diff --git a/pip-services4-container-go/docker/Dockerfile.docs b/pip-services4-container-go/docker/Dockerfile.docs index 33f849b..820f24c 100644 --- a/pip-services4-container-go/docker/Dockerfile.docs +++ b/pip-services4-container-go/docker/Dockerfile.docs @@ -2,7 +2,7 @@ FROM golang:1.20 # Set environment variables for Go ENV GO111MODULE=on \ - GOPRIVATE=github.com/pip-services3-gox/* + GOPRIVATE=github.com/pip-services4-go/* WORKDIR /app diff --git a/pip-services4-data-go/.github/workflows/github-ci.yml b/pip-services4-data-go/.github/workflows/github-ci.yml deleted file mode 100644 index b7ee075..0000000 --- a/pip-services4-data-go/.github/workflows/github-ci.yml +++ /dev/null @@ -1,103 +0,0 @@ -name: Pip.Services Data Gox Delivery - -# Configure trigger rules -on: - push: - paths: - - '**' - - '!README.md' - -jobs: - # Setup job - setup: - runs-on: ubuntu-20.04 - if: "!contains(github.event.head_commit.message, '[skip-ci]')" - - steps: - - name: Checkout source code - uses: actions/checkout@main - - - name: Pull delivery scripts - shell: bash - run: | - rm -rf script-delivery-ps - git clone ${{ secrets.SCRIPTS_DELIVERY_PS_GIT_URL }} script-delivery-ps - - - name: Execute increment script - shell: bash - run: ./script-delivery-ps/setup/increment/increment.ps1 - - - name: Execute prerequisites script - shell: bash - run: ./script-delivery-ps/setup/prereqs/prereqs.ps1 - - - name: Cache intermediate data - uses: actions/cache@v3 - with: - path: | - script-delivery-ps - component*.json - key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - - # Authoring job - authoring: - needs: setup - runs-on: ubuntu-20.04 - - steps: - - name: Checkout source code - uses: actions/checkout@main - - - name: Get cached intermediate data - uses: actions/cache@v3 - with: - path: | - script-delivery-ps - component*.json - key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - - - name: Execute build script - shell: bash - run: script-delivery-ps/authoring/build/build.ps1 - - - name: Execute test script - shell: bash - run: ./script-delivery-ps/authoring/test/test.ps1 - - - name: Execute package script - shell: bash - run: ./script-delivery-ps/authoring/package/package.ps1 - - - name: Execute publish script - shell: bash - run: ./script-delivery-ps/authoring/publish/publish.ps1 - - - name: Execute tag script - shell: bash - run: ./script-delivery-ps/authoring/tag/tag.ps1 - - - name: Execute clean script - if: always() - shell: bash - run: ./script-delivery-ps/authoring/clean/clean.ps1 - - # Measure job - measure: - needs: authoring - if: always() - runs-on: ubuntu-20.04 - - steps: - - name: Get cached intermediate data - uses: actions/cache@v3 - with: - path: | - script-delivery-ps - component*.json - key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - - - name: Execute measure script - env: - name: $(echo '${{ github.repository }}' | awk -F '/' '{print $2}') - run: ./script-delivery-ps/measure/measure.ps1 ${{ github.repository_owner }} ${{ env.name }} ${{ secrets.AWS_ACCESS_KEY_ID }} ${{ secrets.AWS_SECRET_ACCESS_KEY }} ${{ secrets.AWS_S3_BUCKET }} ${{ secrets.GITHUB_TOKEN }} - shell: bash diff --git a/pip-services4-data-go/component.json b/pip-services4-data-go/component.json index b0c8a2e..f7a43bc 100644 --- a/pip-services4-data-go/component.json +++ b/pip-services4-data-go/component.json @@ -4,7 +4,7 @@ "language": "go", "version": "0.0.1", "build": 0, - "registry": "pipdevs", + "registry": "pipservices", "artifacts": [ ] } \ No newline at end of file diff --git a/pip-services4-data-go/docker/Dockerfile.docs b/pip-services4-data-go/docker/Dockerfile.docs index 33f849b..820f24c 100644 --- a/pip-services4-data-go/docker/Dockerfile.docs +++ b/pip-services4-data-go/docker/Dockerfile.docs @@ -2,7 +2,7 @@ FROM golang:1.20 # Set environment variables for Go ENV GO111MODULE=on \ - GOPRIVATE=github.com/pip-services3-gox/* + GOPRIVATE=github.com/pip-services4-go/* WORKDIR /app diff --git a/pip-services4-datadog-go/.github/workflows/github-ci.yml b/pip-services4-datadog-go/.github/workflows/github-ci.yml deleted file mode 100644 index d3231c4..0000000 --- a/pip-services4-datadog-go/.github/workflows/github-ci.yml +++ /dev/null @@ -1,103 +0,0 @@ -name: Pip.Services DataDog Gox Delivery - -# Configure trigger rules -on: - push: - paths: - - '**' - - '!README.md' - -jobs: - # Setup job - setup: - runs-on: ubuntu-20.04 - if: "!contains(github.event.head_commit.message, '[skip-ci]')" - - steps: - - name: Checkout source code - uses: actions/checkout@main - - - name: Pull delivery scripts - shell: bash - run: | - rm -rf script-delivery-ps - git clone ${{ secrets.SCRIPTS_DELIVERY_PS_GIT_URL }} script-delivery-ps - - - name: Execute increment script - shell: bash - run: ./script-delivery-ps/setup/increment/increment.ps1 - - - name: Execute prerequisites script - shell: bash - run: ./script-delivery-ps/setup/prereqs/prereqs.ps1 - - - name: Cache intermediate data - uses: actions/cache@v3 - with: - path: | - script-delivery-ps - component*.json - key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - - # Authoring job - authoring: - needs: setup - runs-on: ubuntu-20.04 - - steps: - - name: Checkout source code - uses: actions/checkout@main - - - name: Get cached intermediate data - uses: actions/cache@v3 - with: - path: | - script-delivery-ps - component*.json - key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - - - name: Execute build script - shell: bash - run: script-delivery-ps/authoring/build/build.ps1 - - - name: Execute test script - shell: bash - run: ./script-delivery-ps/authoring/test/test.ps1 - - - name: Execute package script - shell: bash - run: ./script-delivery-ps/authoring/package/package.ps1 - - - name: Execute publish script - shell: bash - run: ./script-delivery-ps/authoring/publish/publish.ps1 - - - name: Execute tag script - shell: bash - run: ./script-delivery-ps/authoring/tag/tag.ps1 - - - name: Execute clean script - if: always() - shell: bash - run: ./script-delivery-ps/authoring/clean/clean.ps1 - - # Measure job - measure: - needs: authoring - if: always() - runs-on: ubuntu-20.04 - - steps: - - name: Get cached intermediate data - uses: actions/cache@v3 - with: - path: | - script-delivery-ps - component*.json - key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - - - name: Execute measure script - env: - name: $(echo '${{ github.repository }}' | awk -F '/' '{print $2}') - run: ./script-delivery-ps/measure/measure.ps1 ${{ github.repository_owner }} ${{ env.name }} ${{ secrets.AWS_ACCESS_KEY_ID }} ${{ secrets.AWS_SECRET_ACCESS_KEY }} ${{ secrets.AWS_S3_BUCKET }} ${{ secrets.GITHUB_TOKEN }} - shell: bash diff --git a/pip-services4-datadog-go/LICENSE b/pip-services4-datadog-go/LICENSE index 715357c..aa653d3 100644 --- a/pip-services4-datadog-go/LICENSE +++ b/pip-services4-datadog-go/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2022 pip-services3-gox +Copyright (c) 2022 pip-services4-go Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/pip-services4-datadog-go/component.json b/pip-services4-datadog-go/component.json index 93d8f6b..d36e106 100644 --- a/pip-services4-datadog-go/component.json +++ b/pip-services4-datadog-go/component.json @@ -4,6 +4,6 @@ "language": "go", "version": "0.0.1", "build": 0, - "registry": "pipdevs", + "registry": "pipservices", "artifacts": [] } \ No newline at end of file diff --git a/pip-services4-datadog-go/docker/Dockerfile.docs b/pip-services4-datadog-go/docker/Dockerfile.docs index 33f849b..820f24c 100644 --- a/pip-services4-datadog-go/docker/Dockerfile.docs +++ b/pip-services4-datadog-go/docker/Dockerfile.docs @@ -2,7 +2,7 @@ FROM golang:1.20 # Set environment variables for Go ENV GO111MODULE=on \ - GOPRIVATE=github.com/pip-services3-gox/* + GOPRIVATE=github.com/pip-services4-go/* WORKDIR /app diff --git a/pip-services4-elasticsearch-go/.github/workflows/github-ci.yml b/pip-services4-elasticsearch-go/.github/workflows/github-ci.yml deleted file mode 100644 index 964bc42..0000000 --- a/pip-services4-elasticsearch-go/.github/workflows/github-ci.yml +++ /dev/null @@ -1,103 +0,0 @@ -name: Pip.Services Elasticsearch Gox Delivery - -# Configure trigger rules -on: - push: - paths: - - '**' - - '!README.md' - -jobs: - # Setup job - setup: - runs-on: ubuntu-20.04 - if: "!contains(github.event.head_commit.message, '[skip-ci]')" - - steps: - - name: Checkout source code - uses: actions/checkout@main - - - name: Pull delivery scripts - shell: bash - run: | - rm -rf script-delivery-ps - git clone ${{ secrets.SCRIPTS_DELIVERY_PS_GIT_URL }} script-delivery-ps - - - name: Execute increment script - shell: bash - run: ./script-delivery-ps/setup/increment/increment.ps1 - - - name: Execute prerequisites script - shell: bash - run: ./script-delivery-ps/setup/prereqs/prereqs.ps1 - - - name: Cache intermediate data - uses: actions/cache@v3 - with: - path: | - script-delivery-ps - component*.json - key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - - # Authoring job - authoring: - needs: setup - runs-on: ubuntu-20.04 - - steps: - - name: Checkout source code - uses: actions/checkout@main - - - name: Get cached intermediate data - uses: actions/cache@v3 - with: - path: | - script-delivery-ps - component*.json - key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - - - name: Execute build script - shell: bash - run: script-delivery-ps/authoring/build/build.ps1 - - - name: Execute test script - shell: bash - run: ./script-delivery-ps/authoring/test/test.ps1 - - - name: Execute package script - shell: bash - run: ./script-delivery-ps/authoring/package/package.ps1 - - - name: Execute publish script - shell: bash - run: ./script-delivery-ps/authoring/publish/publish.ps1 - - - name: Execute tag script - shell: bash - run: ./script-delivery-ps/authoring/tag/tag.ps1 - - - name: Execute clean script - if: always() - shell: bash - run: ./script-delivery-ps/authoring/clean/clean.ps1 - - # Measure job - measure: - needs: authoring - if: always() - runs-on: ubuntu-20.04 - - steps: - - name: Get cached intermediate data - uses: actions/cache@v3 - with: - path: | - script-delivery-ps - component*.json - key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - - - name: Execute measure script - env: - name: $(echo '${{ github.repository }}' | awk -F '/' '{print $2}') - run: ./script-delivery-ps/measure/measure.ps1 ${{ github.repository_owner }} ${{ env.name }} ${{ secrets.AWS_ACCESS_KEY_ID }} ${{ secrets.AWS_SECRET_ACCESS_KEY }} ${{ secrets.AWS_S3_BUCKET }} ${{ secrets.GITHUB_TOKEN }} - shell: bash diff --git a/pip-services4-expressions-go/.github/workflows/github-ci.yml b/pip-services4-expressions-go/.github/workflows/github-ci.yml deleted file mode 100644 index ea64bb2..0000000 --- a/pip-services4-expressions-go/.github/workflows/github-ci.yml +++ /dev/null @@ -1,103 +0,0 @@ -name: Pip.Services Expressions Gox Delivery - -# Configure trigger rules -on: - push: - paths: - - '**' - - '!README.md' - -jobs: - # Setup job - setup: - runs-on: ubuntu-20.04 - if: "!contains(github.event.head_commit.message, '[skip-ci]')" - - steps: - - name: Checkout source code - uses: actions/checkout@main - - - name: Pull delivery scripts - shell: bash - run: | - rm -rf script-delivery-ps - git clone ${{ secrets.SCRIPTS_DELIVERY_PS_GIT_URL }} script-delivery-ps - - - name: Execute increment script - shell: bash - run: ./script-delivery-ps/setup/increment/increment.ps1 - - - name: Execute prerequisites script - shell: bash - run: ./script-delivery-ps/setup/prereqs/prereqs.ps1 - - - name: Cache intermediate data - uses: actions/cache@v3 - with: - path: | - script-delivery-ps - component*.json - key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - - # Authoring job - authoring: - needs: setup - runs-on: ubuntu-20.04 - - steps: - - name: Checkout source code - uses: actions/checkout@main - - - name: Get cached intermediate data - uses: actions/cache@v3 - with: - path: | - script-delivery-ps - component*.json - key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - - - name: Execute build script - shell: bash - run: script-delivery-ps/authoring/build/build.ps1 - - - name: Execute test script - shell: bash - run: ./script-delivery-ps/authoring/test/test.ps1 - - - name: Execute package script - shell: bash - run: ./script-delivery-ps/authoring/package/package.ps1 - - - name: Execute publish script - shell: bash - run: ./script-delivery-ps/authoring/publish/publish.ps1 - - - name: Execute tag script - shell: bash - run: ./script-delivery-ps/authoring/tag/tag.ps1 - - - name: Execute clean script - if: always() - shell: bash - run: ./script-delivery-ps/authoring/clean/clean.ps1 - - # Measure job - measure: - needs: authoring - if: always() - runs-on: ubuntu-20.04 - - steps: - - name: Get cached intermediate data - uses: actions/cache@v3 - with: - path: | - script-delivery-ps - component*.json - key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - - - name: Execute measure script - env: - name: $(echo '${{ github.repository }}' | awk -F '/' '{print $2}') - run: ./script-delivery-ps/measure/measure.ps1 ${{ github.repository_owner }} ${{ env.name }} ${{ secrets.AWS_ACCESS_KEY_ID }} ${{ secrets.AWS_SECRET_ACCESS_KEY }} ${{ secrets.AWS_S3_BUCKET }} ${{ secrets.GITHUB_TOKEN }} - shell: bash diff --git a/pip-services4-expressions-go/component.json b/pip-services4-expressions-go/component.json index b28bae3..fea4d5a 100644 --- a/pip-services4-expressions-go/component.json +++ b/pip-services4-expressions-go/component.json @@ -1,10 +1,10 @@ { - "name": "pip-services3-expressions-gox", + "name": "pip-services4-expressions-go", "type": "module", "language": "go", "version": "0.0.1", "build": 0, - "registry": "pipdevs", + "registry": "pipservices", "artifacts": [ ] } \ No newline at end of file diff --git a/pip-services4-gcp-go/LICENSE b/pip-services4-gcp-go/LICENSE index 715357c..aa653d3 100644 --- a/pip-services4-gcp-go/LICENSE +++ b/pip-services4-gcp-go/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2022 pip-services3-gox +Copyright (c) 2022 pip-services4-go Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/pip-services4-gcp-go/component.json b/pip-services4-gcp-go/component.json index d5c96a2..b3385dd 100644 --- a/pip-services4-gcp-go/component.json +++ b/pip-services4-gcp-go/component.json @@ -1,5 +1,5 @@ { - "name": "pip-services3-gcp-gox", + "name": "pip-services4-gcp-go", "type": "module", "language": "go", "version": "1.1.0", diff --git a/pip-services4-gcp-go/docker/Dockerfile.docgen b/pip-services4-gcp-go/docker/Dockerfile.docgen index 7c81199..dd5d698 100644 --- a/pip-services4-gcp-go/docker/Dockerfile.docgen +++ b/pip-services4-gcp-go/docker/Dockerfile.docgen @@ -2,7 +2,7 @@ FROM golang:1.20 # Set environment variables for Go ENV GO111MODULE=on \ - GOPRIVATE=github.com/pip-services3-gox/* + GOPRIVATE=github.com/pip-services4-go/* WORKDIR /app diff --git a/pip-services4-grpc-go/component.json b/pip-services4-grpc-go/component.json index 9335b17..10a81f3 100644 --- a/pip-services4-grpc-go/component.json +++ b/pip-services4-grpc-go/component.json @@ -4,7 +4,7 @@ "language": "go", "version": "0.0.1", "build": 0, - "registry": "pipdevs", + "registry": "pipservices", "artifacts": [ ] } \ No newline at end of file diff --git a/pip-services4-http-go/component.json b/pip-services4-http-go/component.json index 267b123..e405c2f 100644 --- a/pip-services4-http-go/component.json +++ b/pip-services4-http-go/component.json @@ -4,7 +4,7 @@ "language": "go", "version": "0.0.1", "build": 0, - "registry": "pipdevs", + "registry": "pipservices", "artifacts": [ ] } \ No newline at end of file diff --git a/pip-services4-elasticsearch-go/.dockerignore b/pip-services4-http-go/pip-services4-elasticsearch-go/.dockerignore similarity index 100% rename from pip-services4-elasticsearch-go/.dockerignore rename to pip-services4-http-go/pip-services4-elasticsearch-go/.dockerignore diff --git a/pip-services4-elasticsearch-go/.gitignore b/pip-services4-http-go/pip-services4-elasticsearch-go/.gitignore similarity index 100% rename from pip-services4-elasticsearch-go/.gitignore rename to pip-services4-http-go/pip-services4-elasticsearch-go/.gitignore diff --git a/pip-services4-elasticsearch-go/CHANGELOG.md b/pip-services4-http-go/pip-services4-elasticsearch-go/CHANGELOG.md similarity index 100% rename from pip-services4-elasticsearch-go/CHANGELOG.md rename to pip-services4-http-go/pip-services4-elasticsearch-go/CHANGELOG.md diff --git a/pip-services4-elasticsearch-go/LICENSE b/pip-services4-http-go/pip-services4-elasticsearch-go/LICENSE similarity index 96% rename from pip-services4-elasticsearch-go/LICENSE rename to pip-services4-http-go/pip-services4-elasticsearch-go/LICENSE index 715357c..aa653d3 100644 --- a/pip-services4-elasticsearch-go/LICENSE +++ b/pip-services4-http-go/pip-services4-elasticsearch-go/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2022 pip-services3-gox +Copyright (c) 2022 pip-services4-go Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/pip-services4-elasticsearch-go/Makefile b/pip-services4-http-go/pip-services4-elasticsearch-go/Makefile similarity index 100% rename from pip-services4-elasticsearch-go/Makefile rename to pip-services4-http-go/pip-services4-elasticsearch-go/Makefile diff --git a/pip-services4-elasticsearch-go/README.md b/pip-services4-http-go/pip-services4-elasticsearch-go/README.md similarity index 100% rename from pip-services4-elasticsearch-go/README.md rename to pip-services4-http-go/pip-services4-elasticsearch-go/README.md diff --git a/pip-services4-elasticsearch-go/build/DefaultElasticSearchFactory.go b/pip-services4-http-go/pip-services4-elasticsearch-go/build/DefaultElasticSearchFactory.go similarity index 100% rename from pip-services4-elasticsearch-go/build/DefaultElasticSearchFactory.go rename to pip-services4-http-go/pip-services4-elasticsearch-go/build/DefaultElasticSearchFactory.go diff --git a/pip-services4-elasticsearch-go/clean.ps1 b/pip-services4-http-go/pip-services4-elasticsearch-go/clean.ps1 similarity index 100% rename from pip-services4-elasticsearch-go/clean.ps1 rename to pip-services4-http-go/pip-services4-elasticsearch-go/clean.ps1 diff --git a/pip-services4-elasticsearch-go/component.json b/pip-services4-http-go/pip-services4-elasticsearch-go/component.json similarity index 83% rename from pip-services4-elasticsearch-go/component.json rename to pip-services4-http-go/pip-services4-elasticsearch-go/component.json index 38c5155..ccbafd6 100644 --- a/pip-services4-elasticsearch-go/component.json +++ b/pip-services4-http-go/pip-services4-elasticsearch-go/component.json @@ -4,7 +4,7 @@ "language": "go", "version": "0.0.1", "build": 0, - "registry": "pipdevs", + "registry": "pipservices", "artifacts": [ ] } \ No newline at end of file diff --git a/pip-services4-elasticsearch-go/docgen.ps1 b/pip-services4-http-go/pip-services4-elasticsearch-go/docgen.ps1 similarity index 100% rename from pip-services4-elasticsearch-go/docgen.ps1 rename to pip-services4-http-go/pip-services4-elasticsearch-go/docgen.ps1 diff --git a/pip-services4-elasticsearch-go/docker/Dockerfile.docs b/pip-services4-http-go/pip-services4-elasticsearch-go/docker/Dockerfile.docs similarity index 82% rename from pip-services4-elasticsearch-go/docker/Dockerfile.docs rename to pip-services4-http-go/pip-services4-elasticsearch-go/docker/Dockerfile.docs index 33f849b..820f24c 100644 --- a/pip-services4-elasticsearch-go/docker/Dockerfile.docs +++ b/pip-services4-http-go/pip-services4-elasticsearch-go/docker/Dockerfile.docs @@ -2,7 +2,7 @@ FROM golang:1.20 # Set environment variables for Go ENV GO111MODULE=on \ - GOPRIVATE=github.com/pip-services3-gox/* + GOPRIVATE=github.com/pip-services4-go/* WORKDIR /app diff --git a/pip-services4-elasticsearch-go/docker/Dockerfile.test b/pip-services4-http-go/pip-services4-elasticsearch-go/docker/Dockerfile.test similarity index 100% rename from pip-services4-elasticsearch-go/docker/Dockerfile.test rename to pip-services4-http-go/pip-services4-elasticsearch-go/docker/Dockerfile.test diff --git a/pip-services4-elasticsearch-go/docker/docker-compose.dev.yml b/pip-services4-http-go/pip-services4-elasticsearch-go/docker/docker-compose.dev.yml similarity index 100% rename from pip-services4-elasticsearch-go/docker/docker-compose.dev.yml rename to pip-services4-http-go/pip-services4-elasticsearch-go/docker/docker-compose.dev.yml diff --git a/pip-services4-elasticsearch-go/docker/docker-compose.test.yml b/pip-services4-http-go/pip-services4-elasticsearch-go/docker/docker-compose.test.yml similarity index 100% rename from pip-services4-elasticsearch-go/docker/docker-compose.test.yml rename to pip-services4-http-go/pip-services4-elasticsearch-go/docker/docker-compose.test.yml diff --git a/pip-services4-elasticsearch-go/go.mod b/pip-services4-http-go/pip-services4-elasticsearch-go/go.mod similarity index 100% rename from pip-services4-elasticsearch-go/go.mod rename to pip-services4-http-go/pip-services4-elasticsearch-go/go.mod diff --git a/pip-services4-elasticsearch-go/go.sum b/pip-services4-http-go/pip-services4-elasticsearch-go/go.sum similarity index 100% rename from pip-services4-elasticsearch-go/go.sum rename to pip-services4-http-go/pip-services4-elasticsearch-go/go.sum diff --git a/pip-services4-elasticsearch-go/index.go b/pip-services4-http-go/pip-services4-elasticsearch-go/index.go similarity index 100% rename from pip-services4-elasticsearch-go/index.go rename to pip-services4-http-go/pip-services4-elasticsearch-go/index.go diff --git a/pip-services4-elasticsearch-go/log/ElasticSearchLogger.go b/pip-services4-http-go/pip-services4-elasticsearch-go/log/ElasticSearchLogger.go similarity index 100% rename from pip-services4-elasticsearch-go/log/ElasticSearchLogger.go rename to pip-services4-http-go/pip-services4-elasticsearch-go/log/ElasticSearchLogger.go diff --git a/pip-services4-elasticsearch-go/test.ps1 b/pip-services4-http-go/pip-services4-elasticsearch-go/test.ps1 similarity index 100% rename from pip-services4-elasticsearch-go/test.ps1 rename to pip-services4-http-go/pip-services4-elasticsearch-go/test.ps1 diff --git a/pip-services4-elasticsearch-go/test/log/ElasticSearchLogger_test.go b/pip-services4-http-go/pip-services4-elasticsearch-go/test/log/ElasticSearchLogger_test.go similarity index 100% rename from pip-services4-elasticsearch-go/test/log/ElasticSearchLogger_test.go rename to pip-services4-http-go/pip-services4-elasticsearch-go/test/log/ElasticSearchLogger_test.go diff --git a/pip-services4-elasticsearch-go/test/log/LoggerFixture.go b/pip-services4-http-go/pip-services4-elasticsearch-go/test/log/LoggerFixture.go similarity index 100% rename from pip-services4-elasticsearch-go/test/log/LoggerFixture.go rename to pip-services4-http-go/pip-services4-elasticsearch-go/test/log/LoggerFixture.go diff --git a/pip-services4-kafka-go/.github/workflows/github-ci.yml b/pip-services4-kafka-go/.github/workflows/github-ci.yml deleted file mode 100644 index 471d7cc..0000000 --- a/pip-services4-kafka-go/.github/workflows/github-ci.yml +++ /dev/null @@ -1,103 +0,0 @@ -name: Pip.Services Kafka Gox Delivery - -# Configure trigger rules -on: - push: - paths: - - '**' - - '!README.md' - -jobs: - # Setup job - setup: - runs-on: ubuntu-20.04 - if: "!contains(github.event.head_commit.message, '[skip-ci]')" - - steps: - - name: Checkout source code - uses: actions/checkout@main - - - name: Pull delivery scripts - shell: bash - run: | - rm -rf script-delivery-ps - git clone ${{ secrets.SCRIPTS_DELIVERY_PS_GIT_URL }} script-delivery-ps - - - name: Execute increment script - shell: bash - run: ./script-delivery-ps/setup/increment/increment.ps1 - - - name: Execute prerequisites script - shell: bash - run: ./script-delivery-ps/setup/prereqs/prereqs.ps1 - - - name: Cache intermediate data - uses: actions/cache@v3 - with: - path: | - script-delivery-ps - component*.json - key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - - # Authoring job - authoring: - needs: setup - runs-on: ubuntu-20.04 - - steps: - - name: Checkout source code - uses: actions/checkout@main - - - name: Get cached intermediate data - uses: actions/cache@v3 - with: - path: | - script-delivery-ps - component*.json - key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - - - name: Execute build script - shell: bash - run: script-delivery-ps/authoring/build/build.ps1 - - - name: Execute test script - shell: bash - run: ./script-delivery-ps/authoring/test/test.ps1 - - - name: Execute package script - shell: bash - run: ./script-delivery-ps/authoring/package/package.ps1 - - - name: Execute publish script - shell: bash - run: ./script-delivery-ps/authoring/publish/publish.ps1 - - - name: Execute tag script - shell: bash - run: ./script-delivery-ps/authoring/tag/tag.ps1 - - - name: Execute clean script - if: always() - shell: bash - run: ./script-delivery-ps/authoring/clean/clean.ps1 - - # Measure job - measure: - needs: authoring - if: always() - runs-on: ubuntu-20.04 - - steps: - - name: Get cached intermediate data - uses: actions/cache@v3 - with: - path: | - script-delivery-ps - component*.json - key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - - - name: Execute measure script - env: - name: $(echo '${{ github.repository }}' | awk -F '/' '{print $2}') - run: ./script-delivery-ps/measure/measure.ps1 ${{ github.repository_owner }} ${{ env.name }} ${{ secrets.AWS_ACCESS_KEY_ID }} ${{ secrets.AWS_SECRET_ACCESS_KEY }} ${{ secrets.AWS_S3_BUCKET }} ${{ secrets.GITHUB_TOKEN }} - shell: bash diff --git a/pip-services4-kafka-go/LICENSE b/pip-services4-kafka-go/LICENSE index 715357c..aa653d3 100644 --- a/pip-services4-kafka-go/LICENSE +++ b/pip-services4-kafka-go/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2022 pip-services3-gox +Copyright (c) 2022 pip-services4-go Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/pip-services4-kafka-go/component.json b/pip-services4-kafka-go/component.json index 84659df..afbc114 100644 --- a/pip-services4-kafka-go/component.json +++ b/pip-services4-kafka-go/component.json @@ -1,9 +1,9 @@ { - "name": "pip-services3-kafka-gox", + "name": "pip-services4-kafka-go", "type": "module", "language": "go", "version": "0.0.1", "build": 0, - "registry": "pipdevs", + "registry": "pipservices", "artifacts": [] } \ No newline at end of file diff --git a/pip-services4-kafka-go/docker/Dockerfile.docs b/pip-services4-kafka-go/docker/Dockerfile.docs index 33f849b..820f24c 100644 --- a/pip-services4-kafka-go/docker/Dockerfile.docs +++ b/pip-services4-kafka-go/docker/Dockerfile.docs @@ -2,7 +2,7 @@ FROM golang:1.20 # Set environment variables for Go ENV GO111MODULE=on \ - GOPRIVATE=github.com/pip-services3-gox/* + GOPRIVATE=github.com/pip-services4-go/* WORKDIR /app diff --git a/pip-services4-logic-go/README.md b/pip-services4-logic-go/README.md index 8f8596b..6771df2 100644 --- a/pip-services4-logic-go/README.md +++ b/pip-services4-logic-go/README.md @@ -34,9 +34,9 @@ package main import ( "context" - "github.com/pip-services3-gox/pip-services3-commons-gox/refer" - "github.com/pip-services3-gox/pip-services3-components-gox/cache" - "github.com/pip-services3-gox/pip-services3-components-gox/lock" + "github.com/pip-services4-go/pip-services4-commons-go/refer" + "github.com/pip-services4-go/pip-services4-components-go/cache" + "github.com/pip-services4-go/pip-services4-components-go/lock" ) func main() { diff --git a/pip-services4-logic-go/component.json b/pip-services4-logic-go/component.json index 06b5457..36397bd 100644 --- a/pip-services4-logic-go/component.json +++ b/pip-services4-logic-go/component.json @@ -4,7 +4,7 @@ "language": "go", "version": "0.0.1", "build": 0, - "registry": "pipdevs", + "registry": "pipservices", "artifacts": [ ] } \ No newline at end of file diff --git a/pip-services4-memcached-go/.github/workflows/github-ci.yml b/pip-services4-memcached-go/.github/workflows/github-ci.yml deleted file mode 100644 index c3dfb4b..0000000 --- a/pip-services4-memcached-go/.github/workflows/github-ci.yml +++ /dev/null @@ -1,103 +0,0 @@ -name: Pip.Services Memcached Gox Delivery - -# Configure trigger rules -on: - push: - paths: - - '**' - - '!README.md' - -jobs: - # Setup job - setup: - runs-on: ubuntu-20.04 - if: "!contains(github.event.head_commit.message, '[skip-ci]')" - - steps: - - name: Checkout source code - uses: actions/checkout@main - - - name: Pull delivery scripts - shell: bash - run: | - rm -rf script-delivery-ps - git clone ${{ secrets.SCRIPTS_DELIVERY_PS_GIT_URL }} script-delivery-ps - - - name: Execute increment script - shell: bash - run: ./script-delivery-ps/setup/increment/increment.ps1 - - - name: Execute prerequisites script - shell: bash - run: ./script-delivery-ps/setup/prereqs/prereqs.ps1 - - - name: Cache intermediate data - uses: actions/cache@v3 - with: - path: | - script-delivery-ps - component*.json - key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - - # Authoring job - authoring: - needs: setup - runs-on: ubuntu-20.04 - - steps: - - name: Checkout source code - uses: actions/checkout@main - - - name: Get cached intermediate data - uses: actions/cache@v3 - with: - path: | - script-delivery-ps - component*.json - key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - - - name: Execute build script - shell: bash - run: script-delivery-ps/authoring/build/build.ps1 - - - name: Execute test script - shell: bash - run: ./script-delivery-ps/authoring/test/test.ps1 - - - name: Execute package script - shell: bash - run: ./script-delivery-ps/authoring/package/package.ps1 - - - name: Execute publish script - shell: bash - run: ./script-delivery-ps/authoring/publish/publish.ps1 - - - name: Execute tag script - shell: bash - run: ./script-delivery-ps/authoring/tag/tag.ps1 - - - name: Execute clean script - if: always() - shell: bash - run: ./script-delivery-ps/authoring/clean/clean.ps1 - - # Measure job - measure: - needs: authoring - if: always() - runs-on: ubuntu-20.04 - - steps: - - name: Get cached intermediate data - uses: actions/cache@v3 - with: - path: | - script-delivery-ps - component*.json - key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - - - name: Execute measure script - env: - name: $(echo '${{ github.repository }}' | awk -F '/' '{print $2}') - run: ./script-delivery-ps/measure/measure.ps1 ${{ github.repository_owner }} ${{ env.name }} ${{ secrets.AWS_ACCESS_KEY_ID }} ${{ secrets.AWS_SECRET_ACCESS_KEY }} ${{ secrets.AWS_S3_BUCKET }} ${{ secrets.GITHUB_TOKEN }} - shell: bash diff --git a/pip-services4-memcached-go/component.json b/pip-services4-memcached-go/component.json index 37d32de..d0594d3 100644 --- a/pip-services4-memcached-go/component.json +++ b/pip-services4-memcached-go/component.json @@ -1,10 +1,10 @@ { - "name": "pip-services3-memcached-gox", + "name": "pip-services4-memcached-go", "type": "module", "language": "go", "version": "0.0.1", "build": 0, - "registry": "pipdevs", + "registry": "pipservices", "artifacts": [ ] } \ No newline at end of file diff --git a/pip-services4-messaging-go/.github/workflows/github-ci.yml b/pip-services4-messaging-go/.github/workflows/github-ci.yml deleted file mode 100644 index 61f2fe1..0000000 --- a/pip-services4-messaging-go/.github/workflows/github-ci.yml +++ /dev/null @@ -1,103 +0,0 @@ -name: Pip.Services Messaging Gox Delivery - -# Configure trigger rules -on: - push: - paths: - - '**' - - '!README.md' - -jobs: - # Setup job - setup: - runs-on: ubuntu-20.04 - if: "!contains(github.event.head_commit.message, '[skip-ci]')" - - steps: - - name: Checkout source code - uses: actions/checkout@main - - - name: Pull delivery scripts - shell: bash - run: | - rm -rf script-delivery-ps - git clone ${{ secrets.SCRIPTS_DELIVERY_PS_GIT_URL }} script-delivery-ps - - - name: Execute increment script - shell: bash - run: ./script-delivery-ps/setup/increment/increment.ps1 - - - name: Execute prerequisites script - shell: bash - run: ./script-delivery-ps/setup/prereqs/prereqs.ps1 - - - name: Cache intermediate data - uses: actions/cache@v3 - with: - path: | - script-delivery-ps - component*.json - key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - - # Authoring job - authoring: - needs: setup - runs-on: ubuntu-20.04 - - steps: - - name: Checkout source code - uses: actions/checkout@main - - - name: Get cached intermediate data - uses: actions/cache@v3 - with: - path: | - script-delivery-ps - component*.json - key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - - - name: Execute build script - shell: bash - run: script-delivery-ps/authoring/build/build.ps1 - - - name: Execute test script - shell: bash - run: ./script-delivery-ps/authoring/test/test.ps1 - - - name: Execute package script - shell: bash - run: ./script-delivery-ps/authoring/package/package.ps1 - - - name: Execute publish script - shell: bash - run: ./script-delivery-ps/authoring/publish/publish.ps1 - - - name: Execute tag script - shell: bash - run: ./script-delivery-ps/authoring/tag/tag.ps1 - - - name: Execute clean script - if: always() - shell: bash - run: ./script-delivery-ps/authoring/clean/clean.ps1 - - # Measure job - measure: - needs: authoring - if: always() - runs-on: ubuntu-20.04 - - steps: - - name: Get cached intermediate data - uses: actions/cache@v3 - with: - path: | - script-delivery-ps - component*.json - key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - - - name: Execute measure script - env: - name: $(echo '${{ github.repository }}' | awk -F '/' '{print $2}') - run: ./script-delivery-ps/measure/measure.ps1 ${{ github.repository_owner }} ${{ env.name }} ${{ secrets.AWS_ACCESS_KEY_ID }} ${{ secrets.AWS_SECRET_ACCESS_KEY }} ${{ secrets.AWS_S3_BUCKET }} ${{ secrets.GITHUB_TOKEN }} - shell: bash diff --git a/pip-services4-messaging-go/component.json b/pip-services4-messaging-go/component.json index b5a6cb6..b247dd2 100644 --- a/pip-services4-messaging-go/component.json +++ b/pip-services4-messaging-go/component.json @@ -4,7 +4,7 @@ "language": "go", "version": "0.0.1", "build": 0, - "registry": "pipdevs", + "registry": "pipservices", "artifacts": [ ] } \ No newline at end of file diff --git a/pip-services4-messaging-go/docker/Dockerfile.docs b/pip-services4-messaging-go/docker/Dockerfile.docs index 33f849b..820f24c 100644 --- a/pip-services4-messaging-go/docker/Dockerfile.docs +++ b/pip-services4-messaging-go/docker/Dockerfile.docs @@ -2,7 +2,7 @@ FROM golang:1.20 # Set environment variables for Go ENV GO111MODULE=on \ - GOPRIVATE=github.com/pip-services3-gox/* + GOPRIVATE=github.com/pip-services4-go/* WORKDIR /app diff --git a/pip-services4-mongodb-go/docker/Dockerfile.docs b/pip-services4-mongodb-go/docker/Dockerfile.docs index 33f849b..820f24c 100644 --- a/pip-services4-mongodb-go/docker/Dockerfile.docs +++ b/pip-services4-mongodb-go/docker/Dockerfile.docs @@ -2,7 +2,7 @@ FROM golang:1.20 # Set environment variables for Go ENV GO111MODULE=on \ - GOPRIVATE=github.com/pip-services3-gox/* + GOPRIVATE=github.com/pip-services4-go/* WORKDIR /app diff --git a/pip-services4-mqtt-go/.github/workflows/github-ci.yml b/pip-services4-mqtt-go/.github/workflows/github-ci.yml deleted file mode 100644 index 8bf18dd..0000000 --- a/pip-services4-mqtt-go/.github/workflows/github-ci.yml +++ /dev/null @@ -1,103 +0,0 @@ -name: Pip.Services MQTT Gox Delivery - -# Configure trigger rules -on: - push: - paths: - - '**' - - '!README.md' - -jobs: - # Setup job - setup: - runs-on: ubuntu-20.04 - if: "!contains(github.event.head_commit.message, '[skip-ci]')" - - steps: - - name: Checkout source code - uses: actions/checkout@main - - - name: Pull delivery scripts - shell: bash - run: | - rm -rf script-delivery-ps - git clone ${{ secrets.SCRIPTS_DELIVERY_PS_GIT_URL }} script-delivery-ps - - - name: Execute increment script - shell: bash - run: ./script-delivery-ps/setup/increment/increment.ps1 - - - name: Execute prerequisites script - shell: bash - run: ./script-delivery-ps/setup/prereqs/prereqs.ps1 - - - name: Cache intermediate data - uses: actions/cache@v3 - with: - path: | - script-delivery-ps - component*.json - key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - - # Authoring job - authoring: - needs: setup - runs-on: ubuntu-20.04 - - steps: - - name: Checkout source code - uses: actions/checkout@main - - - name: Get cached intermediate data - uses: actions/cache@v3 - with: - path: | - script-delivery-ps - component*.json - key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - - - name: Execute build script - shell: bash - run: script-delivery-ps/authoring/build/build.ps1 - - - name: Execute test script - shell: bash - run: ./script-delivery-ps/authoring/test/test.ps1 - - - name: Execute package script - shell: bash - run: ./script-delivery-ps/authoring/package/package.ps1 - - - name: Execute publish script - shell: bash - run: ./script-delivery-ps/authoring/publish/publish.ps1 - - - name: Execute tag script - shell: bash - run: ./script-delivery-ps/authoring/tag/tag.ps1 - - - name: Execute clean script - if: always() - shell: bash - run: ./script-delivery-ps/authoring/clean/clean.ps1 - - # Measure job - measure: - needs: authoring - if: always() - runs-on: ubuntu-20.04 - - steps: - - name: Get cached intermediate data - uses: actions/cache@v3 - with: - path: | - script-delivery-ps - component*.json - key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - - - name: Execute measure script - env: - name: $(echo '${{ github.repository }}' | awk -F '/' '{print $2}') - run: ./script-delivery-ps/measure/measure.ps1 ${{ github.repository_owner }} ${{ env.name }} ${{ secrets.AWS_ACCESS_KEY_ID }} ${{ secrets.AWS_SECRET_ACCESS_KEY }} ${{ secrets.AWS_S3_BUCKET }} ${{ secrets.GITHUB_TOKEN }} - shell: bash diff --git a/pip-services4-mqtt-go/LICENSE b/pip-services4-mqtt-go/LICENSE index 715357c..aa653d3 100644 --- a/pip-services4-mqtt-go/LICENSE +++ b/pip-services4-mqtt-go/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2022 pip-services3-gox +Copyright (c) 2022 pip-services4-go Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/pip-services4-mqtt-go/component.json b/pip-services4-mqtt-go/component.json index e1430dc..029a0b1 100644 --- a/pip-services4-mqtt-go/component.json +++ b/pip-services4-mqtt-go/component.json @@ -4,7 +4,7 @@ "language": "go", "version": "0.0.1", "build": 0, - "registry": "pipdevs", + "registry": "pipservices", "artifacts": [ ] } \ No newline at end of file diff --git a/pip-services4-mqtt-go/connect/MqttConnection.go b/pip-services4-mqtt-go/connect/MqttConnection.go index 13bbb49..9eda76b 100644 --- a/pip-services4-mqtt-go/connect/MqttConnection.go +++ b/pip-services4-mqtt-go/connect/MqttConnection.go @@ -21,12 +21,12 @@ import ( // Configuration parameters // - client_id: (optional) name of the client id // - connection(s): -// - discovery_key: (optional) a key to retrieve the connection from [[https://pip-services3-node.github.io/pip-services3-components-node/interfaces/connect.idiscovery.html IDiscovery]] +// - discovery_key: (optional) a key to retrieve the connection from [[https://pip-services4-node.github.io/pip-services4-components-node/interfaces/connect.idiscovery.html IDiscovery]] // - host: host name or IP address // - port: port number // - uri: resource URI or connection string with all parameters in it // - credential(s): -// - store_key: (optional) a key to retrieve the credentials from [[https://pip-services3-node.github.io/pip-services3-components-node/interfaces/auth.icredentialstore.html ICredentialStore]] +// - store_key: (optional) a key to retrieve the credentials from [[https://pip-services4-node.github.io/pip-services4-components-node/interfaces/auth.icredentialstore.html ICredentialStore]] // - username: user name // - password: user password // - options: diff --git a/pip-services4-mqtt-go/docker/Dockerfile.docs b/pip-services4-mqtt-go/docker/Dockerfile.docs index 33f849b..820f24c 100644 --- a/pip-services4-mqtt-go/docker/Dockerfile.docs +++ b/pip-services4-mqtt-go/docker/Dockerfile.docs @@ -2,7 +2,7 @@ FROM golang:1.20 # Set environment variables for Go ENV GO111MODULE=on \ - GOPRIVATE=github.com/pip-services3-gox/* + GOPRIVATE=github.com/pip-services4-go/* WORKDIR /app diff --git a/pip-services4-mysql-go/.github/workflows/github-ci.yml b/pip-services4-mysql-go/.github/workflows/github-ci.yml deleted file mode 100644 index eadaa70..0000000 --- a/pip-services4-mysql-go/.github/workflows/github-ci.yml +++ /dev/null @@ -1,103 +0,0 @@ -name: Pip.Services MySql Gox Delivery - -# Configure trigger rules -on: - push: - paths: - - '**' - - '!README.md' - -jobs: - # Setup job - setup: - runs-on: ubuntu-20.04 - if: "!contains(github.event.head_commit.message, '[skip-ci]')" - - steps: - - name: Checkout source code - uses: actions/checkout@main - - - name: Pull delivery scripts - shell: bash - run: | - rm -rf script-delivery-ps - git clone ${{ secrets.SCRIPTS_DELIVERY_PS_GIT_URL }} script-delivery-ps - - - name: Execute increment script - shell: bash - run: ./script-delivery-ps/setup/increment/increment.ps1 - - - name: Execute prerequisites script - shell: bash - run: ./script-delivery-ps/setup/prereqs/prereqs.ps1 - - - name: Cache intermediate data - uses: actions/cache@v3 - with: - path: | - script-delivery-ps - component*.json - key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - - # Authoring job - authoring: - needs: setup - runs-on: ubuntu-20.04 - - steps: - - name: Checkout source code - uses: actions/checkout@main - - - name: Get cached intermediate data - uses: actions/cache@v3 - with: - path: | - script-delivery-ps - component*.json - key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - - - name: Execute build script - shell: bash - run: script-delivery-ps/authoring/build/build.ps1 - - - name: Execute test script - shell: bash - run: ./script-delivery-ps/authoring/test/test.ps1 - - - name: Execute package script - shell: bash - run: ./script-delivery-ps/authoring/package/package.ps1 - - - name: Execute publish script - shell: bash - run: ./script-delivery-ps/authoring/publish/publish.ps1 - - - name: Execute tag script - shell: bash - run: ./script-delivery-ps/authoring/tag/tag.ps1 - - - name: Execute clean script - if: always() - shell: bash - run: ./script-delivery-ps/authoring/clean/clean.ps1 - - # Measure job - measure: - needs: authoring - if: always() - runs-on: ubuntu-20.04 - - steps: - - name: Get cached intermediate data - uses: actions/cache@v3 - with: - path: | - script-delivery-ps - component*.json - key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - - - name: Execute measure script - env: - name: $(echo '${{ github.repository }}' | awk -F '/' '{print $2}') - run: ./script-delivery-ps/measure/measure.ps1 ${{ github.repository_owner }} ${{ env.name }} ${{ secrets.AWS_ACCESS_KEY_ID }} ${{ secrets.AWS_SECRET_ACCESS_KEY }} ${{ secrets.AWS_S3_BUCKET }} ${{ secrets.GITHUB_TOKEN }} - shell: bash diff --git a/pip-services4-mysql-go/LICENSE b/pip-services4-mysql-go/LICENSE index 715357c..aa653d3 100644 --- a/pip-services4-mysql-go/LICENSE +++ b/pip-services4-mysql-go/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2022 pip-services3-gox +Copyright (c) 2022 pip-services4-go Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/pip-services4-mysql-go/component.json b/pip-services4-mysql-go/component.json index d6fb1b7..7bda366 100644 --- a/pip-services4-mysql-go/component.json +++ b/pip-services4-mysql-go/component.json @@ -4,7 +4,7 @@ "language": "go", "version": "0.0.1", "build": 0, - "registry": "pipdevs", + "registry": "pipservices", "artifacts": [ ] } \ No newline at end of file diff --git a/pip-services4-mysql-go/docker/Dockerfile.docs b/pip-services4-mysql-go/docker/Dockerfile.docs index 9105c37..8ecabec 100644 --- a/pip-services4-mysql-go/docker/Dockerfile.docs +++ b/pip-services4-mysql-go/docker/Dockerfile.docs @@ -2,7 +2,7 @@ FROM golang:1.20 # Set environment variables for Go ENV GO111MODULE=on \ - GOPRIVATE=github.com/pip-services3-gox/* + GOPRIVATE=github.com/pip-services4-go/* WORKDIR /app diff --git a/pip-services4-nats-go/.github/workflows/github-ci.yml b/pip-services4-nats-go/.github/workflows/github-ci.yml deleted file mode 100644 index 90c5ff6..0000000 --- a/pip-services4-nats-go/.github/workflows/github-ci.yml +++ /dev/null @@ -1,103 +0,0 @@ -name: Pip.Services NATS Gox Delivery - -# Configure trigger rules -on: - push: - paths: - - '**' - - '!README.md' - -jobs: - # Setup job - setup: - runs-on: ubuntu-20.04 - if: "!contains(github.event.head_commit.message, '[skip-ci]')" - - steps: - - name: Checkout source code - uses: actions/checkout@main - - - name: Pull delivery scripts - shell: bash - run: | - rm -rf script-delivery-ps - git clone ${{ secrets.SCRIPTS_DELIVERY_PS_GIT_URL }} script-delivery-ps - - - name: Execute increment script - shell: bash - run: ./script-delivery-ps/setup/increment/increment.ps1 - - - name: Execute prerequisites script - shell: bash - run: ./script-delivery-ps/setup/prereqs/prereqs.ps1 - - - name: Cache intermediate data - uses: actions/cache@v3 - with: - path: | - script-delivery-ps - component*.json - key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - - # Authoring job - authoring: - needs: setup - runs-on: ubuntu-20.04 - - steps: - - name: Checkout source code - uses: actions/checkout@main - - - name: Get cached intermediate data - uses: actions/cache@v3 - with: - path: | - script-delivery-ps - component*.json - key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - - - name: Execute build script - shell: bash - run: script-delivery-ps/authoring/build/build.ps1 - - - name: Execute test script - shell: bash - run: ./script-delivery-ps/authoring/test/test.ps1 - - - name: Execute package script - shell: bash - run: ./script-delivery-ps/authoring/package/package.ps1 - - - name: Execute publish script - shell: bash - run: ./script-delivery-ps/authoring/publish/publish.ps1 - - - name: Execute tag script - shell: bash - run: ./script-delivery-ps/authoring/tag/tag.ps1 - - - name: Execute clean script - if: always() - shell: bash - run: ./script-delivery-ps/authoring/clean/clean.ps1 - - # Measure job - measure: - needs: authoring - if: always() - runs-on: ubuntu-20.04 - - steps: - - name: Get cached intermediate data - uses: actions/cache@v3 - with: - path: | - script-delivery-ps - component*.json - key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - - - name: Execute measure script - env: - name: $(echo '${{ github.repository }}' | awk -F '/' '{print $2}') - run: ./script-delivery-ps/measure/measure.ps1 ${{ github.repository_owner }} ${{ env.name }} ${{ secrets.AWS_ACCESS_KEY_ID }} ${{ secrets.AWS_SECRET_ACCESS_KEY }} ${{ secrets.AWS_S3_BUCKET }} ${{ secrets.GITHUB_TOKEN }} - shell: bash diff --git a/pip-services4-nats-go/LICENSE b/pip-services4-nats-go/LICENSE index 715357c..aa653d3 100644 --- a/pip-services4-nats-go/LICENSE +++ b/pip-services4-nats-go/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2022 pip-services3-gox +Copyright (c) 2022 pip-services4-go Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/pip-services4-nats-go/component.json b/pip-services4-nats-go/component.json index 7e9adb2..b26b3e9 100644 --- a/pip-services4-nats-go/component.json +++ b/pip-services4-nats-go/component.json @@ -4,7 +4,7 @@ "language": "go", "version": "0.0.1", "build": 0, - "registry": "pipdevs", + "registry": "pipservices", "artifacts": [ ] } \ No newline at end of file diff --git a/pip-services4-nats-go/docker/Dockerfile.docs b/pip-services4-nats-go/docker/Dockerfile.docs index 33f849b..820f24c 100644 --- a/pip-services4-nats-go/docker/Dockerfile.docs +++ b/pip-services4-nats-go/docker/Dockerfile.docs @@ -2,7 +2,7 @@ FROM golang:1.20 # Set environment variables for Go ENV GO111MODULE=on \ - GOPRIVATE=github.com/pip-services3-gox/* + GOPRIVATE=github.com/pip-services4-go/* WORKDIR /app diff --git a/pip-services4-observability-go/README.md b/pip-services4-observability-go/README.md index 64e6a25..7f45dd1 100644 --- a/pip-services4-observability-go/README.md +++ b/pip-services4-observability-go/README.md @@ -32,10 +32,10 @@ They will pass through calls to loggers and counters that are set in references. import ( "context" - "github.com/pip-services4/pip-services4-go/pip-services4-components-gox/config" - "github.com/pip-services4/pip-services4-go/pip-services4-components-gox/refer" - "github.com/pip-services4/pip-services4-go/pip-services4-observability-gox/count" - "github.com/pip-services4/pip-services4-go/pip-services4-observability-gox/log" + "github.com/pip-services4/pip-services4-go/pip-services4-components-go/config" + "github.com/pip-services4/pip-services4-go/pip-services4-components-go/refer" + "github.com/pip-services4/pip-services4-go/pip-services4-observability-go/count" + "github.com/pip-services4/pip-services4-go/pip-services4-observability-go/log" ) type MyComponent struct { diff --git a/pip-services4-observability-go/component.json b/pip-services4-observability-go/component.json index 9977b1c..958c51f 100644 --- a/pip-services4-observability-go/component.json +++ b/pip-services4-observability-go/component.json @@ -4,7 +4,7 @@ "language": "go", "version": "0.0.1", "build": 0, - "registry": "pipdevs", + "registry": "pipservices", "artifacts": [ ] } \ No newline at end of file diff --git a/pip-services4-persistence-go/.github/workflows/github-ci.yml b/pip-services4-persistence-go/.github/workflows/github-ci.yml deleted file mode 100644 index b7ee075..0000000 --- a/pip-services4-persistence-go/.github/workflows/github-ci.yml +++ /dev/null @@ -1,103 +0,0 @@ -name: Pip.Services Data Gox Delivery - -# Configure trigger rules -on: - push: - paths: - - '**' - - '!README.md' - -jobs: - # Setup job - setup: - runs-on: ubuntu-20.04 - if: "!contains(github.event.head_commit.message, '[skip-ci]')" - - steps: - - name: Checkout source code - uses: actions/checkout@main - - - name: Pull delivery scripts - shell: bash - run: | - rm -rf script-delivery-ps - git clone ${{ secrets.SCRIPTS_DELIVERY_PS_GIT_URL }} script-delivery-ps - - - name: Execute increment script - shell: bash - run: ./script-delivery-ps/setup/increment/increment.ps1 - - - name: Execute prerequisites script - shell: bash - run: ./script-delivery-ps/setup/prereqs/prereqs.ps1 - - - name: Cache intermediate data - uses: actions/cache@v3 - with: - path: | - script-delivery-ps - component*.json - key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - - # Authoring job - authoring: - needs: setup - runs-on: ubuntu-20.04 - - steps: - - name: Checkout source code - uses: actions/checkout@main - - - name: Get cached intermediate data - uses: actions/cache@v3 - with: - path: | - script-delivery-ps - component*.json - key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - - - name: Execute build script - shell: bash - run: script-delivery-ps/authoring/build/build.ps1 - - - name: Execute test script - shell: bash - run: ./script-delivery-ps/authoring/test/test.ps1 - - - name: Execute package script - shell: bash - run: ./script-delivery-ps/authoring/package/package.ps1 - - - name: Execute publish script - shell: bash - run: ./script-delivery-ps/authoring/publish/publish.ps1 - - - name: Execute tag script - shell: bash - run: ./script-delivery-ps/authoring/tag/tag.ps1 - - - name: Execute clean script - if: always() - shell: bash - run: ./script-delivery-ps/authoring/clean/clean.ps1 - - # Measure job - measure: - needs: authoring - if: always() - runs-on: ubuntu-20.04 - - steps: - - name: Get cached intermediate data - uses: actions/cache@v3 - with: - path: | - script-delivery-ps - component*.json - key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - - - name: Execute measure script - env: - name: $(echo '${{ github.repository }}' | awk -F '/' '{print $2}') - run: ./script-delivery-ps/measure/measure.ps1 ${{ github.repository_owner }} ${{ env.name }} ${{ secrets.AWS_ACCESS_KEY_ID }} ${{ secrets.AWS_SECRET_ACCESS_KEY }} ${{ secrets.AWS_S3_BUCKET }} ${{ secrets.GITHUB_TOKEN }} - shell: bash diff --git a/pip-services4-persistence-go/component.json b/pip-services4-persistence-go/component.json index cd8a949..b7f3360 100644 --- a/pip-services4-persistence-go/component.json +++ b/pip-services4-persistence-go/component.json @@ -4,7 +4,7 @@ "language": "go", "version": "0.0.1", "build": 0, - "registry": "pipdevs", + "registry": "pipservices", "artifacts": [ ] } \ No newline at end of file diff --git a/pip-services4-persistence-go/docker/Dockerfile.docs b/pip-services4-persistence-go/docker/Dockerfile.docs index 33f849b..820f24c 100644 --- a/pip-services4-persistence-go/docker/Dockerfile.docs +++ b/pip-services4-persistence-go/docker/Dockerfile.docs @@ -2,7 +2,7 @@ FROM golang:1.20 # Set environment variables for Go ENV GO111MODULE=on \ - GOPRIVATE=github.com/pip-services3-gox/* + GOPRIVATE=github.com/pip-services4-go/* WORKDIR /app diff --git a/pip-services4-postgres-go/.github/workflows/github-ci.yml b/pip-services4-postgres-go/.github/workflows/github-ci.yml deleted file mode 100644 index 3de6011..0000000 --- a/pip-services4-postgres-go/.github/workflows/github-ci.yml +++ /dev/null @@ -1,103 +0,0 @@ -name: Pip.Services Postgres Gox Delivery - -# Configure trigger rules -on: - push: - paths: - - '**' - - '!README.md' - -jobs: - # Setup job - setup: - runs-on: ubuntu-20.04 - if: "!contains(github.event.head_commit.message, '[skip-ci]')" - - steps: - - name: Checkout source code - uses: actions/checkout@main - - - name: Pull delivery scripts - shell: bash - run: | - rm -rf script-delivery-ps - git clone ${{ secrets.SCRIPTS_DELIVERY_PS_GIT_URL }} script-delivery-ps - - - name: Execute increment script - shell: bash - run: ./script-delivery-ps/setup/increment/increment.ps1 - - - name: Execute prerequisites script - shell: bash - run: ./script-delivery-ps/setup/prereqs/prereqs.ps1 - - - name: Cache intermediate data - uses: actions/cache@v3 - with: - path: | - script-delivery-ps - component*.json - key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - - # Authoring job - authoring: - needs: setup - runs-on: ubuntu-20.04 - - steps: - - name: Checkout source code - uses: actions/checkout@main - - - name: Get cached intermediate data - uses: actions/cache@v3 - with: - path: | - script-delivery-ps - component*.json - key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - - - name: Execute build script - shell: bash - run: script-delivery-ps/authoring/build/build.ps1 - - - name: Execute test script - shell: bash - run: ./script-delivery-ps/authoring/test/test.ps1 - - - name: Execute package script - shell: bash - run: ./script-delivery-ps/authoring/package/package.ps1 - - - name: Execute publish script - shell: bash - run: ./script-delivery-ps/authoring/publish/publish.ps1 - - - name: Execute tag script - shell: bash - run: ./script-delivery-ps/authoring/tag/tag.ps1 - - - name: Execute clean script - if: always() - shell: bash - run: ./script-delivery-ps/authoring/clean/clean.ps1 - - # Measure job - measure: - needs: authoring - if: always() - runs-on: ubuntu-20.04 - - steps: - - name: Get cached intermediate data - uses: actions/cache@v3 - with: - path: | - script-delivery-ps - component*.json - key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - - - name: Execute measure script - env: - name: $(echo '${{ github.repository }}' | awk -F '/' '{print $2}') - run: ./script-delivery-ps/measure/measure.ps1 ${{ github.repository_owner }} ${{ env.name }} ${{ secrets.AWS_ACCESS_KEY_ID }} ${{ secrets.AWS_SECRET_ACCESS_KEY }} ${{ secrets.AWS_S3_BUCKET }} ${{ secrets.GITHUB_TOKEN }} - shell: bash diff --git a/pip-services4-postgres-go/component.json b/pip-services4-postgres-go/component.json index 1c61305..16b5c5f 100644 --- a/pip-services4-postgres-go/component.json +++ b/pip-services4-postgres-go/component.json @@ -1,10 +1,10 @@ { - "name": "pip-services3-postgres-gox", + "name": "pip-services4-postgres-go", "type": "module", "language": "go", "version": "0.0.1", "build": 0, - "registry": "pipdevs", + "registry": "pipservices", "artifacts": [ ] } \ No newline at end of file diff --git a/pip-services4-postgres-go/docker/Dockerfile.docs b/pip-services4-postgres-go/docker/Dockerfile.docs index 33f849b..820f24c 100644 --- a/pip-services4-postgres-go/docker/Dockerfile.docs +++ b/pip-services4-postgres-go/docker/Dockerfile.docs @@ -2,7 +2,7 @@ FROM golang:1.20 # Set environment variables for Go ENV GO111MODULE=on \ - GOPRIVATE=github.com/pip-services3-gox/* + GOPRIVATE=github.com/pip-services4-go/* WORKDIR /app diff --git a/pip-services4-prometheus-go/.github/workflows/github-ci.yml b/pip-services4-prometheus-go/.github/workflows/github-ci.yml deleted file mode 100644 index 40f3438..0000000 --- a/pip-services4-prometheus-go/.github/workflows/github-ci.yml +++ /dev/null @@ -1,103 +0,0 @@ -name: Pip.Services Prometheus Gox Delivery - -# Configure trigger rules -on: - push: - paths: - - '**' - - '!README.md' - -jobs: - # Setup job - setup: - runs-on: ubuntu-20.04 - if: "!contains(github.event.head_commit.message, '[skip-ci]')" - - steps: - - name: Checkout source code - uses: actions/checkout@main - - - name: Pull delivery scripts - shell: bash - run: | - rm -rf script-delivery-ps - git clone ${{ secrets.SCRIPTS_DELIVERY_PS_GIT_URL }} script-delivery-ps - - - name: Execute increment script - shell: bash - run: ./script-delivery-ps/setup/increment/increment.ps1 - - - name: Execute prerequisites script - shell: bash - run: ./script-delivery-ps/setup/prereqs/prereqs.ps1 - - - name: Cache intermediate data - uses: actions/cache@v3 - with: - path: | - script-delivery-ps - component*.json - key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - - # Authoring job - authoring: - needs: setup - runs-on: ubuntu-20.04 - - steps: - - name: Checkout source code - uses: actions/checkout@main - - - name: Get cached intermediate data - uses: actions/cache@v3 - with: - path: | - script-delivery-ps - component*.json - key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - - - name: Execute build script - shell: bash - run: script-delivery-ps/authoring/build/build.ps1 - - - name: Execute test script - shell: bash - run: ./script-delivery-ps/authoring/test/test.ps1 - - - name: Execute package script - shell: bash - run: ./script-delivery-ps/authoring/package/package.ps1 - - - name: Execute publish script - shell: bash - run: ./script-delivery-ps/authoring/publish/publish.ps1 - - - name: Execute tag script - shell: bash - run: ./script-delivery-ps/authoring/tag/tag.ps1 - - - name: Execute clean script - if: always() - shell: bash - run: ./script-delivery-ps/authoring/clean/clean.ps1 - - # Measure job - measure: - needs: authoring - if: always() - runs-on: ubuntu-20.04 - - steps: - - name: Get cached intermediate data - uses: actions/cache@v3 - with: - path: | - script-delivery-ps - component*.json - key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - - - name: Execute measure script - env: - name: $(echo '${{ github.repository }}' | awk -F '/' '{print $2}') - run: ./script-delivery-ps/measure/measure.ps1 ${{ github.repository_owner }} ${{ env.name }} ${{ secrets.AWS_ACCESS_KEY_ID }} ${{ secrets.AWS_SECRET_ACCESS_KEY }} ${{ secrets.AWS_S3_BUCKET }} ${{ secrets.GITHUB_TOKEN }} - shell: bash diff --git a/pip-services4-prometheus-go/LICENSE b/pip-services4-prometheus-go/LICENSE index 1ad5686..ded06b8 100644 --- a/pip-services4-prometheus-go/LICENSE +++ b/pip-services4-prometheus-go/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2020 pip-services3-go +Copyright (c) 2020 pip-services4-go Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/pip-services4-prometheus-go/component.json b/pip-services4-prometheus-go/component.json index 6e0f2d0..1ce0d8d 100644 --- a/pip-services4-prometheus-go/component.json +++ b/pip-services4-prometheus-go/component.json @@ -4,7 +4,7 @@ "language": "go", "version": "0.0.1", "build": 0, - "registry": "pipdevs", + "registry": "pipservices", "artifacts": [ ] } \ No newline at end of file diff --git a/pip-services4-prometheus-go/docker/Dockerfile.docs b/pip-services4-prometheus-go/docker/Dockerfile.docs index 33f849b..820f24c 100644 --- a/pip-services4-prometheus-go/docker/Dockerfile.docs +++ b/pip-services4-prometheus-go/docker/Dockerfile.docs @@ -2,7 +2,7 @@ FROM golang:1.20 # Set environment variables for Go ENV GO111MODULE=on \ - GOPRIVATE=github.com/pip-services3-gox/* + GOPRIVATE=github.com/pip-services4-go/* WORKDIR /app diff --git a/pip-services4-rabbitmq-go/.github/workflows/github-ci.yml b/pip-services4-rabbitmq-go/.github/workflows/github-ci.yml deleted file mode 100644 index 7927944..0000000 --- a/pip-services4-rabbitmq-go/.github/workflows/github-ci.yml +++ /dev/null @@ -1,103 +0,0 @@ -name: Pip.Services RabbitMQ Gox Delivery - -# Configure trigger rules -on: - push: - paths: - - '**' - - '!README.md' - -jobs: - # Setup job - setup: - runs-on: ubuntu-20.04 - if: "!contains(github.event.head_commit.message, '[skip-ci]')" - - steps: - - name: Checkout source code - uses: actions/checkout@main - - - name: Pull delivery scripts - shell: bash - run: | - rm -rf script-delivery-ps - git clone ${{ secrets.SCRIPTS_DELIVERY_PS_GIT_URL }} script-delivery-ps - - - name: Execute increment script - shell: bash - run: ./script-delivery-ps/setup/increment/increment.ps1 - - - name: Execute prerequisites script - shell: bash - run: ./script-delivery-ps/setup/prereqs/prereqs.ps1 - - - name: Cache intermediate data - uses: actions/cache@v3 - with: - path: | - script-delivery-ps - component*.json - key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - - # Authoring job - authoring: - needs: setup - runs-on: ubuntu-20.04 - - steps: - - name: Checkout source code - uses: actions/checkout@main - - - name: Get cached intermediate data - uses: actions/cache@v3 - with: - path: | - script-delivery-ps - component*.json - key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - - - name: Execute build script - shell: bash - run: script-delivery-ps/authoring/build/build.ps1 - - - name: Execute test script - shell: bash - run: ./script-delivery-ps/authoring/test/test.ps1 - - - name: Execute package script - shell: bash - run: ./script-delivery-ps/authoring/package/package.ps1 - - - name: Execute publish script - shell: bash - run: ./script-delivery-ps/authoring/publish/publish.ps1 - - - name: Execute tag script - shell: bash - run: ./script-delivery-ps/authoring/tag/tag.ps1 - - - name: Execute clean script - if: always() - shell: bash - run: ./script-delivery-ps/authoring/clean/clean.ps1 - - # Measure job - measure: - needs: authoring - if: always() - runs-on: ubuntu-20.04 - - steps: - - name: Get cached intermediate data - uses: actions/cache@v3 - with: - path: | - script-delivery-ps - component*.json - key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - - - name: Execute measure script - env: - name: $(echo '${{ github.repository }}' | awk -F '/' '{print $2}') - run: ./script-delivery-ps/measure/measure.ps1 ${{ github.repository_owner }} ${{ env.name }} ${{ secrets.AWS_ACCESS_KEY_ID }} ${{ secrets.AWS_SECRET_ACCESS_KEY }} ${{ secrets.AWS_S3_BUCKET }} ${{ secrets.GITHUB_TOKEN }} - shell: bash diff --git a/pip-services4-rabbitmq-go/LICENSE b/pip-services4-rabbitmq-go/LICENSE index 715357c..aa653d3 100644 --- a/pip-services4-rabbitmq-go/LICENSE +++ b/pip-services4-rabbitmq-go/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2022 pip-services3-gox +Copyright (c) 2022 pip-services4-go Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/pip-services4-rabbitmq-go/component.json b/pip-services4-rabbitmq-go/component.json index bbc737f..ed96fe0 100644 --- a/pip-services4-rabbitmq-go/component.json +++ b/pip-services4-rabbitmq-go/component.json @@ -4,7 +4,7 @@ "language": "go", "version": "0.0.1", "build": 0, - "registry": "pipdevs", + "registry": "pipservices", "artifacts": [ ] } \ No newline at end of file diff --git a/pip-services4-rabbitmq-go/docker/Dockerfile.docs b/pip-services4-rabbitmq-go/docker/Dockerfile.docs index 7c81199..dd5d698 100644 --- a/pip-services4-rabbitmq-go/docker/Dockerfile.docs +++ b/pip-services4-rabbitmq-go/docker/Dockerfile.docs @@ -2,7 +2,7 @@ FROM golang:1.20 # Set environment variables for Go ENV GO111MODULE=on \ - GOPRIVATE=github.com/pip-services3-gox/* + GOPRIVATE=github.com/pip-services4-go/* WORKDIR /app diff --git a/pip-services4-redis-go/.github/workflows/github-ci.yml b/pip-services4-redis-go/.github/workflows/github-ci.yml deleted file mode 100644 index 7c4709c..0000000 --- a/pip-services4-redis-go/.github/workflows/github-ci.yml +++ /dev/null @@ -1,103 +0,0 @@ -name: Pip.Services Redis Gox Delivery - -# Configure trigger rules -on: - push: - paths: - - '**' - - '!README.md' - -jobs: - # Setup job - setup: - runs-on: ubuntu-20.04 - if: "!contains(github.event.head_commit.message, '[skip-ci]')" - - steps: - - name: Checkout source code - uses: actions/checkout@main - - - name: Pull delivery scripts - shell: bash - run: | - rm -rf script-delivery-ps - git clone ${{ secrets.SCRIPTS_DELIVERY_PS_GIT_URL }} script-delivery-ps - - - name: Execute increment script - shell: bash - run: ./script-delivery-ps/setup/increment/increment.ps1 - - - name: Execute prerequisites script - shell: bash - run: ./script-delivery-ps/setup/prereqs/prereqs.ps1 - - - name: Cache intermediate data - uses: actions/cache@v3 - with: - path: | - script-delivery-ps - component*.json - key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - - # Authoring job - authoring: - needs: setup - runs-on: ubuntu-20.04 - - steps: - - name: Checkout source code - uses: actions/checkout@main - - - name: Get cached intermediate data - uses: actions/cache@v3 - with: - path: | - script-delivery-ps - component*.json - key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - - - name: Execute build script - shell: bash - run: script-delivery-ps/authoring/build/build.ps1 - - - name: Execute test script - shell: bash - run: ./script-delivery-ps/authoring/test/test.ps1 - - - name: Execute package script - shell: bash - run: ./script-delivery-ps/authoring/package/package.ps1 - - - name: Execute publish script - shell: bash - run: ./script-delivery-ps/authoring/publish/publish.ps1 - - - name: Execute tag script - shell: bash - run: ./script-delivery-ps/authoring/tag/tag.ps1 - - - name: Execute clean script - if: always() - shell: bash - run: ./script-delivery-ps/authoring/clean/clean.ps1 - - # Measure job - measure: - needs: authoring - if: always() - runs-on: ubuntu-20.04 - - steps: - - name: Get cached intermediate data - uses: actions/cache@v3 - with: - path: | - script-delivery-ps - component*.json - key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - - - name: Execute measure script - env: - name: $(echo '${{ github.repository }}' | awk -F '/' '{print $2}') - run: ./script-delivery-ps/measure/measure.ps1 ${{ github.repository_owner }} ${{ env.name }} ${{ secrets.AWS_ACCESS_KEY_ID }} ${{ secrets.AWS_SECRET_ACCESS_KEY }} ${{ secrets.AWS_S3_BUCKET }} ${{ secrets.GITHUB_TOKEN }} - shell: bash diff --git a/pip-services4-redis-go/component.json b/pip-services4-redis-go/component.json index dc840ce..1608015 100644 --- a/pip-services4-redis-go/component.json +++ b/pip-services4-redis-go/component.json @@ -4,7 +4,7 @@ "language": "go", "version": "0.0.1", "build": 0, - "registry": "pipdevs", + "registry": "pipservices", "artifacts": [ ] } \ No newline at end of file diff --git a/pip-services4-rpc-go/component.json b/pip-services4-rpc-go/component.json index 25757eb..80c6e54 100644 --- a/pip-services4-rpc-go/component.json +++ b/pip-services4-rpc-go/component.json @@ -4,7 +4,7 @@ "language": "go", "version": "0.0.1", "build": 0, - "registry": "pipdevs", + "registry": "pipservices", "artifacts": [ ] } \ No newline at end of file diff --git a/pip-services4-sqlite-go/.github/workflows/github-ci.yml b/pip-services4-sqlite-go/.github/workflows/github-ci.yml deleted file mode 100644 index 99b8ebb..0000000 --- a/pip-services4-sqlite-go/.github/workflows/github-ci.yml +++ /dev/null @@ -1,103 +0,0 @@ -name: Pip.Services SQLite Gox Delivery - -# Configure trigger rules -on: - push: - paths: - - '**' - - '!README.md' - -jobs: - # Setup job - setup: - runs-on: ubuntu-20.04 - if: "!contains(github.event.head_commit.message, '[skip-ci]')" - - steps: - - name: Checkout source code - uses: actions/checkout@main - - - name: Pull delivery scripts - shell: bash - run: | - rm -rf script-delivery-ps - git clone ${{ secrets.SCRIPTS_DELIVERY_PS_GIT_URL }} script-delivery-ps - - - name: Execute increment script - shell: bash - run: ./script-delivery-ps/setup/increment/increment.ps1 - - - name: Execute prerequisites script - shell: bash - run: ./script-delivery-ps/setup/prereqs/prereqs.ps1 - - - name: Cache intermediate data - uses: actions/cache@v3 - with: - path: | - script-delivery-ps - component*.json - key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - - # Authoring job - authoring: - needs: setup - runs-on: ubuntu-20.04 - - steps: - - name: Checkout source code - uses: actions/checkout@main - - - name: Get cached intermediate data - uses: actions/cache@v3 - with: - path: | - script-delivery-ps - component*.json - key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - - - name: Execute build script - shell: bash - run: script-delivery-ps/authoring/build/build.ps1 - - - name: Execute test script - shell: bash - run: ./script-delivery-ps/authoring/test/test.ps1 - - - name: Execute package script - shell: bash - run: ./script-delivery-ps/authoring/package/package.ps1 - - - name: Execute publish script - shell: bash - run: ./script-delivery-ps/authoring/publish/publish.ps1 - - - name: Execute tag script - shell: bash - run: ./script-delivery-ps/authoring/tag/tag.ps1 - - - name: Execute clean script - if: always() - shell: bash - run: ./script-delivery-ps/authoring/clean/clean.ps1 - - # Measure job - measure: - needs: authoring - if: always() - runs-on: ubuntu-20.04 - - steps: - - name: Get cached intermediate data - uses: actions/cache@v3 - with: - path: | - script-delivery-ps - component*.json - key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - - - name: Execute measure script - env: - name: $(echo '${{ github.repository }}' | awk -F '/' '{print $2}') - run: ./script-delivery-ps/measure/measure.ps1 ${{ github.repository_owner }} ${{ env.name }} ${{ secrets.AWS_ACCESS_KEY_ID }} ${{ secrets.AWS_SECRET_ACCESS_KEY }} ${{ secrets.AWS_S3_BUCKET }} ${{ secrets.GITHUB_TOKEN }} - shell: bash diff --git a/pip-services4-sqlite-go/component.json b/pip-services4-sqlite-go/component.json index d415d37..29947c8 100644 --- a/pip-services4-sqlite-go/component.json +++ b/pip-services4-sqlite-go/component.json @@ -4,6 +4,6 @@ "language": "go", "version": "0.0.1", "build": 0, - "registry": "pipdevs", + "registry": "pipservices", "artifacts": [] } \ No newline at end of file diff --git a/pip-services4-sqlite-go/docker/Dockerfile.docs b/pip-services4-sqlite-go/docker/Dockerfile.docs index 33f849b..820f24c 100644 --- a/pip-services4-sqlite-go/docker/Dockerfile.docs +++ b/pip-services4-sqlite-go/docker/Dockerfile.docs @@ -2,7 +2,7 @@ FROM golang:1.20 # Set environment variables for Go ENV GO111MODULE=on \ - GOPRIVATE=github.com/pip-services3-gox/* + GOPRIVATE=github.com/pip-services4-go/* WORKDIR /app diff --git a/pip-services4-sqlserver-go/.github/workflows/github-ci.yml b/pip-services4-sqlserver-go/.github/workflows/github-ci.yml deleted file mode 100644 index 83b9658..0000000 --- a/pip-services4-sqlserver-go/.github/workflows/github-ci.yml +++ /dev/null @@ -1,103 +0,0 @@ -name: Pip.Services SqlServer Gox Delivery - -# Configure trigger rules -on: - push: - paths: - - '**' - - '!README.md' - -jobs: - # Setup job - setup: - runs-on: ubuntu-20.04 - if: "!contains(github.event.head_commit.message, '[skip-ci]')" - - steps: - - name: Checkout source code - uses: actions/checkout@main - - - name: Pull delivery scripts - shell: bash - run: | - rm -rf script-delivery-ps - git clone ${{ secrets.SCRIPTS_DELIVERY_PS_GIT_URL }} script-delivery-ps - - - name: Execute increment script - shell: bash - run: ./script-delivery-ps/setup/increment/increment.ps1 - - - name: Execute prerequisites script - shell: bash - run: ./script-delivery-ps/setup/prereqs/prereqs.ps1 - - - name: Cache intermediate data - uses: actions/cache@v3 - with: - path: | - script-delivery-ps - component*.json - key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - - # Authoring job - authoring: - needs: setup - runs-on: ubuntu-20.04 - - steps: - - name: Checkout source code - uses: actions/checkout@main - - - name: Get cached intermediate data - uses: actions/cache@v3 - with: - path: | - script-delivery-ps - component*.json - key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - - - name: Execute build script - shell: bash - run: script-delivery-ps/authoring/build/build.ps1 - - - name: Execute test script - shell: bash - run: ./script-delivery-ps/authoring/test/test.ps1 - - - name: Execute package script - shell: bash - run: ./script-delivery-ps/authoring/package/package.ps1 - - - name: Execute publish script - shell: bash - run: ./script-delivery-ps/authoring/publish/publish.ps1 - - - name: Execute tag script - shell: bash - run: ./script-delivery-ps/authoring/tag/tag.ps1 - - - name: Execute clean script - if: always() - shell: bash - run: ./script-delivery-ps/authoring/clean/clean.ps1 - - # Measure job - measure: - needs: authoring - if: always() - runs-on: ubuntu-20.04 - - steps: - - name: Get cached intermediate data - uses: actions/cache@v3 - with: - path: | - script-delivery-ps - component*.json - key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - - - name: Execute measure script - env: - name: $(echo '${{ github.repository }}' | awk -F '/' '{print $2}') - run: ./script-delivery-ps/measure/measure.ps1 ${{ github.repository_owner }} ${{ env.name }} ${{ secrets.AWS_ACCESS_KEY_ID }} ${{ secrets.AWS_SECRET_ACCESS_KEY }} ${{ secrets.AWS_S3_BUCKET }} ${{ secrets.GITHUB_TOKEN }} - shell: bash diff --git a/pip-services4-sqlserver-go/LICENSE b/pip-services4-sqlserver-go/LICENSE index 715357c..aa653d3 100644 --- a/pip-services4-sqlserver-go/LICENSE +++ b/pip-services4-sqlserver-go/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2022 pip-services3-gox +Copyright (c) 2022 pip-services4-go Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/pip-services4-sqlserver-go/component.json b/pip-services4-sqlserver-go/component.json index 3623574..a12b736 100644 --- a/pip-services4-sqlserver-go/component.json +++ b/pip-services4-sqlserver-go/component.json @@ -1,10 +1,10 @@ { - "name": "pip-services3-sqlserver-gox", + "name": "pip-services4-sqlserver-go", "type": "module", "language": "go", "version": "1.0.0", "build": 0, - "registry": "pipdevs", + "registry": "pipservices", "artifacts": [ ] } \ No newline at end of file diff --git a/pip-services4-sqlserver-go/docker/Dockerfile.docs b/pip-services4-sqlserver-go/docker/Dockerfile.docs index 9105c37..8ecabec 100644 --- a/pip-services4-sqlserver-go/docker/Dockerfile.docs +++ b/pip-services4-sqlserver-go/docker/Dockerfile.docs @@ -2,7 +2,7 @@ FROM golang:1.20 # Set environment variables for Go ENV GO111MODULE=on \ - GOPRIVATE=github.com/pip-services3-gox/* + GOPRIVATE=github.com/pip-services4-go/* WORKDIR /app diff --git a/pip-services4-swagger-go/.github/workflows/github-ci.yml b/pip-services4-swagger-go/.github/workflows/github-ci.yml deleted file mode 100644 index 431f65e..0000000 --- a/pip-services4-swagger-go/.github/workflows/github-ci.yml +++ /dev/null @@ -1,103 +0,0 @@ -name: Pip.Services Swagger Gox Delivery - -# Configure trigger rules -on: - push: - paths: - - '**' - - '!README.md' - -jobs: - # Setup job - setup: - runs-on: ubuntu-20.04 - if: "!contains(github.event.head_commit.message, '[skip-ci]')" - - steps: - - name: Checkout source code - uses: actions/checkout@main - - - name: Pull delivery scripts - shell: bash - run: | - rm -rf script-delivery-ps - git clone ${{ secrets.SCRIPTS_DELIVERY_PS_GIT_URL }} script-delivery-ps - - - name: Execute increment script - shell: bash - run: ./script-delivery-ps/setup/increment/increment.ps1 - - - name: Execute prerequisites script - shell: bash - run: ./script-delivery-ps/setup/prereqs/prereqs.ps1 - - - name: Cache intermediate data - uses: actions/cache@v3 - with: - path: | - script-delivery-ps - component*.json - key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - - # Authoring job - authoring: - needs: setup - runs-on: ubuntu-20.04 - - steps: - - name: Checkout source code - uses: actions/checkout@main - - - name: Get cached intermediate data - uses: actions/cache@v3 - with: - path: | - script-delivery-ps - component*.json - key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - - - name: Execute build script - shell: bash - run: script-delivery-ps/authoring/build/build.ps1 - - - name: Execute test script - shell: bash - run: ./script-delivery-ps/authoring/test/test.ps1 - - - name: Execute package script - shell: bash - run: ./script-delivery-ps/authoring/package/package.ps1 - - - name: Execute publish script - shell: bash - run: ./script-delivery-ps/authoring/publish/publish.ps1 - - - name: Execute tag script - shell: bash - run: ./script-delivery-ps/authoring/tag/tag.ps1 - - - name: Execute clean script - if: always() - shell: bash - run: ./script-delivery-ps/authoring/clean/clean.ps1 - - # Measure job - measure: - needs: authoring - if: always() - runs-on: ubuntu-20.04 - - steps: - - name: Get cached intermediate data - uses: actions/cache@v3 - with: - path: | - script-delivery-ps - component*.json - key: delivery-${{ github.run_id }}-${{ github.run_attempt }} - - - name: Execute measure script - env: - name: $(echo '${{ github.repository }}' | awk -F '/' '{print $2}') - run: ./script-delivery-ps/measure/measure.ps1 ${{ github.repository_owner }} ${{ env.name }} ${{ secrets.AWS_ACCESS_KEY_ID }} ${{ secrets.AWS_SECRET_ACCESS_KEY }} ${{ secrets.AWS_S3_BUCKET }} ${{ secrets.GITHUB_TOKEN }} - shell: bash diff --git a/pip-services4-swagger-go/README.md b/pip-services4-swagger-go/README.md index 1bcb6e7..7a62e81 100644 --- a/pip-services4-swagger-go/README.md +++ b/pip-services4-swagger-go/README.md @@ -122,7 +122,7 @@ Finally, remember to add factories to your container, to allow it creating requi ```golang ... import ( - cproc "github.com/pip-services3-gox/pip-services3-container-gox/container" + cproc "github.com/pip-services4-go/pip-services4-container-go/container" hbuild "github.com/pip-services4/pip-services4-go/pip-services4-http-go/build" sbuild "github.com/pip-services4/pip-services4-go/pip-services4-swagger-go/build" ... diff --git a/pip-services4-swagger-go/component.json b/pip-services4-swagger-go/component.json index 86bdfa8..063842f 100644 --- a/pip-services4-swagger-go/component.json +++ b/pip-services4-swagger-go/component.json @@ -4,7 +4,7 @@ "language": "go", "version": "1.0.0", "build": 0, - "registry": "pipdevs", + "registry": "pipservices", "artifacts": [ ] } \ No newline at end of file