Skip to content

Commit

Permalink
Fix GH code review
Browse files Browse the repository at this point in the history
  • Loading branch information
Metal-Mighty committed Aug 26, 2024
1 parent 7312f33 commit ceb5b75
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,15 @@ jobs:
- id: docker-tag
uses: yuya-takeyama/docker-tag-from-github-ref-action@v1

- name: Configure AWS credentials
id: aws-credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
# Should use us-east-1 region to push to ECR public registry
aws-region: us-east-1

- name: Docker Login to ACR
# You may pin to the exact commit or the version.
uses: docker/[email protected]
Expand All @@ -36,13 +45,20 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Login to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v2
with:
registry-type: public

- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
# list of Docker images to use as base name for tags
images: |
${{ env.registry_name }}/${{ github.repository_owner }}/${{ env.image_name }}
${{ steps.login-ecr.outputs.registry }}/cgi-fr/${{ env.image_name }}
# generate Docker tags based on the following events/attributes
tags: |
type=schedule
Expand Down
2 changes: 1 addition & 1 deletion src/IoTHub.Portal.Server/IoTHub.Portal.Server.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</PropertyGroup>

<ProjectExtensions>
<VisualStudio><UserProperties properties_4launchsettings_1json__JsonSchema="" /></VisualStudio>
<VisualStudio><UserProperties appsettings_1development_1json__JsonSchema="https://cdn.jsdelivr.net/gh/roadrunner-server/roadrunner@latest/schemas/config/2.0.schema.json" properties_4launchsettings_1json__JsonSchema="" /></VisualStudio>
</ProjectExtensions>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ public void SearchDeviceModels_InputExisingDeviceModelName_DeviceModelReturned()
cut.WaitForAssertion(() => MockRepository.VerifyAll());
}

/*[Test]
[Test]
public void ImportDevices_FileAdded_DevicesExported()
{
// Arrange
Expand Down Expand Up @@ -618,7 +618,7 @@ public void ImportDevices_FileAdded_DevicesExported()

// Assert
cut.WaitForAssertion(() => MockRepository.VerifyAll());
}*/
}

[Test]
public void Sort_ClickOnSortIdAsc_DevicesSorted()
Expand Down

0 comments on commit ceb5b75

Please sign in to comment.