-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into 'master' for 1.0.0 release
- Loading branch information
Showing
605 changed files
with
22,653 additions
and
16,191 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
trigger: | ||
- develop | ||
- master | ||
- 'refs/tags/release-*' | ||
|
||
pool: | ||
vmImage: 'ubuntu-latest' | ||
|
||
variables: | ||
- name: registryServerName | ||
value: $(registryName).azurecr.io | ||
- group: acr_ishpwa | ||
|
||
stages: | ||
- stage: init | ||
displayName: 'Prepare variables' | ||
jobs: | ||
- job: tag | ||
displayName: 'set tag variable' | ||
steps: | ||
- bash: | | ||
echo -n "##vso[task.setvariable variable=tag;isOutput=true]" | ||
if [[ $(Build.SourceBranch) =~ tags/(.*) ]] | ||
then | ||
echo ${BASH_REMATCH[1]} | ||
else | ||
echo $(build.buildId) | ||
fi | ||
name: setvarStep | ||
- job: imageName | ||
displayName: 'set imageBaseName variable' | ||
steps: | ||
- bash: | | ||
echo -n "##vso[task.setvariable variable=imageName;isOutput=true]" | ||
if [[ $(Build.SourceBranch) =~ tags/(.*) ]] | ||
then | ||
printf '%.5s-%.18s\n' $(echo $(System.CollectionUri) | sed -e 's/^https:\/\/dev.azure.com\/ish-//') $(System.TeamProject) | ||
else | ||
printf '%.5s-%.9s-%.8s\n' $(echo $(System.CollectionUri) | sed -e 's/^https:\/\/dev.azure.com\/ish-//') $(System.TeamProject) $(Build.SourceBranchName) | ||
fi | ||
name: setvarStep2 | ||
- stage: ssr | ||
displayName: 'Build the SSR container' | ||
dependsOn: init | ||
jobs: | ||
- job: build_ssr | ||
displayName: 'docker build ssr' | ||
variables: | ||
- name: tag | ||
value: $[ stageDependencies.init.tag.outputs['setvarStep.tag'] ] | ||
- name: imageBaseName | ||
value: $[ stageDependencies.init.imageName.outputs['setvarStep2.imageName'] ] | ||
- name: imageName | ||
value: $(imageBaseName)-ssr | ||
steps: | ||
- bash: | | ||
docker build -f $(system.defaultWorkingDirectory)/Dockerfile -t $(registryServerName)/$(imageName):$(tag) $(system.defaultWorkingDirectory) --build-arg displayVersion=$(tag) | ||
docker login $(registryServerName) -u $(registryLogin) -p $(registryPassword) | ||
docker push $(registryServerName)/$(imageName):$(tag) | ||
- stage: nginx | ||
displayName: 'Build the nginx container' | ||
dependsOn: init | ||
jobs: | ||
- job: build_nginx | ||
displayName: 'docker build nginx' | ||
variables: | ||
- name: tag | ||
value: $[ stageDependencies.init.tag.outputs['setvarStep.tag'] ] | ||
- name: imageBaseName | ||
value: $[ stageDependencies.init.imageName.outputs['setvarStep2.imageName'] ] | ||
- name: imageName | ||
value: $(imageBaseName)-nginx | ||
steps: | ||
- bash: | | ||
docker build -f $(system.defaultWorkingDirectory)/nginx/Dockerfile -t $(registryServerName)/$(imageName):$(tag) $(system.defaultWorkingDirectory)/nginx | ||
docker login $(registryServerName) -u $(registryLogin) -p $(registryPassword) | ||
docker push $(registryServerName)/$(imageName):$(tag) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,30 @@ | ||
.gradle | ||
build | ||
cypress | ||
|
||
e2e | ||
nginx | ||
|
||
node_modules | ||
templates | ||
.dockerignore | ||
Dockerfile* | ||
.git | ||
.gitattributes | ||
.gitignore | ||
.gitlab-ci.yml | ||
Dockerfile* | ||
|
||
templates | ||
!templates/webpack | ||
!templates/nginx.conf | ||
|
||
# synchronize-marker:dist-scripts:begin | ||
/dist | ||
!/dist/build-ecosystem.js | ||
!/dist/entrypoint.sh | ||
!/dist/healthcheck.js | ||
!/dist/prometheus.js | ||
!/dist/robots.txt | ||
!/dist/server.crt | ||
!/dist/server.js | ||
!/dist/server.key | ||
!/dist/readinessprobe.js | ||
!/dist/livenessprobe.js | ||
# synchronize-marker:dist-scripts:end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# https://github.com/marketplace/actions/github-issues-to-azure-devops | ||
|
||
name: Sync Issue to Azure DevOps | ||
|
||
on: | ||
issues: | ||
types: [opened, edited, deleted, closed, reopened, labeled, unlabeled, assigned] | ||
|
||
jobs: | ||
alert: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: danhellem/github-actions-issue-to-work-item@master | ||
env: | ||
ado_token: '${{ secrets.ADO_PERSONAL_ACCESS_TOKEN }}' | ||
github_token: '${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}' | ||
ado_organization: 'intershop-com' | ||
ado_project: 'Products' | ||
ado_area_path: "Products\\Intershop 7" | ||
ado_iteration_path: "Products\\PWA Rngrx" | ||
ado_wit: 'Issue' | ||
ado_new_state: 'New' | ||
ado_active_state: 'Active' | ||
ado_close_state: 'Closed' | ||
ado_bypassrules: false | ||
log_level: 100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# https://github.com/marketplace/actions/sync-pull-requests-to-azure-boards | ||
|
||
name: Sync Pull Request to Azure DevOps | ||
|
||
on: | ||
pull_request: | ||
types: [opened, edited, closed] | ||
branches: | ||
- 'develop' | ||
|
||
jobs: | ||
alert: | ||
if: github.event.pull_request.head.repo.owner.login == 'intershop' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: danhellem/github-actions-pr-to-work-item@master | ||
env: | ||
ado_token: '${{ secrets.ADO_PERSONAL_ACCESS_TOKEN }}' | ||
github_token: '${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}' | ||
ado_organization: 'intershop-com' | ||
ado_project: 'Products' | ||
ado_area_path: "Products\\Intershop 7" | ||
ado_iteration_path: "Products\\PWA Rngrx" | ||
ado_wit: 'Issue' | ||
ado_new_state: 'New' | ||
ado_active_state: 'Active' | ||
ado_close_state: 'Closed' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.