Skip to content

Commit 722fb06

Browse files
committed
ci(github): remove deprecated services from github action workflows
1 parent 1ccff38 commit 722fb06

File tree

2 files changed

+0
-31
lines changed

2 files changed

+0
-31
lines changed

.github/workflows/deploy.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -116,18 +116,12 @@ jobs:
116116
run: |
117117
dotnet pack src/IBM.Watson.Assistant.v1/IBM.Watson.Assistant.v1.csproj --configuration Release
118118
dotnet pack src/IBM.Watson.Assistant.v2/IBM.Watson.Assistant.v2.csproj --configuration Release
119-
dotnet pack src/IBM.Watson.CompareComply.v1/IBM.Watson.CompareComply.v1.csproj --configuration Release
120119
dotnet pack src/IBM.Watson.Discovery.v1/IBM.Watson.Discovery.v1.csproj --configuration Release
121120
dotnet pack src/IBM.Watson.Discovery.v2/IBM.Watson.Discovery.v2.csproj --configuration Release
122121
dotnet pack src/IBM.Watson.LanguageTranslator.v3/IBM.Watson.LanguageTranslator.v3.csproj --configuration Release
123-
dotnet pack src/IBM.Watson.NaturalLanguageClassifier.v1/IBM.Watson.NaturalLanguageClassifier.v1.csproj --configuration Release
124122
dotnet pack src/IBM.Watson.NaturalLanguageUnderstanding.v1/IBM.Watson.NaturalLanguageUnderstanding.v1.csproj --configuration Release
125-
dotnet pack src/IBM.Watson.PersonalityInsights.v3/IBM.Watson.PersonalityInsights.v3.csproj --configuration Release
126123
dotnet pack src/IBM.Watson.SpeechToText.v1/IBM.Watson.SpeechToText.v1.csproj --configuration Release
127124
dotnet pack src/IBM.Watson.TextToSpeech.v1/IBM.Watson.TextToSpeech.v1.csproj --configuration Release
128-
dotnet pack src/IBM.Watson.ToneAnalyzer.v3/IBM.Watson.ToneAnalyzer.v3.csproj --configuration Release
129-
dotnet pack src/IBM.Watson.VisualRecognition.v3/IBM.Watson.VisualRecognition.v3.csproj --configuration Release
130-
dotnet pack src/IBM.Watson.VisualRecognition.v4/IBM.Watson.VisualRecognition.v4.csproj --configuration Release
131125
132126
# I think we can publish everytime because trying to push up a duplicate will fail with already exists and cannot be modified (409)
133127
# However we will try a new technique and only push if semantic release created a new release
@@ -141,18 +135,12 @@ jobs:
141135
echo -e "\n\033[0;35mCommand: branchname - ${{ steps.get_version_tag.outputs.SOURCE_TAG }} must have TAG_NAME to publish NuGet packages"
142136
dotnet nuget push src/IBM.Watson.Assistant.v1/bin/Release/IBM.Watson.Assistant.v1.${REPO_TAG_NAME}.nupkg -k ${NUGET_TOKEN} -s https://api.nuget.org/v3/index.json
143137
dotnet nuget push src/IBM.Watson.Assistant.v2/bin/Release/IBM.Watson.Assistant.v2.${REPO_TAG_NAME}.nupkg -k ${NUGET_TOKEN} -s https://api.nuget.org/v3/index.json
144-
dotnet nuget push src/IBM.Watson.CompareComply.v1/bin/Release/IBM.Watson.CompareComply.v1.${REPO_TAG_NAME}.nupkg -k ${NUGET_TOKEN} -s https://api.nuget.org/v3/index.json
145138
dotnet nuget push src/IBM.Watson.Discovery.v1/bin/Release/IBM.Watson.Discovery.v1.${REPO_TAG_NAME}.nupkg -k ${NUGET_TOKEN} -s https://api.nuget.org/v3/index.json
146139
dotnet nuget push src/IBM.Watson.Discovery.v2/bin/Release/IBM.Watson.Discovery.v2.${REPO_TAG_NAME}.nupkg -k ${NUGET_TOKEN} -s https://api.nuget.org/v3/index.json
147140
dotnet nuget push src/IBM.Watson.LanguageTranslator.v3/bin/Release/IBM.Watson.LanguageTranslator.v3.${REPO_TAG_NAME}.nupkg -k ${NUGET_TOKEN} -s https://api.nuget.org/v3/index.json
148-
dotnet nuget push src/IBM.Watson.NaturalLanguageClassifier.v1/bin/Release/IBM.Watson.NaturalLanguageClassifier.v1.${REPO_TAG_NAME}.nupkg -k ${NUGET_TOKEN} -s https://api.nuget.org/v3/index.json
149141
dotnet nuget push src/IBM.Watson.NaturalLanguageUnderstanding.v1/bin/Release/IBM.Watson.NaturalLanguageUnderstanding.v1.${REPO_TAG_NAME}.nupkg -k ${NUGET_TOKEN} -s https://api.nuget.org/v3/index.json
150-
dotnet nuget push src/IBM.Watson.PersonalityInsights.v3/bin/Release/IBM.Watson.PersonalityInsights.v3.${REPO_TAG_NAME}.nupkg -k ${NUGET_TOKEN} -s https://api.nuget.org/v3/index.json
151142
dotnet nuget push src/IBM.Watson.SpeechToText.v1/bin/Release/IBM.Watson.SpeechToText.v1.${REPO_TAG_NAME}.nupkg -k ${NUGET_TOKEN} -s https://api.nuget.org/v3/index.json
152143
dotnet nuget push src/IBM.Watson.TextToSpeech.v1/bin/Release/IBM.Watson.TextToSpeech.v1.${REPO_TAG_NAME}.nupkg -k ${NUGET_TOKEN} -s https://api.nuget.org/v3/index.json
153-
dotnet nuget push src/IBM.Watson.ToneAnalyzer.v3/bin/Release/IBM.Watson.ToneAnalyzer.v3.${REPO_TAG_NAME}.nupkg -k ${NUGET_TOKEN} -s https://api.nuget.org/v3/index.json
154-
dotnet nuget push src/IBM.Watson.VisualRecognition.v3/bin/Release/IBM.Watson.VisualRecognition.v3.${REPO_TAG_NAME}.nupkg -k ${NUGET_TOKEN} -s https://api.nuget.org/v3/index.json
155-
dotnet nuget push src/IBM.Watson.VisualRecognition.v4/bin/Release/IBM.Watson.VisualRecognition.v4.${REPO_TAG_NAME}.nupkg -k ${NUGET_TOKEN} -s https://api.nuget.org/v3/index.json
156144
157145
- name: SKIP - Publish/Deploy to Git and Nuget
158146
if: ${{ steps.is_new_release.outputs.IS_NEW_RELEASE == '0' }}

