feat: release rdbms to production (#45169)

* fix: add cert to email for when all certs are earned

* fix: unhide rdbms from production

* fix: cert project input field

* feat: add cypress tests

* fix: message on project pages to lower expectations

* fix: update instructions

* fix: add quincy's suggestions

* fix: add beta label and reorder

* fix: utils test

* fix: move rdbms to bottom of settings

* fix: cypress tests

* Apply suggestions from code review

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

* fix: only drop seeded users webhook tokens

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
This commit is contained in:
Tom
2022-03-04 04:08:09 -06:00
committed by GitHub
parent 68ad98f83d
commit 84c305ab08
28 changed files with 225 additions and 115 deletions

View File

@@ -13,11 +13,11 @@ This is one of the required projects to earn your certification. For this projec
# --instructions--
**Important:** After you pass all the project tests, save a dump of your database into a `number_guessers.sql` file, as well as your whole `number_guessing_game` folder, so you can complete step 2. There will be instructions how to do that within the virtual machine.
**Important:** After you pass all the project tests, save a dump of your database into a `number_guess.sql` file, as well as your whole `number_guess.sh` file, so you can complete step 2. There will be instructions how to do that within the virtual machine.
# --notes--
Required files: `number_guessers.sql`, and the whole `number_guessing_game` folder
Required files: `number_guess.sql`, `number_guess.sh`
# --hints--

View File

@@ -13,11 +13,11 @@ This is one of the required projects to earn your certification. For this projec
# --instructions--
**Important:** After you pass all the project tests, save a dump of your database into a `elements.sql` file, as well as your whole `periodic_table` folder, so you can complete step 2. There will be instructions how to do that within the virtual machine.
**Important:** After you pass all the project tests, save a dump of your database into a `periodic_table.sql` file, as well as your `element.sh` file, so you can complete step 2. There will be instructions how to do that within the virtual machine.
# --notes--
Required files: `elements.sql`, and the whole `periodic_table` folder
Required files: `periodic_table.sql`, `element.sh`
# --hints--

View File

@@ -9,7 +9,7 @@ dashedName: build-a-kitty-ipsum-translator
# --description--
In this 140 lesson course, you will learn some more complex commands, and the details of how commands work.
In this 140-lesson course, you will learn some more complex commands, and the details of how commands work.
# --instructions--

View File

@@ -9,7 +9,7 @@ dashedName: build-a-bike-rental-shop
# --description--
In this 210 lesson course, you will build an interactive Bash program that stores rental information for your bike rental shop using PostgreSQL.
In this 210-lesson course, you will build an interactive Bash program that stores rental information for your bike rental shop using PostgreSQL.
# --instructions--

View File

@@ -9,7 +9,7 @@ dashedName: build-a-boilerplate
# --description--
In this 170 lesson course, you will learn basic commands by creating a website boilerplate using only the command line.
In this 170-lesson course, you will learn terminal commands by creating a website boilerplate using only the command line.
# --instructions--

View File

@@ -9,7 +9,7 @@ dashedName: build-five-programs
# --description--
In this 220 lesson course, you will learn more terminal commands and how to use them within Bash scripts by creating five small programs.
In this 220-lesson course, you will learn more terminal commands and how to use them within Bash scripts by creating five small programs.
# --instructions--

View File

@@ -9,7 +9,7 @@ dashedName: build-an-sql-reference-object
# --description--
In this 240 lesson course, you will learn how Git keeps track of your code by creating an object containing commonly used SQL commands.
In this 240-lesson course, you will learn how Git keeps track of your code by creating an object containing commonly used SQL commands.
# --instructions--

View File

@@ -9,7 +9,7 @@ dashedName: build-a-castle
# --description--
In this 40 lesson course, you will learn how to edit files in the terminal with Nano while building a castle.
In this 40-lesson course, you will learn how to edit files in the terminal with Nano while building a castle.
# --instructions--

View File

@@ -9,7 +9,7 @@ dashedName: build-a-mario-database
# --description--
In this 165 lesson course, you will learn the basics of a relational database by creating a PostgreSQL database filled with video game characters.
In this 165-lesson course, you will learn the basics of a relational database by creating a PostgreSQL database filled with video game characters.
# --instructions--

View File

@@ -9,7 +9,7 @@ dashedName: build-a-student-database-part-1
# --description--
In this 140 lesson course, you will create a Bash script that uses SQL to enter information about your computer science students into PostgreSQL.
In this 140-lesson course, you will create a Bash script that uses SQL to enter information about your computer science students into PostgreSQL.
# --instructions--

View File

@@ -9,7 +9,7 @@ dashedName: build-a-student-database-part-2
# --description--
In this 140 lesson course, you will complete your student database while diving deeper into SQL commands.
In this 140-lesson course, you will complete your student database while diving deeper into SQL commands.
# --instructions--

View File

@@ -25,19 +25,19 @@ const superBlockToOrder = {
'javascript-algorithms-and-data-structures': 1,
'front-end-development-libraries': 2,
'data-visualization': 3,
'relational-database': 4,
'back-end-development-and-apis': 5,
'quality-assurance': 6,
'scientific-computing-with-python': 7,
'data-analysis-with-python': 8,
'information-security': 9,
'machine-learning-with-python': 10,
'coding-interview-prep': 11
'back-end-development-and-apis': 4,
'quality-assurance': 5,
'scientific-computing-with-python': 6,
'data-analysis-with-python': 7,
'information-security': 8,
'machine-learning-with-python': 9,
'coding-interview-prep': 10,
'relational-database': 12
};
const superBlockToNewOrder = {
...superBlockToOrder,
'2022/responsive-web-design': 12
'2022/responsive-web-design': 11
};
function getSuperOrder(

View File

@@ -25,14 +25,14 @@ describe('getSuperOrder', () => {
expect(getSuperOrder('javascript-algorithms-and-data-structures')).toBe(1);
expect(getSuperOrder('front-end-development-libraries')).toBe(2);
expect(getSuperOrder('data-visualization')).toBe(3);
expect(getSuperOrder('relational-database')).toBe(4);
expect(getSuperOrder('back-end-development-and-apis')).toBe(5);
expect(getSuperOrder('quality-assurance')).toBe(6);
expect(getSuperOrder('scientific-computing-with-python')).toBe(7);
expect(getSuperOrder('data-analysis-with-python')).toBe(8);
expect(getSuperOrder('information-security')).toBe(9);
expect(getSuperOrder('machine-learning-with-python')).toBe(10);
expect(getSuperOrder('coding-interview-prep')).toBe(11);
expect(getSuperOrder('back-end-development-and-apis')).toBe(4);
expect(getSuperOrder('quality-assurance')).toBe(5);
expect(getSuperOrder('scientific-computing-with-python')).toBe(6);
expect(getSuperOrder('data-analysis-with-python')).toBe(7);
expect(getSuperOrder('information-security')).toBe(8);
expect(getSuperOrder('machine-learning-with-python')).toBe(9);
expect(getSuperOrder('coding-interview-prep')).toBe(10);
expect(getSuperOrder('relational-database')).toBe(12);
});
it('returns a different order if passed the option showNewCurriculum: true', () => {
@@ -53,36 +53,36 @@ describe('getSuperOrder', () => {
expect(
getSuperOrder('data-visualization', { showNewCurriculum: true })
).toBe(3);
expect(
getSuperOrder('relational-database', { showNewCurriculum: true })
).toBe(4);
expect(
getSuperOrder('back-end-development-and-apis', {
showNewCurriculum: true
})
).toBe(5);
).toBe(4);
expect(
getSuperOrder('quality-assurance', { showNewCurriculum: true })
).toBe(6);
).toBe(5);
expect(
getSuperOrder('scientific-computing-with-python', {
showNewCurriculum: true
})
).toBe(7);
).toBe(6);
expect(
getSuperOrder('data-analysis-with-python', { showNewCurriculum: true })
).toBe(8);
).toBe(7);
expect(
getSuperOrder('information-security', { showNewCurriculum: true })
).toBe(9);
).toBe(8);
expect(
getSuperOrder('machine-learning-with-python', { showNewCurriculum: true })
).toBe(10);
).toBe(9);
expect(
getSuperOrder('coding-interview-prep', { showNewCurriculum: true })
).toBe(11);
).toBe(10);
expect(
getSuperOrder('2022/responsive-web-design', { showNewCurriculum: true })
).toBe(11);
expect(
getSuperOrder('relational-database', { showNewCurriculum: true })
).toBe(12);
});
});