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

Use spx nuget package for all workflow operations, replace insecure s… #74

Merged
merged 5 commits into from
Dec 3, 2020

Conversation

glharper
Copy link
Member

…et-env usage

@glharper glharper self-assigned this Nov 30, 2020
@jhakulin
Copy link

jhakulin commented Dec 1, 2020

Is there test report summary ? I am asking because it is difficult to say how the changes actually work

@BrianMouncer
Copy link

      creds: ${{ secrets.AZURE_CREDENTIALS }}

This is fine for now, but long term we might want to look at a different way.

For other Azure CLI tasks I have used, they use the name of a "service connection" that defines the credentials to you.
We might want to update our YAML task to use the same way.

Either way, I think there is something we are suppose to do at the end of our yaml file to sign out and clear these cached credentials, so that you're not left signed into Azure after your agent a release back to the agent execution pool.


Refers to: .github/workflows/speech-train-data-ci-cd.yml:76 in 0ec0047. [](commit_id = 0ec0047, deletion_comment = False)

@glharper
Copy link
Member Author

glharper commented Dec 1, 2020

Is there test report summary ? I am asking because it is difficult to say how the changes actually work

@jhakulin For this example run I've attached the test result file
example_test_result.txt

.github/workflows/speech-test-data-ci.yml Outdated Show resolved Hide resolved
run: |
unzip ${{ env.TEST_ZIP_SOURCE_PATH }} -d ${{ env.TEST_BUILD_FOLDER_PATH }}
zip -r ${{ env.TEST_BUILD_FOLDER_PATH }}/${{ env.TEST_AUDIO_ZIP_FILE }} ${{ env.TEST_BUILD_FOLDER_PATH }} -x "*.txt"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any idea why there was an unzip followed by zip?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now that I'm thinking on it, I have a vague memory of @KatieProchilo mentioning an issue during upload that was resolved by doing something similar. Katie, I know it was a while ago now.. can you recall why this is needed?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps the old tool processes text files and audio files separately when creating a dataset? I know the new REST API takes a zip with audio files and a text file inside listing the included audio files and their transcripts for Acoustic datasets. Could be that the old REST API wanted that zip to have just audio files?

@glharper glharper merged commit 1641d33 into master Dec 3, 2020
@glharper glharper deleted the glharper/switch-to-spx branch December 3, 2020 23:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants