From 7a5869c4c13a32a694329346ff9434c1541b68a8 Mon Sep 17 00:00:00 2001 From: Ryan Greer <57278424+doublergreer@users.noreply.github.com> Date: Fri, 19 Jul 2024 13:52:05 -0600 Subject: [PATCH 1/7] Create build-test.yml --- .github/workflows/build-test.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/build-test.yml diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml new file mode 100644 index 0000000..d9896ce --- /dev/null +++ b/.github/workflows/build-test.yml @@ -0,0 +1,21 @@ +name: Build Latest Docker Image + +defaults: + run: + working-directory: ./apps/server + +on: + pull_request: + types: [opened, synchronize, reopened, closed] + branches: + - final + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Build the Docker image + run: | + docker build -t synbiosuite/seqimprove-api:latest . From 0c28ff205f4b9f4f19071c2ed370de9756892051 Mon Sep 17 00:00:00 2001 From: Ryan Greer <57278424+doublergreer@users.noreply.github.com> Date: Fri, 19 Jul 2024 13:57:40 -0600 Subject: [PATCH 2/7] Update docker-image.yml --- .github/workflows/docker-image.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index af42d63..f6e2017 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -1,4 +1,4 @@ -name: Docker Image CI +name: Deploy Docker Image CI defaults: run: @@ -6,9 +6,8 @@ defaults: on: push: - branches: [ "main" ] - pull_request: - branches: [ "main" ] + branches: [ final ] + workflow_dispatch: jobs: build: From 434bb3e37206fab9af3f0d5eafa00500f8311cbf Mon Sep 17 00:00:00 2001 From: Ryan Greer <57278424+doublergreer@users.noreply.github.com> Date: Fri, 19 Jul 2024 14:20:30 -0600 Subject: [PATCH 3/7] Update azure-static-web-apps-gentle-desert-078448010.yml only deploys on merge --- .../azure-static-web-apps-gentle-desert-078448010.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/azure-static-web-apps-gentle-desert-078448010.yml b/.github/workflows/azure-static-web-apps-gentle-desert-078448010.yml index 1129c22..482606c 100644 --- a/.github/workflows/azure-static-web-apps-gentle-desert-078448010.yml +++ b/.github/workflows/azure-static-web-apps-gentle-desert-078448010.yml @@ -5,12 +5,7 @@ env: on: push: - branches: - - main - pull_request: - types: [opened, synchronize, reopened, closed] - branches: - - main + branches: [ final ] jobs: build_and_deploy_job: From 9e8b10012cae6b699e9ec00e9c2fcf3127127eac Mon Sep 17 00:00:00 2001 From: Ryan Greer <57278424+doublergreer@users.noreply.github.com> Date: Fri, 19 Jul 2024 14:45:43 -0600 Subject: [PATCH 4/7] Update build-test.yml --- .github/workflows/build-test.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index d9896ce..380356f 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -5,10 +5,10 @@ defaults: working-directory: ./apps/server on: - pull_request: - types: [opened, synchronize, reopened, closed] - branches: - - final + pull_request: + types: [opened, synchronize, reopened, closed] + branches: + - final jobs: build: From 7699eb883d0bcb4f58a61e405199ed3495fe9fef Mon Sep 17 00:00:00 2001 From: Ryan Greer <57278424+doublergreer@users.noreply.github.com> Date: Fri, 19 Jul 2024 14:58:36 -0600 Subject: [PATCH 5/7] Update azure-static-web-apps-gentle-desert-078448010.yml --- .../workflows/azure-static-web-apps-gentle-desert-078448010.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/azure-static-web-apps-gentle-desert-078448010.yml b/.github/workflows/azure-static-web-apps-gentle-desert-078448010.yml index 482606c..550d2a5 100644 --- a/.github/workflows/azure-static-web-apps-gentle-desert-078448010.yml +++ b/.github/workflows/azure-static-web-apps-gentle-desert-078448010.yml @@ -5,7 +5,7 @@ env: on: push: - branches: [ final ] + branches: [ main ] jobs: build_and_deploy_job: From cbd32ca54a8c686f45a5f1850b1b0b83310183df Mon Sep 17 00:00:00 2001 From: Ryan Greer <57278424+doublergreer@users.noreply.github.com> Date: Fri, 19 Jul 2024 14:59:00 -0600 Subject: [PATCH 6/7] Update docker-image.yml --- .github/workflows/docker-image.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index f6e2017..c92bb0f 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -6,7 +6,7 @@ defaults: on: push: - branches: [ final ] + branches: [ main ] workflow_dispatch: jobs: From 2d7125aa92f9978c223ba4bdb66e3d69665a60e2 Mon Sep 17 00:00:00 2001 From: Ryan Greer <57278424+doublergreer@users.noreply.github.com> Date: Fri, 19 Jul 2024 14:59:29 -0600 Subject: [PATCH 7/7] Update build-test.yml --- .github/workflows/build-test.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 380356f..fdd7b17 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -6,9 +6,9 @@ defaults: on: pull_request: - types: [opened, synchronize, reopened, closed] - branches: - - final + types: [opened, synchronize, reopened, closed] + branches: + - main jobs: build: