Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2121 commits
Select commit Hold shift + click to select a range
b05d8e2
#32 adding cypress attributes to header/footer error messages
mosefer Aug 3, 2020
4248394
#32 removed unused dependency
mosefer Aug 3, 2020
f50917e
#32 adding tests
mosefer Aug 4, 2020
1d07847
#32 adding e2e tests
mosefer Aug 4, 2020
7473a4d
#37 increase size of settings.value column, add server side and clien…
mosefer Aug 6, 2020
38c27e9
#37 adding integration and e2e tests
mosefer Aug 6, 2020
1fa75bd
#37 adding database migration test to confirm that liquibase handles …
mosefer Aug 6, 2020
0a11e70
Merge pull request #38 from NationalSecurityAgency/ticket#37/increase…
rmmayo Aug 6, 2020
84b598c
#39 fixing sed to account for escaped commas in property values
mosefer Aug 7, 2020
f3abc11
#39 remove duplicated passing of properties
mosefer Aug 7, 2020
3e6334a
#39 remove duplicated sed keyword
mosefer Aug 7, 2020
b53d473
#41 force consistent ordering of pending notification achievements
mosefer Aug 10, 2020
26fc90c
#43 re-use service jar from previous job rather than checking out and…
mosefer Aug 10, 2020
e7e3cdd
#42 move custom header/footer out of main app container
mosefer Aug 10, 2020
309cffd
#41 revert unintnetional check-in
mosefer Aug 10, 2020
05d82d5
Merge pull request #44
rmmayo Aug 10, 2020
e171736
#43 upload artifact from correct job
mosefer Aug 10, 2020
42efe70
#42 remove .only from test
mosefer Aug 10, 2020
8a61cf4
#42 adding e2e test to confirm padding removed from custom headers/fo…
mosefer Aug 10, 2020
b27f942
#42 removed .only from settings_specs
mosefer Aug 10, 2020
debb6c5
Merge pull request #45
sudo-may Aug 10, 2020
1a2009c
#40 global metrics page needs to be recognized as a front-end resource
mosefer Aug 10, 2020
0af6361
#43 removed OBE local maven cache from docker publish job
mosefer Aug 10, 2020
abb91c2
Merge pull request #46
sudo-may Aug 10, 2020
71c4f63
#22 - removed oauth2 clients from the default configuration
Aug 11, 2020
782ff6a
#22 - added cypress test
Aug 11, 2020
a1d02cd
Merge pull request #47
sudo-may Aug 12, 2020
8b9b487
#49: OBE
Aug 12, 2020
a5abffd
#48 initial support for dynamic property injection into custom header…
mosefer Aug 12, 2020
86c16ce
#48 finicky license header check
mosefer Aug 13, 2020
58de362
#48 adding e2e test
mosefer Aug 13, 2020
edbd62d
#51: support storing HttpSession in Redis
Aug 13, 2020
bce618b
Merge pull request #50
sudo-may Aug 13, 2020
a0daa6d
#51: support storing HttpSession in Redis
Aug 13, 2020
b6b1b01
#51: support storing HttpSession in Redis - CI
Aug 13, 2020
714d8b2
#51: support storing HttpSession in Redis - CI
Aug 13, 2020
eec246f
#51: support storing HttpSession in Redis - CI
Aug 13, 2020
026f338
#51: support storing HttpSession in Redis - CI
Aug 13, 2020
74f921c
#51: support storing HttpSession in Redis - CI
Aug 13, 2020
3fbaa42
#51: support storing HttpSession in Redis - CI
Aug 14, 2020
a36524a
#51: support storing HttpSession in Redis - CI
Aug 14, 2020
6d6bd5d
#52: do not display stacktrace for the failed email connection on the…
Aug 14, 2020
66f346d
Merge pull request #54 from NationalSecurityAgency/t#51/httpsession-i…
mosefer Aug 14, 2020
0ca5867
#51: mistakenly made the workflows run on check-in, should be scheduled
Aug 14, 2020
f62ca6f
Merge branch 'master' into t#52/email-connect-warning
Aug 14, 2020
50428c8
#53: PostgreSQL Cypress CI were not running against PostgreSQL
Aug 14, 2020
7577765
#52: do not display stacktrace for the failed email connection on the…
Aug 14, 2020
02649ac
#53: PostgreSQL Cypress CI were not running against PostgreSQL
Aug 17, 2020
2126407
#53: PostgreSQL Cypress CI were not running against PostgreSQL
Aug 17, 2020
b7bbe20
#56 changing snapshot image tag
mosefer Aug 17, 2020
2616ab7
#56 remove colons from datestamp in tag
mosefer Aug 17, 2020
2428348
#53: PostgreSQL Cypress CI were not running against PostgreSQL
Aug 17, 2020
4ad291b
Merge pull request #55 from NationalSecurityAgency/t#52/email-connect…
rmmayo Aug 17, 2020
0dc69c3
#53: PostgreSQL Cypress CI were not running against PostgreSQL
Aug 17, 2020
a6116c8
Merge pull request #57
rmmayo Aug 17, 2020
e63d476
fix: service/pom.xml to reduce vulnerabilities
snyk-bot Aug 19, 2020
d4528b2
Merge pull request #1 from TheFoxAtWork/snyk-fix-466291cea8518b827ef9…
TheFoxAtWork Aug 19, 2020
3332f4f
fix: dashboard/package.json & dashboard/.snyk to reduce vulnerabilities
snyk-bot Aug 19, 2020
6c930d4
Merge pull request #3 from TheFoxAtWork/snyk-fix-6d64c03ea6558384b316…
TheFoxAtWork Aug 19, 2020
9f07806
fix: client-display/package.json to reduce vulnerabilities
snyk-bot Aug 19, 2020
410ba39
Merge pull request #4 from TheFoxAtWork/snyk-fix-2cd6a0de53792cbe59d4…
TheFoxAtWork Aug 19, 2020
ef1e851
#59 allow bsd 3 clause in the dependency license check
mosefer Aug 19, 2020
5cebbc8
Merge remote-tracking branch 'upstream/master'
Aug 19, 2020
0fb0a48
#60 allow Unlicense for dashboard dependencies
mosefer Aug 19, 2020
bcdeb24
Merge remote-tracking branch 'upstream/master'
Aug 19, 2020
dd44847
Revert "fix: dashboard/package.json & dashboard/.snyk to reduce vulne…
Aug 19, 2020
e678973
fix: upgrade org.apache.logging.log4j:log4j-slf4j-impl from 2.11.2 to…
snyk-bot Aug 20, 2020
a7f4e47
fix: upgrade joda-time:joda-time from 2.10.3 to 2.10.6
snyk-bot Aug 20, 2020
96b4776
fix: upgrade org.apache.commons:commons-lang3 from 3.9 to 3.11
snyk-bot Aug 20, 2020
bf952e2
fix: upgrade org.springframework.security.oauth.boot:spring-security-…
snyk-bot Aug 20, 2020
23f3771
fix: upgrade org.jsoup:jsoup from 1.10.2 to 1.13.1
snyk-bot Aug 20, 2020
7d5791b
Merge pull request #61 from TheFoxAtWork/master
mosefer Aug 20, 2020
289496f
#62: resolved race condition where global badge cypress tests could c…
Aug 21, 2020
e0e2a2f
#63: made sure that tests are waiting for all required XHRs
Aug 21, 2020
a3651c1
#63: added extra XHR wait
Aug 21, 2020
8823731
Merge pull request #64
rmmayo Aug 21, 2020
76461ae
#63: back to schedule
Aug 21, 2020
abebc56
Merge pull request #6 from TheFoxAtWork/snyk-upgrade-89db4890f590db8b…
TheFoxAtWork Aug 26, 2020
858c7c2
Merge branch 'master' into snyk-upgrade-bbfdf11fd62421403c00ddcb20c01b7d
TheFoxAtWork Aug 26, 2020
117c549
Merge pull request #7 from TheFoxAtWork/snyk-upgrade-bbfdf11fd6242140…
TheFoxAtWork Aug 26, 2020
864f181
Merge branch 'master' into snyk-upgrade-35a11cf45436159ac606a0970e1a8d34
TheFoxAtWork Aug 26, 2020
39d87b0
Merge pull request #8 from TheFoxAtWork/snyk-upgrade-35a11cf45436159a…
TheFoxAtWork Aug 26, 2020
153930c
Merge pull request #9 from TheFoxAtWork/snyk-upgrade-bfde69c6ea85219e…
TheFoxAtWork Aug 26, 2020
8373e9e
Merge pull request #10 from TheFoxAtWork/snyk-upgrade-f15d7afdeef7aff…
TheFoxAtWork Aug 26, 2020
68d33e5
Merge branch 'master' of github:TheFoxAtWork/skills-service
Aug 26, 2020
9ef40ac
Merge pull request #66
sudo-may Aug 26, 2020
ea4badb
fix: upgrade com.sun.xml.bind:jaxb-impl from 2.3.0 to 2.3.3
snyk-bot Aug 27, 2020
7ddaebf
fix: upgrade org.apache.httpcomponents:httpclient from 4.5.6 to 4.5.12
snyk-bot Aug 27, 2020
282420a
fix: upgrade com.auth0:java-jwt from 3.8.3 to 3.10.3
snyk-bot Aug 27, 2020
faa9633
fix: upgrade mysql:mysql-connector-java from 8.0.16 to 8.0.21
snyk-bot Aug 27, 2020
d2fd941
fix: upgrade org.apache.commons:commons-lang3 from 3.7 to 3.11
snyk-bot Aug 27, 2020
623010d
#67 increasing dependency versions, license checking failing, WIP
mosefer Aug 28, 2020
53cb456
#67 updating licenses
mosefer Aug 31, 2020
223b3a5
#67 api changes due to dependency bumps
mosefer Aug 31, 2020
d649960
Merge branch 'master' into ticket#67/dependency_bumps
mosefer Aug 31, 2020
1bc3b34
Merge pull request #68 from NationalSecurityAgency/ticket#67/dependen…
rmmayo Aug 31, 2020
bcd6ecf
#70 - up'ed spring boot version to 2.3.0 to address bug introduced in…
Sep 1, 2020
c497608
#70 - up'ed spring boot version to 2.3.3 to address bug introduced in…
Sep 1, 2020
2e52146
Merge pull request #71 from NationalSecurityAgency/ticket#70/upgrade_…
sudo-may Sep 1, 2020
dd7f236
Merge pull request #11 from TheFoxAtWork/snyk-upgrade-c5eaef2e5499c43…
TheFoxAtWork Sep 2, 2020
403b257
#39: fixed cursor; SecurityConfiguration.groovy - looks like syntax w…
Sep 2, 2020
7a2dc3e
#73: upgraded openjdk to 14.0.2
Sep 2, 2020
46e6e66
#75: use the latest skills vue lib
Sep 2, 2020
695b678
creating_release_version_1.2.0
Sep 2, 2020
5ad9629
prep_master_for_the_next_dev_version_[1.3.0-SNAPSHOT]
Sep 2, 2020
633ef92
fix: upgrade org.codehaus.groovy:groovy-dateutil from 2.5.9 to 2.5.13
snyk-bot Sep 3, 2020
edcc0e8
fix: dashboard/package.json to reduce vulnerabilities
snyk-bot Sep 3, 2020
297c9a7
Merge pull request #13 from TheFoxAtWork/snyk-upgrade-7b593905f99c01a…
TheFoxAtWork Sep 3, 2020
2f09887
Merge pull request #12 from TheFoxAtWork/snyk-upgrade-2a2b3dba1803432…
TheFoxAtWork Sep 3, 2020
611bfbb
Merge pull request #14 from TheFoxAtWork/snyk-upgrade-583c81c9dbf716c…
TheFoxAtWork Sep 3, 2020
be99698
Merge pull request #15 from TheFoxAtWork/snyk-upgrade-a405335644eb5b1…
TheFoxAtWork Sep 3, 2020
e91e375
Merge pull request #16 from TheFoxAtWork/snyk-upgrade-456db236f4a636a…
TheFoxAtWork Sep 3, 2020
d2790da
Merge pull request #17 from TheFoxAtWork/snyk-fix-24e3f8c4e6e8e8899c5…
TheFoxAtWork Sep 3, 2020
b44ea1f
Merge branch 'master' of github:TheFoxAtWork/skills-service
Sep 3, 2020
ab0e3b7
Merge pull request #76
sudo-may Sep 4, 2020
7bd31f2
Bump dompurify from 2.0.3 to 2.0.15 in /client-display
dependabot[bot] Sep 4, 2020
49ec687
Bump node-sass from 4.12.0 to 4.14.1 in /dashboard
dependabot[bot] Sep 4, 2020
e72b5e0
Merge pull request #81
rmmayo Sep 4, 2020
873fea0
Merge pull request #80 from NationalSecurityAgency/dependabot/npm_and…
sudo-may Sep 4, 2020
68ac8a6
Merge pull request #79 from NationalSecurityAgency/dependabot/npm_and…
sudo-may Sep 4, 2020
d0dc68e
Merge pull request #82
rmmayo Sep 4, 2020
191939b
#84: do not add timestamp for a versioned release
Sep 4, 2020
766a57b
Merge pull request #85
rmmayo Sep 4, 2020
f4f164f
#86: Security Patch based on Dependabot warnings
Sep 4, 2020
9f09f96
Merge branch 't#86/version-bump'
Sep 5, 2020
ca1d27e
#69 handle websocket notification of global achievements
mosefer Sep 8, 2020
c050e4e
#69 addressing code review comments
mosefer Sep 10, 2020
35e960a
#69 addressing code review comments
mosefer Sep 10, 2020
31cf8f1
#90: upgraded skills-display runtime and dev npm dependencies; code u…
Sep 10, 2020
3d490df
#90: upgraded dashboard runtime and dev npm dependencies; code update…
Sep 10, 2020
6289918
Merge pull request #91 from NationalSecurityAgency/ticket#69/pending_…
sudo-may Sep 10, 2020
4e71578
#90: updated snapshots; apex charts yaxis colors are configured diffe…
Sep 10, 2020
604dd77
#90: upgraded e2e tests; upgraded node
Sep 10, 2020
022cb6a
#90: removed console statements
Sep 10, 2020
1634e64
#90: disabled eslint for SectionHelper.js, this file will be OBE by m…
Sep 10, 2020
50e6fa8
#90: fixed login spec
Sep 10, 2020
ce8804b
#99 - adding backend support for skills-client lib logging. - WIP
Sep 10, 2020
3705da8
#37 - added hello world angular example tp the quick start section.
Sep 10, 2020
71d3965
#90: snapshots were not committed
Sep 10, 2020
9999331
#90: fixing upload custom icon test
Sep 11, 2020
ae624c7
#90: removed a space to force CI to run
Sep 11, 2020
a199f6e
#90: removed snapshot approach from the new subject's test
Sep 11, 2020
e6ea19a
#100 fix dates and skill definition used in test to eliminate possibi…
mosefer Sep 11, 2020
08683b4
#90: switched to @babel/core; minor version upgrade
Sep 11, 2020
027f830
Merge pull request #102 from NationalSecurityAgency/t#90/npm-dep-upgrade
mosefer Sep 11, 2020
c2a2501
Merge pull request #101
sudo-may Sep 11, 2020
a215710
#95: record cypress tests; temporarily skip maven tests
Sep 14, 2020
98263ee
#95: record cypress tests; temporarily skip maven tests
Sep 14, 2020
17236f9
#95: let's try running cypress tests in parallel
Sep 15, 2020
1e65cd4
#95: let's try running cypress tests in parallel
Sep 15, 2020
aaff192
#95: let's try running cypress tests in parallel
Sep 15, 2020
57990cb
#95: let's try running cypress tests in parallel
Sep 15, 2020
da3bdcb
#95: let's try running cypress tests in parallel
Sep 15, 2020
9d9427b
#44 - removed unused UIConfigProperties
Sep 16, 2020
cbce85c
Merge pull request #104
rmmayo Sep 16, 2020
39bb972
#44 - Wrapping ui client config properties within "clientLib" struct …
Sep 16, 2020
4e1f479
Merge pull request #105
sudo-may Sep 16, 2020
dbcd519
#89 upgraded groovy to 3.0.4, upgraded various other dependencies
mosefer Sep 10, 2020
d9a2c2d
#89 upgrading groovy to 3.0.5
mosefer Sep 14, 2020
a20dea8
Merge branch 'ticket#89/upgrade_maven_dependencies'
Sep 21, 2020
a1e1936
#106: correct that so that the achievement is awarded on the date of …
Sep 21, 2020
2bbc37b
#106: correct that so that the achievement is awarded on the date of …
Sep 22, 2020
c18280e
#106: integration tests
Sep 22, 2020
02f0ab3
#107 fixing bug that prevents startup in pki auth mode
mosefer Sep 22, 2020
798d8c9
#106: added backend retrieval of achieved date for individual skill a…
Sep 22, 2020
dc7801f
#106: Forgot header
Sep 22, 2020
6ff9a7b
#106: fixed where tests were not running for different screen sizes; …
Sep 23, 2020
b3e8bf3
#83 - added github workflow to run e2e tests w/ rabbitmq config
Sep 24, 2020
7f8f34a
#83 - added skills-stomp-broker docker file to skills-service
Sep 24, 2020
a905800
#83 - added skills-stomp-broker docker file to skills-service
Sep 24, 2020
cff5562
#83 - added skills-stomp-broker docker file to skills-service
Sep 24, 2020
95b8a79
#83 - added skills-stomp-broker docker file to skills-service
Sep 24, 2020
36bc2a9
#83 - added skills-stomp-broker docker file to skills-service
Sep 24, 2020
9bd77a7
#83 - added skills-stomp-broker docker file to skills-service
Sep 24, 2020
1dcce19
#83 - added skills-stomp-broker docker file to skills-service
Sep 24, 2020
8e39e72
#94 adding backend support to allow root users to search against all …
mosefer Sep 22, 2020
ffd2244
#94 adding project filter box for root users - WIP
mosefer Sep 24, 2020
fe4ab3b
#94 added pin/unpin capability to UI, improved search box, allow ROLE…
mosefer Sep 24, 2020
80ebe92
#106: enhanced client display point history endpoints to return achie…
Sep 24, 2020
8de1ab8
#106: enhanced client display point history endpoints to return achie…
Sep 24, 2020
0489047
#106: increased wait for animation time
Sep 25, 2020
f5f9cdc
#106: CI
Sep 25, 2020
e4708f8
#94 removing console logging statements
mosefer Sep 25, 2020
7fdeba0
#111 Bump skills-client-vue from 3.0.0 to 3.0.1
mosefer Sep 25, 2020
16947ee
#106: force timezone when formatting dates
Sep 25, 2020
a624bca
#106: added unit tests
Sep 25, 2020
a84618c
#106: removed snapshots temporarily to understand why they are differ…
Sep 25, 2020
2661544
#94 add integration tests
mosefer Sep 25, 2020
7b06b99
#106: got timezones explicitly specified
Sep 25, 2020
75c624f
Merge pull request #109
sudo-may Sep 25, 2020
a70298c
#94 adding e2e test
mosefer Sep 25, 2020
4afbac4
#103: record cypress runs for nightly CI runs
Sep 25, 2020
e706ad7
#94 removed .only
mosefer Sep 25, 2020
efec7e0
#83 - changed to run on schedule on master.
Sep 25, 2020
604da9b
#103: record cypress runs for nightly CI runs
Sep 25, 2020
c1b99aa
#106: removed dead code per code review
Sep 25, 2020
a6ec471
Merge pull request #112 from NationalSecurityAgency/t#106/achievement…
mosefer Sep 25, 2020
204610a
#94 fix security role
mosefer Sep 25, 2020
f9209a4
#94 fixing specs that relied on previous project loading behavior for…
mosefer Sep 25, 2020
096af67
#103: record cypress runs for nightly CI runs
Sep 25, 2020
d3232e7
#114: Configure test retries
Sep 25, 2020
ad86944
Merge pull request #113
rmmayo Sep 25, 2020
2472027
Merge pull request #115
rmmayo Sep 25, 2020
c3035a3
#94 npm build doesn't like .vue extension
mosefer Sep 28, 2020
b52b041
Merge pull request #116
rmmayo Sep 28, 2020
a63bcef
#83 - changed to run on push on master to test new docker image, the …
Sep 28, 2020
87ca9d5
#83 - changed to run on schedule on master.
Sep 28, 2020
e0416fc
#106 - updated badge summaries to use the acheivedOn date vs createdDate
Sep 28, 2020
e6454c7
#117 - add support for 3rd party oauth - WIP
Oct 2, 2020
bfbbd04
#117 - add support for 3rd party oauth - WIP
Oct 2, 2020
a4c9e35
#110 vue-virtual-scroll-list update introduced new api, refactor Icon…
mosefer Oct 2, 2020
c84bb1d
#110 added e2e tests
mosefer Oct 2, 2020
c774078
#110 picky license header format
mosefer Oct 2, 2020
a1e5dfd
#110 make icon selection tests less prone to failure
mosefer Oct 4, 2020
be500f5
#110 further attempts to molify ci-cypress
mosefer Oct 5, 2020
b563268
#110 removing .only from tests
mosefer Oct 5, 2020
8bfc602
#110 fixing call to virtual-scroll-list.reset() for font awesome tab
mosefer Oct 5, 2020
45900b0
#110 more appeasing cypress
mosefer Oct 5, 2020
a17fffa
Merge pull request #118
sudo-may Oct 5, 2020
3204cd9
#96 updated vee-validate version, changed form behavior, removed over…
mosefer Sep 30, 2020
0bbd72f
#96 fix e2e tests that used data-vv-name attribute, migrated to using…
mosefer Oct 1, 2020
210363c
#96 formatting
mosefer Oct 1, 2020
7adb66a
#96 updated tests that broke due to vee-validate upgrade, changed for…
mosefer Oct 2, 2020
210843f
#96 resolve npm build error
mosefer Oct 5, 2020
e929bdf
#57 - add support for 3rd party oauth - WIP
Oct 5, 2020
5888775
#96 fixing e2e tests
mosefer Oct 6, 2020
27c322f
#96 adding more e2e tests for EditSkill to exercise validators, fixin…
mosefer Oct 7, 2020
7a34c2c
#96 remove .only from skills_spec
mosefer Oct 7, 2020
2de6272
#96 validation e2e tests for levels
mosefer Oct 7, 2020
e3922ae
#96 removing .only from spec
mosefer Oct 7, 2020
20a2b19
#96 fixed skills_spec
mosefer Oct 8, 2020
413a09a
#96 make validation failure messages more consistent
mosefer Oct 8, 2020
5c437bf
#96 update specs due to changed validation message format
mosefer Oct 8, 2020
edeb327
#96 update specs due to changed validation message format
mosefer Oct 8, 2020
4629cd5
#96 make messages more consistent
mosefer Oct 8, 2020
30f71e2
#96 removing .only from badge spec
mosefer Oct 8, 2020
62628f9
#96 speed up settings spec
mosefer Oct 9, 2020
640a593
#96 enhance execution speed of settings spec
mosefer Oct 9, 2020
25fd76b
#96 removed betterEager validation interaction mode in favor of defau…
mosefer Oct 9, 2020
d7779e0
#96 fixing skill validation spec, removing .only from setting spec
mosefer Oct 9, 2020
3efa3ce
#96 removing commented out custom validation interaction mode
mosefer Oct 9, 2020
3b9c6c0
#117 - add support for 3rd party oauth - WIP
Oct 13, 2020
0066c01
#96 removing commented out test
mosefer Oct 15, 2020
71d5ea8
Merge pull request #119 from NationalSecurityAgency/ticket#96/upgrade…
sudo-may Oct 15, 2020
0ded0ab
Merge pull request #120 from NationalSecurityAgency/T#57_OAuth
rmmayo Oct 15, 2020
bde076a
#121 sync value on ValidationProvider in IdInput, value can be change…
mosefer Oct 19, 2020
5c4caf2
#121 add test to validate name triggering id validation
mosefer Oct 19, 2020
22159e3
#121 change input method for id field
mosefer Oct 19, 2020
112dbf3
#121 adding some additional e2e tests
mosefer Oct 19, 2020
7860116
#121 adding global badges e2e test
mosefer Oct 19, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
118 changes: 118 additions & 0 deletions .github/workflows/build-and-test-postgres.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
# Copyright 2020 SkillTree
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

