Skip to content

Commit

Permalink
test 4.5
Browse files Browse the repository at this point in the history
  • Loading branch information
DarylTodosichuk committed Oct 23, 2024
1 parent 02095ea commit 9e89a54
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/docker-build-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
environment: dev
environment: ${{env.TARGET_ENV}}
steps:
# Runs commands using the runners shell
- name: Get variables
Expand All @@ -51,11 +51,12 @@ jobs:
echo "Environment: $TARGET_ENV OC_TARGET_PROJECT=$OC_TARGET_PROJECT"
echo "Environment: $TARGET_ENV JFROG_REPO_PATH=$JFROG_REPO_PATH"
echo "..."
gh variable list --env ${{env.TARGET_ENV}}
env | sort
GenerateTag:
needs: [Setup]
runs-on: ubuntu-latest
environment: dev
environment: ${{env.TARGET_ENV}}
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -71,7 +72,7 @@ jobs:
MAJOR_VERSION=$(echo "${{env.UGM_BUILD_VERSION}}" | grep -oE '^[0-9]+')
MINOR_VERSION=$(echo "${{env.UGM_BUILD_VERSION}}" | grep -oE '\.[0-9]+\.' | grep -oE '[0-9]+')
VERSION_PATCH=$(echo "${{env.UGM_BUILD_VERSION}}" | grep -oE '[0-9]+$')
# Increment Version
# Increment version elements
echo "${{env.UGM_RELEASE_PREFIX}}$MAJOR_VERSION.$MINOR_VERSION.$VERSION_PATCH"
VERSION_PATCH=$((VERSION_PATCH + 1))
echo "${{env.UGM_RELEASE_PREFIX}}$MAJOR_VERSION.$MINOR_VERSION.$VERSION_PATCH"
Expand All @@ -88,13 +89,13 @@ jobs:
- name: Set repository version variable
id: setversion
run: |
gh variable list --env dev
gh variable set UGM_BUILD_VERSION --env dev --body "${{steps.tag-selector.outputs.tagversion}}"
gh variable list --env dev
gh variable list --env ${{env.TARGET_ENV}}
gh variable set UGM_BUILD_VERSION --env ${{env.TARGET_ENV}} --body "${{steps.tag-selector.outputs.tagversion}}"
gh variable list --env ${{env.TARGET_ENV}}
Build:
needs: [Setup,GenerateTag]
runs-on: ubuntu-latest
environment: dev
environment: ${{env.TARGET_ENV}}
steps:
- uses: actions/checkout@v4
- name: Build dotnetapp docker images
Expand Down
3 changes: 2 additions & 1 deletion applications/scripts/datafix-ab#004.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
test1
test2
test3
test4
test4
test5

0 comments on commit 9e89a54

Please sign in to comment.