-
Notifications
You must be signed in to change notification settings - Fork 1
Dev #134
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
Merged
Dev #134
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
ecf961c
update vite to 5.4.19
plarocque4 6dc313d
fix prettier issue
plarocque4 3715d7b
Merge pull request #127 from mcode/vite-update
plarocque4 bdd92e1
vite updates
smalho01 2cdb825
single quote
smalho01 5acffc6
run prettier
smalho01 4c3614b
Merge branch 'dev' into vite-config-updates
smalho01 e718f13
Merge pull request #128 from mcode/vite-config-updates
plarocque4 43553d5
update turalio to active package ndc code
smalho01 72e7b82
map ndc to rxnorm
smalho01 a059d52
prettier
smalho01 8b54c04
Merge pull request #129 from mcode/turalio-code-update
smalho01 e46db2a
Bump the npm_and_yarn group across 2 directories with 9 updates
dependabot[bot] 614d9f9
update pims to work with auth number to case number migration
smalho01 c0df031
Merge branch 'dev' into authNumber->caseNumber
smalho01 259bfe4
Merge branch 'dev' into ndc-rxnorm-mapping
plarocque4 6f7a2a4
merge with dev
plarocque4 0719c50
Merge pull request #131 from mcode/dependabot/npm_and_yarn/backend/np…
plarocque4 8e02d16
filter case number from pims
smalho01 eaa3176
Merge branch 'dev' into authNumber->caseNumber
smalho01 5374baf
run prettier
smalho01 942e1f2
update ci/cd
smalho01 6150f15
update ci/cd
smalho01 0842215
remove all instances of auth number
smalho01 0160eeb
run prettier
smalho01 cab52f2
Merge pull request #133 from mcode/auth-case-number
plarocque4 4a58825
Merge branch 'dev' into ndc-rxnorm-mapping
plarocque4 a185987
Merge pull request #130 from mcode/ndc-rxnorm-mapping
plarocque4 e58fed6
update vite config
smalho01 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,40 +2,40 @@ name: Docker Development Image CD | |
|
|
||
| on: | ||
| push: | ||
| branches: [ dev ] | ||
| branches: [dev] | ||
| workflow_dispatch: | ||
|
|
||
| jobs: | ||
| docker-cd: | ||
| docker-cd: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout Repository | ||
| uses: actions/checkout@v3 | ||
| with: | ||
| submodules: true | ||
| clean: true | ||
|
|
||
| - name: Checkout Repository | ||
| uses: actions/checkout@v3 | ||
| with: | ||
| submodules: true | ||
| - name: Setup Docker Buildx | ||
| uses: docker/setup-buildx-action@v2 | ||
|
|
||
| - name: Setup Docker Buildx | ||
| uses: docker/setup-buildx-action@v2 | ||
| - name: Docker meta data | ||
| id: docker-meta-data | ||
| uses: docker/metadata-action@v4 | ||
| with: | ||
| images: codexrems/pims | ||
| flavor: latest=false | ||
|
|
||
| - name: Docker meta data | ||
| id: docker-meta-data | ||
| uses: docker/metadata-action@v4 | ||
| with: | ||
| images: codexrems/pims | ||
| flavor: latest=false | ||
| - name: Log in to Docker Hub | ||
| uses: docker/login-action@v1 | ||
| with: | ||
| username: ${{ secrets.DOCKER_USERNAME }} | ||
| password: ${{ secrets.DOCKER_TOKEN }} | ||
|
|
||
| - name: Log in to Docker Hub | ||
| uses: docker/login-action@v1 | ||
| with: | ||
| username: ${{ secrets.DOCKER_USERNAME }} | ||
| password: ${{ secrets.DOCKER_TOKEN }} | ||
|
|
||
| - name: Build and push Server Docker image | ||
| uses: docker/build-push-action@v5 | ||
| with: | ||
| context: . | ||
| platforms: linux/amd64,linux/arm64 | ||
| push: true | ||
| tags: codexrems/pims:experimental | ||
| labels: ${{ steps.docker-meta-data.outputs.labels }} | ||
| - name: Build and push Server Docker image | ||
| uses: docker/build-push-action@v5 | ||
| with: | ||
| context: . | ||
| platforms: linux/amd64,linux/arm64 | ||
| push: true | ||
| tags: codexrems/pims:experimental | ||
| labels: ${{ steps.docker-meta-data.outputs.labels }} | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,40 +2,40 @@ name: Docker Image CD | |
|
|
||
| on: | ||
| push: | ||
| branches: [ main ] | ||
| branches: [main] | ||
| workflow_dispatch: | ||
|
|
||
| jobs: | ||
| docker-cd: | ||
| docker-cd: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout Repository | ||
| uses: actions/checkout@v3 | ||
| with: | ||
| submodules: true | ||
| clean: true | ||
|
|
||
| - name: Checkout Repository | ||
| uses: actions/checkout@v3 | ||
| with: | ||
| submodules: true | ||
| - name: Setup Docker Buildx | ||
| uses: docker/setup-buildx-action@v2 | ||
|
|
||
| - name: Setup Docker Buildx | ||
| uses: docker/setup-buildx-action@v2 | ||
| - name: Docker meta data | ||
| id: docker-meta-data | ||
| uses: docker/metadata-action@v4 | ||
| with: | ||
| images: codexrems/pims | ||
| flavor: latest=false | ||
|
|
||
| - name: Docker meta data | ||
| id: docker-meta-data | ||
| uses: docker/metadata-action@v4 | ||
| with: | ||
| images: codexrems/pims | ||
| flavor: latest=false | ||
| - name: Log in to Docker Hub | ||
| uses: docker/login-action@v1 | ||
| with: | ||
| username: ${{ secrets.DOCKER_USERNAME }} | ||
| password: ${{ secrets.DOCKER_TOKEN }} | ||
|
|
||
| - name: Log in to Docker Hub | ||
| uses: docker/login-action@v1 | ||
| with: | ||
| username: ${{ secrets.DOCKER_USERNAME }} | ||
| password: ${{ secrets.DOCKER_TOKEN }} | ||
|
|
||
| - name: Build and push Server Docker image | ||
| uses: docker/build-push-action@v5 | ||
| with: | ||
| context: . | ||
| platforms: linux/amd64,linux/arm64 | ||
| push: true | ||
| tags: codexrems/pims:latest | ||
| labels: ${{ steps.docker-meta-data.outputs.labels }} | ||
| - name: Build and push Server Docker image | ||
| uses: docker/build-push-action@v5 | ||
| with: | ||
| context: . | ||
| platforms: linux/amd64,linux/arm64 | ||
| push: true | ||
| tags: codexrems/pims:latest | ||
| labels: ${{ steps.docker-meta-data.outputs.labels }} | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,19 +2,18 @@ name: Docker Image CI | |
|
|
||
| on: | ||
| pull_request: | ||
| branches: [ main, dev ] | ||
| branches: [main, dev] | ||
| workflow_dispatch: | ||
|
|
||
|
|
||
| jobs: | ||
| docker-ci: | ||
| docker-ci: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
|
|
||
| - name: Checkout Repository | ||
| uses: actions/checkout@v3 | ||
| with: | ||
| - name: Checkout Repository | ||
| uses: actions/checkout@v3 | ||
| with: | ||
| submodules: true | ||
| clean: true | ||
|
|
||
| - name: Test Server Docker image Builds | ||
| run: docker build . | ||
| - name: Test Server Docker image Builds | ||
| run: docker build . | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,39 +3,39 @@ on: | |
| workflow_dispatch: | ||
| push: | ||
| tags: | ||
| - '*' | ||
| - "*" | ||
|
|
||
| jobs: | ||
| docker: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout Repository | ||
| uses: actions/checkout@v3 | ||
| with: | ||
| submodules: true | ||
| clean: true | ||
|
|
||
| - name: Checkout Repository | ||
| uses: actions/checkout@v3 | ||
| with: | ||
| submodules: true | ||
|
|
||
| - name: Setup Docker Buildx | ||
| uses: docker/setup-buildx-action@v2 | ||
|
|
||
| - name: Docker meta data | ||
| id: docker-meta-data | ||
| uses: docker/metadata-action@v4 | ||
| with: | ||
| images: codexrems/pims | ||
| flavor: latest=false | ||
| - name: Setup Docker Buildx | ||
| uses: docker/setup-buildx-action@v2 | ||
|
|
||
| - name: Log in to Docker Hub | ||
| uses: docker/login-action@v2 | ||
| with: | ||
| username: ${{ secrets.DOCKER_USERNAME }} | ||
| password: ${{ secrets.DOCKER_TOKEN }} | ||
| - name: Docker meta data | ||
| id: docker-meta-data | ||
| uses: docker/metadata-action@v4 | ||
| with: | ||
| images: codexrems/pims | ||
| flavor: latest=false | ||
|
|
||
| - name: Build and push | ||
| uses: docker/build-push-action@v5 | ||
| with: | ||
| context: . | ||
| push: true | ||
| platforms: linux/amd64,linux/arm64 | ||
| tags: ${{ steps.docker-meta-data.outputs.tags }} | ||
| labels: ${{ steps.docker-meta-data.outputs.labels }} | ||
| - name: Log in to Docker Hub | ||
| uses: docker/login-action@v2 | ||
| with: | ||
| username: ${{ secrets.DOCKER_USERNAME }} | ||
| password: ${{ secrets.DOCKER_TOKEN }} | ||
|
|
||
| - name: Build and push | ||
| uses: docker/build-push-action@v5 | ||
| with: | ||
| context: . | ||
| push: true | ||
| platforms: linux/amd64,linux/arm64 | ||
| tags: ${{ steps.docker-meta-data.outputs.tags }} | ||
| labels: ${{ steps.docker-meta-data.outputs.labels }} | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Check warning
Code scanning / CodeQL
Workflow does not contain permissions Medium
Copilot Autofix
AI 6 months ago
To fix the issue, we will add a
permissionsblock at the root of the workflow file. This block will define the minimal permissions required for the workflow to function. Since the workflow primarily involves linting, testing, and installing dependencies, it only needscontents: readpermissions. This ensures that theGITHUB_TOKENhas the least privilege necessary to perform these tasks.The
permissionsblock will be added immediately after thenameandonkeys in the workflow file.