name: Test against PostgreSQL

#on:
# push:
# paths-ignore:
# - 'README.md'
# pull_request:
# paths-ignore:
# - 'README.md'
on:
schedule:
- cron: '0 5 * * *'


jobs:
ci:
runs-on: ubuntu-latest

services:
postgres:
# Docker Hub image
image: postgres
# Provide the password for postgres
env:
POSTGRES_PASSWORD: skillsPassword
POSTGRES_DB: skills
# Set health checks to wait until postgres has started
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
# Maps tcp port 5432 on service container to the host
- 5432:5432

steps:
- name: Install Emoji Support
run: sudo apt-get install fonts-noto-color-emoji

- uses: actions/checkout@v2

- uses: actions/setup-node@v2-beta
with:
node-version: '12'

- name: Set up Maven
uses: stCarolas/setup-maven@v3
with:
maven-version: 3.6.3

- uses: actions/setup-java@v1
with:
java-version: '11.X.X' # The JDK version to make available on the path.

- name: Print Versions
run: |
mvn --version
java -version

- name: Cache local Maven repository
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-

- name: Build skills-service
run: mvn --batch-mode install -Dspring.datasource.url=jdbc:postgresql://localhost:5432/skills -Dspring.datasource.username=postgres -Dspring.datasource.password=skillsPassword

- name: Start Services for Cypress tests
run: |
cd e2e-tests
npm install
npm run backend:dropAllDBTables:postgres
npm run cyServices:start:skills-service:postgresql
npm run cyServices:start:client-display
cd ..

- name: Run Cypress tests
uses: cypress-io/github-action@v2
with:
working-directory: e2e-tests
record: true
parallel: false
group: 'skills-service against postgres'
env: db=postgres
env:
# pass the Dashboard record key as an environment variable
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
# pass GitHub token to allow accurately detecting a build vs a re-run build
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: upload result artifacts
if: ${{ always() }}
uses: actions/upload-artifact@v2
with:
name: CI result artifacts
path: |
./service/target/*.jar
./service/target/*.log
./e2e-tests/cypress
./e2e-tests/logs
107 changes: 107 additions & 0 deletions .github/workflows/build-and-test-rabbitmq.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
# Copyright 2020 SkillTree
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

name: Test Web Sockets over STOMP using RabbitMQ

#on:
# push:
# paths-ignore:
# - 'README.md'
# pull_request:
# paths-ignore:
# - 'README.md'
on:
schedule:
- cron: '0 6 * * *'


jobs:
ci:
runs-on: ubuntu-latest

services:
rabbitmq:
image: skilltree/skills-stomp-broker:1.0.0
ports:
# Maps port 15672 and 61613 on service container to the host
- 15672:15672
- 61613:61613

steps:
- name: Install Emoji Support
run: sudo apt-get install fonts-noto-color-emoji

- uses: actions/checkout@v2

- uses: actions/setup-node@v2-beta
with:
node-version: '12'

- name: Set up Maven
uses: stCarolas/setup-maven@v3
with:
maven-version: 3.6.3

- uses: actions/setup-java@v1
with:
java-version: '11.X.X' # The JDK version to make available on the path.

- name: Print Versions
run: |
mvn --version
java -version

- name: Cache local Maven repository
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-

- name: Build skills-service
run: mvn --batch-mode install -DskipTests

- name: Start services for Cypress tests
run: |
cd e2e-tests
npm install
npm run cyServices:start:skills-service:rabbitmq
npm run cyServices:start:client-display
cd ..

- name: Run Cypress tests
uses: cypress-io/github-action@v2
with:
working-directory: e2e-tests
record: true
parallel: false
group: 'skills-service with STOMP using RabbitMQ'
env:
# pass the Dashboard record key as an environment variable
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
# pass GitHub token to allow accurately detecting a build vs a re-run build
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}


- name: upload result artifacts
if: ${{ always() }}
uses: actions/upload-artifact@v2
with:
name: CI result artifacts
path: |
./service/target/*.jar
./service/target/*.log
./e2e-tests/cypress
./e2e-tests/logs
111 changes: 111 additions & 0 deletions .github/workflows/build-and-test-redis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
# Copyright 2020 SkillTree
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

name: Test storing HttpSession in Redis

#on:
# push:
# paths-ignore:
# - 'README.md'
# pull_request:
# paths-ignore:
# - 'README.md'
on:
schedule:
- cron: '0 6 * * *'


jobs:
ci:
runs-on: ubuntu-latest

services:
redis:
image: redis
# Set health checks to wait until redis has started
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
# Maps port 6379 on service container to the host
- 6379:6379

steps:
- name: Install Emoji Support
run: sudo apt-get install fonts-noto-color-emoji

- uses: actions/checkout@v2

- uses: actions/setup-node@v2-beta
with:
node-version: '12'

- name: Set up Maven
uses: stCarolas/setup-maven@v3
with:
maven-version: 3.6.3

- uses: actions/setup-java@v1
with:
java-version: '11.X.X' # The JDK version to make available on the path.

- name: Print Versions
run: |
mvn --version
java -version

- name: Cache local Maven repository
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-

- name: Build skills-service
run: mvn --batch-mode install -DskipTests

- name: Start services for Cypress tests
run: |
cd e2e-tests
npm install
npm run cyServices:start:skills-service:redis
npm run cyServices:start:client-display
cd ..

- name: Run Cypress tests
uses: cypress-io/github-action@v2
with:
working-directory: e2e-tests
record: true
parallel: false
group: 'skills-service with Redis'
env:
# pass the Dashboard record key as an environment variable
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
# pass GitHub token to allow accurately detecting a build vs a re-run build
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: upload result artifacts
if: ${{ always() }}
uses: actions/upload-artifact@v2
with:
name: CI result artifacts
path: |
./service/target/*.jar
./service/target/*.log
./e2e-tests/cypress
./e2e-tests/logs
Loading