From 213e70a6c747020c33e61abdbcfc893cd20469de Mon Sep 17 00:00:00 2001 From: Werner Van Geit Date: Fri, 1 Nov 2024 11:17:51 +0100 Subject: [PATCH] Testing autodeploy --- .github/workflows/deploy.yml | 29 +++++++++++++++++++++++++++++ .github/workflows/test.yml | 6 +----- docker-compose-local.yml | 3 --- 3 files changed, 30 insertions(+), 8 deletions(-) create mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..8fa955a --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,29 @@ +on: + push: + branches: + - master + + +jobs: + call-test-workflow: + uses: wvangeit/osparc-meta-parallelrunner/.github/workflows/test.yml@master + newversion: + name: make new version + runs-on: ubuntu-latest + needs: + call-test-workflow + permissions: + contents: write + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: 3.11 + # - name: Install dependencies + # run: python -m pip install --upgrade pip setuptools build + - name: Make new version + run: + make version-path diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9ee937e..9afdbac 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,11 +2,8 @@ name: Test on: pull_request: - push: - branches: - - master workflow_call: - + jobs: test: name: Test for python ${{ matrix.python-version }} on ${{ matrix.os }} @@ -31,4 +28,3 @@ jobs: run: make build - name: Make run-local run: make run-local - diff --git a/docker-compose-local.yml b/docker-compose-local.yml index 7e7a075..d89c874 100755 --- a/docker-compose-local.yml +++ b/docker-compose-local.yml @@ -8,9 +8,6 @@ services: - DY_SIDECAR_PATH_OUTPUTS=/tmp/outputs - DY_BOOT_OPTION_BOOT_MODE=0 - DY_SIDECAR_PATH=/home/osparcuser/work/workspace - - OSPARC_API_HOST=10.43.103.149.nip.io:8006 - - OSPARC_API_KEY=test_T1QyAxKBUX - - OSPARC_API_SECRET=0dsHA6zdYDNEtwNKsXZHBQq8eHuPbd volumes: - /tmp/.X11-unix:/tmp/.X11-unix - ${PWD}/validation-tmp/workspace:/home/osparcuser/work/workspace