Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/github_actions/release-drafter/re…
Browse files Browse the repository at this point in the history
…lease-drafter-6.0.0
  • Loading branch information
jonreding2010 authored Jun 15, 2024
2 parents 104af6f + 821cc32 commit 1d11731
Show file tree
Hide file tree
Showing 17 changed files with 22 additions and 29 deletions.
3 changes: 0 additions & 3 deletions .github/actions/buildtest/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ inputs:
bt-param: # id of input
description: 'Build and test params'
required: true
artifact-name: # id of input
description: 'Artifact name'
required: true
module-name: # id of module
description: 'module namespace'
required: true
Expand Down
6 changes: 1 addition & 5 deletions .github/actions/preinstall/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ inputs:
bt-param: # id of input
description: 'Build and test params'
required: true
artifact-name: # id of input
description: 'Artifact name'
required: true
version:
description: 'version number'
required: true
Expand All @@ -34,5 +31,4 @@ runs:
- id: random-number-generator
run: echo "::set-output name=random-id::123"
# run: echo "random-id=123" >> GITHUB_OUTPUT
shell: bash

shell: bash
7 changes: 3 additions & 4 deletions .github/actions/startdeps/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,15 @@ runs:
using: "composite"
steps:
- name: Setup DotNet
if: inputs.module-name == 'openmaqs-webservices'
if: inputs.module-name == 'openmaqs-webservices' || inputs.module-name == 'openmaqs-cucumber'
uses: actions/setup-dotnet@v1
with:
dotnet-version: |
3.1.x
6.x.x
- name: Start MAQS test services container
if: inputs.module-name == 'openmaqs-webservices'
if: inputs.module-name == 'openmaqs-webservices' || inputs.module-name == 'openmaqs-cucumber'
shell: pwsh
#run: docker-compose -f docker/MAQSService/docker-compose.yml -p OpenMAQS/maqs-java up -d
# run: docker-compose -f docker/MAQSService/docker-compose.yml -p OpenMAQS/openmaqs-java up -d
run: Start-Process -FilePath "dotnet" -ArgumentList "run --project docker/MAQSService/MainTestService/MainTestService.csproj"
- name: Build the docker-compose stack
if: inputs.module-name == 'openmaqs-database'
Expand Down
15 changes: 7 additions & 8 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3.13.0
uses: actions/setup-java@v4.2.1
with:
distribution: zulu
java-version: 17
Expand Down Expand Up @@ -153,7 +153,7 @@ jobs:
bt-param: '-fae -B -e -Dtesting=solo -T 1C'
version: ${{ github.sha }}
- name: Test Reporting
if: always() && github.actor != 'dependabot[bot]'
if: always()
id: test-report
uses: phoenix-actions/test-reporting@v12
with:
Expand Down Expand Up @@ -193,7 +193,7 @@ jobs:
with:
path: ${{github.workspace}}/artifacts/
- name: Set up JDK 17
uses: actions/setup-java@v3.13.0
uses: actions/setup-java@v4.2.1
with:
distribution: zulu
java-version: 17
Expand Down Expand Up @@ -225,7 +225,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3.13.0
uses: actions/setup-java@v4.2.1
with:
distribution: zulu
java-version: 17
Expand All @@ -240,7 +240,6 @@ jobs:

labels:
name: Pull Request Labels
if: github.actor != 'dependabot[bot]'
runs-on: ubuntu-latest
steps:
- name: Label Pull Request
Expand All @@ -257,7 +256,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3.13.0
uses: actions/setup-java@v4.2.1
with:
distribution: zulu
java-version: 11
Expand Down Expand Up @@ -287,7 +286,7 @@ jobs:
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
const result = await github.rest.repos.listReleases({
const result = await github.action.repos.listReleases({
owner: context.repo.owner,
repo: context.repo.repo
})
Expand All @@ -296,7 +295,7 @@ jobs:
for(var key in data){
if(data[key].tag_name == "v${{ needs.getVersion.outputs.buildNumber }}" && data[key].draft == true)
{
github.rest.repos.updateRelease({
github.action.repos.updateRelease({
release_id: data[key].id,
"draft": false,
owner: context.repo.owner,
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3.13.0
uses: actions/setup-java@v4.2.1
with:
java-version: 17
- name: Maven Cache
Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3.13.0
uses: actions/setup-java@v4.2.1
with:
java-version: 17
- name: Maven Cache
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Set up JDK ${{env.JDK}}
uses: actions/setup-java@v3.13.0
uses: actions/setup-java@v4.2.1
with:
java-version: ${{env.JDK}}
- name: Maven Cache
Expand Down Expand Up @@ -88,7 +88,7 @@ jobs:
# steps:
# - uses: actions/checkout@v3
# - name: Set up JDK ${{env.JDK}}
# uses: actions/setup-java@v3.13.0
# uses: actions/setup-java@v4.2.1
# with:
# java-version: ${{env.JDK}}
# - name: Maven Cache
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -526,3 +526,4 @@ MigrationBackup/
FodyWeavers.xsd

*.zip
.DS_Store
Binary file modified docs/resources/MAQS.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/resources/MAQS.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/resources/MAQSDark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/resources/maqsfull.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/resources/maqsfull.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/resources/maqslogo.ico
Binary file not shown.
4 changes: 2 additions & 2 deletions openmaqs-cucumber/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<!--<Browser>REMOTE</Browser>-->
<RemoteBrowser>Chrome</RemoteBrowser>
<HubUrl>http://ondemand.saucelabs.com:80/wd/hub</HubUrl>
<WebSiteBase>http://magenicautomation.azurewebsites.net/</WebSiteBase>
<WebSiteBase>https://openmaqs.github.io/TestingSite/Automation/</WebSiteBase>
<BrowserWaitTime>1000</BrowserWaitTime>
<BrowserTimeout>20000</BrowserTimeout>
<RemoteBrowserName>Chrome</RemoteBrowserName>
Expand All @@ -72,7 +72,7 @@

<WebServiceMaqs>
<!-- Web service root -->
<WebServiceUri>http://magenicautomation.azurewebsites.net</WebServiceUri>
<WebServiceUri>http://127.0.0.1:5026</WebServiceUri>

<!-- Time-out in milliseconds -->
<WebServiceTimeout>10000</WebServiceTimeout>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@

import io.github.openmaqs.cucumber.steps.BaseSeleniumStep;
import io.cucumber.java.en.Given;
import io.github.openmaqs.selenium.SeleniumConfig;

public class SeleniumSteps extends BaseSeleniumStep {

@Given("^Selenium Step$")
public void Step() {
this.getDriver().navigate().to("https://magenicautomation.azurewebsites.net/");
this.getDriver().navigate().to(SeleniumConfig.getWebSiteBase());
this.getLogger().logMessage("info");
}
}
2 changes: 1 addition & 1 deletion openmaqs-utilities/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

<properties>
<commons.io.version>2.11.0</commons.io.version>
<commons.configuration2.version>2.8.0</commons.configuration2.version>
<commons.configuration2.version>2.10.1</commons.configuration2.version>
<commons.bean-utils.version>1.9.4</commons.bean-utils.version>
<apache.commons-text.version>1.10.0</apache.commons-text.version>
<jsoup.version>1.15.3</jsoup.version>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@
<jacoco.version>0.8.7</jacoco.version>
<testng.version>7.8.0</testng.version>
<selenium.version>4.14.1</selenium.version>
<webdrivermanager.version>5.6.0</webdrivermanager.version>
<webdrivermanager.version>5.8.0</webdrivermanager.version>

<release.plugin.profiles>release</release.plugin.profiles>
<release.plugin.goals>deploy</release.plugin.goals>
Expand Down

0 comments on commit 1d11731

Please sign in to comment.