.github/workflows/integration-test.yml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -37,27 +37,14 @@ jobs:
3737
- name: Execute Dotnet integration tests
3838
# continue-on-error: true
3939
env:
40-
NATURAL_LANGUAGE_CLASSIFIER_URL: "https://api.us-south.natural-language-classifier.watson.cloud.ibm.com"
41-
NATURAL_LANGUAGE_CLASSIFIER_APIKEY: ${{ secrets.NLC_APIKEY }}
42-
NATURAL_LANGUAGE_CLASSIFIER_ID: ${{ secrets.NLC_CLASSIFIER_ID }}
4340
LANGUAGE_TRANSLATOR_APIKEY: ${{ secrets.LT_APIKEY }}
4441
LANGUAGE_TRANSLATOR_URL: "https://api.us-south.language-translator.watson.cloud.ibm.com"
4542
NATURAL_LANGUAGE_UNDERSTANDING_APIKEY: ${{ secrets.NLU_APIKEY }}
4643
NATURAL_LANGUAGE_UNDERSTANDING_URL: "https://api.us-south.natural-language-understanding.watson.cloud.ibm.com"
47-
PERSONALITY_INSIGHTS_APIKEY: ${{ secrets.PI_APIKEY }}
48-
PERSONALITY_INSIGHTS_URL: "https://api.us-south.personality-insights.watson.cloud.ibm.com"
49-
TONE_ANALYZER_APIKEY: ${{ secrets.TA_APIKEY }}
50-
TONE_ANALYZER_URL: "https://api.us-south.tone-analyzer.watson.cloud.ibm.com"
5144
SPEECH_TO_TEXT_APIKEY: ${{ secrets.STT_APIKEY }}
5245
SPEECH_TO_TEXT_URL: "https://api.us-south.speech-to-text.watson.cloud.ibm.com"
5346
TEXT_TO_SPEECH_APIKEY: ${{ secrets.TTS_APIKEY }}
5447
TEXT_TO_SPEECH_URL: "https://api.us-south.text-to-speech.watson.cloud.ibm.com"
55-
VISUAL_RECOGNITION_APIKEY: ${{ secrets.VR_APIKEY }}
56-
VISUAL_RECOGNITION_COLLECTION_ID: ${{ secrets.VR_COLLECTION_ID }}
57-
VISUAL_RECOGNITION_URL: "https://api.us-south.visual-recognition.watson.cloud.ibm.com"
58-
COMPARE_COMPLY_APIKEY: ${{ secrets.CC_APIKEY }}
59-
COMPARE_COMPLY_FEEDBACK_ID: ${{ secrets.CC_FEEDBACK_ID }}
60-
COMPARE_COMPLY_URL: "https://api.us-south.compare-comply.watson.cloud.ibm.com"
6148
ASSISTANT_APIKEY: ${{ secrets.WA_APIKEY }}
6249
ASSISTANT_WORKSPACE_ID: ${{ secrets.WA_WORKSPACE_ID }}
6350
ASSISTANT_ASSISTANT_ID: ${{ secrets.WA_ASSISTANT_ID }}
@@ -72,16 +59,10 @@ jobs:
7259
DISCOVERY_V2_URL: "https://api.us-south.discovery.watson.cloud.ibm.com"
7360
run: |
7461
echo -e "\n\033[0;35mCommand: Run Integration Tests"
75-
dotnet test --no-build --verbosity normal src/IBM.Watson.NaturalLanguageClassifier.v1/Test/Integration
7662
dotnet test --no-build --verbosity normal src/IBM.Watson.LanguageTranslator.v3/Test/Integration
7763
dotnet test --no-build --verbosity normal src/IBM.Watson.NaturalLanguageUnderstanding.v1/Test/Integration
78-
dotnet test --no-build --verbosity normal src/IBM.Watson.PersonalityInsights.v3/Test/Integration
79-
dotnet test --no-build --verbosity normal src/IBM.Watson.ToneAnalyzer.v3/Test/Integration
8064
dotnet test --no-build --verbosity normal src/IBM.Watson.SpeechToText.v1/Test/Integration
8165
dotnet test --no-build --verbosity normal src/IBM.Watson.TextToSpeech.v1/Test/Integration
82-
echo -e "\n\033[0;35mSKIP : dotnet test --no-build --verbosity normal src/IBM.Watson.VisualRecognition.v3/Test/Integration"
83-
echo -e "\n\033[0;35mSKIP: dotnet test --no-build --verbosity normal src/IBM.Watson.VisualRecognition.v4/Test/Integration"
84-
echo -e "\n\033[0;35mSKIP: dotnet test --no-build --verbosity normal src/IBM.Watson.CompareComply.v1/Test/Integration"
8566
dotnet test --no-build --verbosity normal src/IBM.Watson.Assistant.v1/Test/Integration
8667
dotnet test --no-build --verbosity normal src/IBM.Watson.Assistant.v2/Test/Integration
8768
dotnet test --no-build --verbosity normal src/IBM.Watson.Discovery.v1/Test/Integration

0 commit comments

Comments
 (0)