Skip to content

Commit

Permalink
ci: adjusts for oauth2 (#2058)
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima authored Dec 21, 2024
1 parent 3c94324 commit 6eb9b11
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
1 change: 1 addition & 0 deletions .blueprint/generate-sample/templates/ios.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export default Object.fromEntries(
sample,
{
...spec,
'docker-services': !sample.includes('oauth2'),
...(sample.includes('oauth2')
? { os: 'macos-13', 'default-environment': 'prod', 'skip-e2e': 'true' }
: { os: 'macos-15', 'default-environment': 'dev' }),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ exports[`generator - github-build-matrix > with ios > should match matrix value
"include": [
{
"default-environment": "dev",
"docker-services": true,
"java-version": "17",
"job-name": "21points-jwt",
"jwt-secret-key": "ZjY4MTM4YjI5YzMwZjhjYjI2OTNkNTRjMWQ5Y2Q0Y2YwOWNmZTE2NzRmYzU3NTMwM2NjOTE3MTllOTM3MWRkMzcyYTljMjVmNmQ0Y2MxOTUzODc0MDhhMTlkMDIxMzI2YzQzZDM2ZDE3MmQ3NjVkODk3OTVmYzljYTQyZDNmMTQ=",
Expand All @@ -17,6 +18,7 @@ exports[`generator - github-build-matrix > with ios > should match matrix value
},
{
"default-environment": "dev",
"docker-services": true,
"java-version": "17",
"job-name": "app-jwt",
"jwt-secret-key": "ZjY4MTM4YjI5YzMwZjhjYjI2OTNkNTRjMWQ5Y2Q0Y2YwOWNmZTE2NzRmYzU3NTMwM2NjOTE3MTllOTM3MWRkMzcyYTljMjVmNmQ0Y2MxOTUzODc0MDhhMTlkMDIxMzI2YzQzZDM2ZDE3MmQ3NjVkODk3OTVmYzljYTQyZDNmMTQ=",
Expand All @@ -29,6 +31,7 @@ exports[`generator - github-build-matrix > with ios > should match matrix value
},
{
"default-environment": "prod",
"docker-services": false,
"java-version": "17",
"job-name": "app-oauth2",
"jwt-secret-key": "ZjY4MTM4YjI5YzMwZjhjYjI2OTNkNTRjMWQ5Y2Q0Y2YwOWNmZTE2NzRmYzU3NTMwM2NjOTE3MTllOTM3MWRkMzcyYTljMjVmNmQ0Y2MxOTUzODc0MDhhMTlkMDIxMzI2YzQzZDM2ZDE3MmQ3NjVkODk3OTVmYzljYTQyZDNmMTQ=",
Expand All @@ -42,6 +45,7 @@ exports[`generator - github-build-matrix > with ios > should match matrix value
},
{
"default-environment": "dev",
"docker-services": true,
"java-version": "17",
"job-name": "app-websocket",
"jwt-secret-key": "ZjY4MTM4YjI5YzMwZjhjYjI2OTNkNTRjMWQ5Y2Q0Y2YwOWNmZTE2NzRmYzU3NTMwM2NjOTE3MTllOTM3MWRkMzcyYTljMjVmNmQ0Y2MxOTUzODc0MDhhMTlkMDIxMzI2YzQzZDM2ZDE3MmQ3NjVkODk3OTVmYzljYTQyZDNmMTQ=",
Expand All @@ -54,6 +58,7 @@ exports[`generator - github-build-matrix > with ios > should match matrix value
},
{
"default-environment": "dev",
"docker-services": true,
"java-version": "17",
"job-name": "flickr2-jwt",
"jwt-secret-key": "ZjY4MTM4YjI5YzMwZjhjYjI2OTNkNTRjMWQ5Y2Q0Y2YwOWNmZTE2NzRmYzU3NTMwM2NjOTE3MTllOTM3MWRkMzcyYTljMjVmNmQ0Y2MxOTUzODc0MDhhMTlkMDIxMzI2YzQzZDM2ZDE3MmQ3NjVkODk3OTVmYzljYTQyZDNmMTQ=",
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,11 @@ jobs:
timeout_minutes: 60
command: brew tap wix/brew && brew install applesimutils && applesimutils --list
retry_wait_seconds: 15
- uses: douglascamata/setup-docker-macos-action@8d5fa43892aed7eee4effcdea113fd53e4d4bf83
if: matrix.default-environment == 'prod' && steps.compare.outputs.equals != 'true'
timeout-minutes: 10
#- uses: douglascamata/setup-docker-macos-action@8d5fa43892aed7eee4effcdea113fd53e4d4bf83
# if: matrix.default-environment == 'prod' && steps.compare.outputs.equals != 'true'
# timeout-minutes: 10
- run: npm run services:up
if: matrix.default-environment == 'prod' && steps.compare.outputs.equals != 'true'
if: matrix.default-environment == 'prod' && steps.compare.outputs.equals != 'true' && matrix.docker-services != 'no'
working-directory: ${{ github.workspace }}/backend

- run: npm install
Expand Down

0 comments on commit 6eb9b11

Please sign in to comment.