Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #112

Merged
merged 9 commits into from
Oct 25, 2024
Merged

Dev #112

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions .github/workflows/docker-build-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
run: |
MERGED_BRANCH=$(git log --merges --pretty=format:"%s" -1 | grep -oE 'from bcgov/[^ ]+' | sed 's/from bcgov\///')
if [ -z "$MERGED_BRANCH" ]; then
echo "Direct push not a pull request from bcgov/branch"
echo "Direct push no pull request from bcgov/branch"
echo "MERGED_BRANCH=push" >> $GITHUB_OUTPUT
else
echo "Merged branch: $MERGED_BRANCH"
Expand All @@ -91,8 +91,12 @@ jobs:
- name: Set repository version variables
id: set_version
run: |
gh variable set UGM_BUILD_REVISION --env ${{env.TARGET_ENV}} --body "${{needs.Branch.outputs.SHA_SHORT}}}"
gh variable list --env ${{env.TARGET_ENV}}
gh variable set UGM_BUILD_REVISION --env ${{env.TARGET_ENV}} --body "${{needs.Branch.outputs.SHA_SHORT}}"
echo "UGM_BUILD_REVISION=${{needs.Branch.outputs.SHA_SHORT}}" >> $GITHUB_ENV
- name: Get repository version variables
id: get_version
run: |
gh variable list --env dev
echo "..."
echo "buildArgs --env ${{env.TARGET_ENV}} UNITY_BUILD_VERSION: ${{env.UGM_BUILD_VERSION}}, UNITY_BUILD_REVISION: ${{env.UGM_BUILD_REVISION}}, Merged Branch: ${{needs.Branch.outputs.MERGED_BRANCH}}"
Build:
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/docker-build-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ jobs:
run: |
MERGED_BRANCH=$(git log --merges --pretty=format:"%s" -1 | grep -oE 'from bcgov/[^ ]+' | sed 's/from bcgov\///')
if [ -z "$MERGED_BRANCH" ]; then
echo "direct push not a pull request from bcgov/branch"
echo "MERGED_BRANCH='push'" >> $GITHUB_OUTPUT
echo "Direct push no pull request from bcgov/branch"
echo "MERGED_BRANCH=push" >> $GITHUB_OUTPUT
else
echo "Merged branch: $MERGED_BRANCH"
echo "MERGED_BRANCH=$MERGED_BRANCH" >> $GITHUB_OUTPUT
Expand Down Expand Up @@ -130,10 +130,13 @@ jobs:
- name: Set repository version variable
id: set_version
run: |
gh variable list --env ${{env.TARGET_ENV}}
echo "..."
gh variable set UGM_BUILD_REVISION --env ${{env.TARGET_ENV}} --body "${{needs.Branch.outputs.SHA_SHORT}}"
echo "UGM_BUILD_REVISION=${{needs.Branch.outputs.SHA_SHORT}}" >> $GITHUB_ENV
gh variable set UGM_BUILD_VERSION --env ${{env.TARGET_ENV}} --body "${{needs.GenerateTag.outputs.TAGVERSION}}"
echo "UGM_BUILD_VERSION=${{needs.GenerateTag.outputs.TAGVERSION}}" >> $GITHUB_ENV
- name: Get repository version variables
id: get_version
run: |
gh variable list --env ${{env.TARGET_ENV}}
echo "..."
echo "buildArgs --env ${{env.TARGET_ENV}} UNITY_BUILD_VERSION: ${{env.UGM_BUILD_VERSION}}, UNITY_BUILD_REVISION: ${{env.UGM_BUILD_REVISION}}, Merged Branch: ${{needs.Branch.outputs.MERGED_BRANCH}}"
Expand Down
20 changes: 11 additions & 9 deletions .github/workflows/docker-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ jobs:
run: |
MERGED_BRANCH=$(git log --merges --pretty=format:"%s" -1 | grep -oE 'from bcgov/[^ ]+' | sed 's/from bcgov\///')
if [ -z "$MERGED_BRANCH" ]; then
echo "direct push not a pull request from bcgov/branch"
echo "MERGED_BRANCH='push'" >> $GITHUB_OUTPUT
echo "Direct push no pull request from bcgov/branch"
echo "MERGED_BRANCH=push" >> $GITHUB_OUTPUT
else
echo "Merged branch: $MERGED_BRANCH"
echo "MERGED_BRANCH=$MERGED_BRANCH" >> $GITHUB_OUTPUT
Expand Down Expand Up @@ -129,20 +129,22 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: '0'
- name: Set repository version variable
- name: Set repository version variables
id: set_version
run: |
gh variable list --env ${{env.TARGET_ENV}}
echo "..."
gh variable set UGM_BUILD_REVISION --env ${{env.TARGET_ENV}} --body "${{needs.Branch.outputs.SHA_SHORT}}"
echo "UGM_BUILD_REVISION=${{needs.Branch.outputs.SHA_SHORT}}" >> $GITHUB_ENV
gh variable set UGM_BUILD_VERSION --env ${{env.TARGET_ENV}} --body "${{needs.GenerateTag.outputs.TAGVERSION}}"
gh variable list --env ${{env.TARGET_ENV}}
echo "..."
# Update other environments version elements
echo "UGM_BUILD_VERSION=${{needs.GenerateTag.outputs.TAGVERSION}}" >> $GITHUB_ENV
gh variable set UGM_BUILD_VERSION --env dev --body "${{needs.GenerateTag.outputs.TAGVERSION}}"
gh variable set UGM_BUILD_VERSION --env main --body "${{needs.GenerateTag.outputs.TAGVERSION}}"
- name: Get repository version variables
id: get_version
run: |
gh variable list --env dev
echo "..."
gh variable set UGM_BUILD_VERSION --env main --body "${{needs.GenerateTag.outputs.TAGVERSION}}"
gh variable list --env test
echo "..."
gh variable list --env main
echo "..."
echo "buildArgs --env ${{env.TARGET_ENV}} UNITY_BUILD_VERSION: ${{env.UGM_BUILD_VERSION}}, UNITY_BUILD_REVISION: ${{env.UGM_BUILD_REVISION}}, Merged Branch: ${{needs.Branch.outputs.MERGED_BRANCH}}"
Expand Down
10 changes: 1 addition & 9 deletions applications/scripts/datafix-ab#001.sql
Original file line number Diff line number Diff line change
@@ -1,9 +1 @@
test1
test2
test3
test4
test5
test6
test7
test8
test9
test 8.5
10 changes: 0 additions & 10 deletions applications/scripts/datafix-ab#002.sql

This file was deleted.

9 changes: 0 additions & 9 deletions applications/scripts/datafix-ab#003.sql

This file was deleted.

9 changes: 0 additions & 9 deletions applications/scripts/datafix-ab#004.sql

This file was deleted.

6 changes: 0 additions & 6 deletions applications/scripts/datafix-ab#005.sql

This file was deleted.

7 changes: 0 additions & 7 deletions applications/scripts/datafix-ab#007.sql

This file was deleted.

3 changes: 0 additions & 3 deletions applications/scripts/datafix-ab#008.sql

This file was deleted.