Commit Graph

61 Commits

Author SHA1 Message Date
shockrah
995717afb3 * Fixing bad stage target in build-wiki job 2021-06-14 21:42:29 -07:00
shockrah
55c2e6d960 Merge branch 'wiki' of gitlab.com:shockrah/freechat into wiki 2021-06-14 19:02:33 -07:00
shockrah
1edab53778 * Fixing issue where a rougue popd broke the whole job 2021-05-12 16:19:41 -07:00
shockrah
f952b91a32 - Removing broken build job build-json-api
Issue seemed to be that artifacts were not being preserved properly.
This was causing failures in test stages where it was basicallly impossible to debug
"real" issues

- Removing artifacting (json-api) for now
They'll be re-added when there's a good way of verifying the quality of builds.
For now they're gone because the mock test stage is doing a lot of work already

+ mock-test job now builds json-api
This fixes the first issue this patches intends on fixing however it's kinda
cheesy and should probably be replaced at some point with a better fix
2021-05-12 16:04:58 -07:00
shockrah
83f846640c - Removing unused .env files
Opting now for config.json files as they better interoperability between node and rust

+ Hardcoding some variables into build-db.sh
This really shouldn't be an issue however

+ using cat to dump out what table structures are being setup due to strange bugs in pipeline
2021-05-10 15:58:57 -07:00
shockrahwow
bb55832064 + Adding roadmap
* Hopefully fixing pipeline script
Cargo kept trying to rebuild everything so hopefully the new change
forces a usage of artifacts that _should_ be there
2021-05-08 21:28:43 -07:00
shockrah
5d0f02507b - Removing build-keys job
Was basically pointless since it's literally just two commands

! full-mock-test job now has scripts/run-api-tests.sh as its source code
This makes it way easier to debug the pipeline when things go wrong as there's
lots of _different_ things going on in that script.
While the script itself is still there it is completely deprecated and safe to remove
at this point

! PAIN Peko
Dependancies might be fucked because gitlab-runner doesn't use deps at all and frankly
I'm completely over doing this stupid patch. Next is decentralized features which is way
more fun to do so if it breaks I'll fix it but its likely an issue with artifacts
2021-05-03 13:30:52 -07:00
shockrah
11d1652467 * Fixing push/popd path typo
* Removing export command from cargo-unit-test job
This was causing the job to fail so the env vars have been moved to live under
the ci file's job-level variables key
2021-05-01 17:13:32 -07:00
shockrah
f845f1e1ec + Adding missing args to build-sh script call 2021-05-01 16:56:25 -07:00
shockrah
1dcdbbaec4 Setting env variables for cargo test job 2021-05-01 16:52:33 -07:00
shockrah
1cf95f1f27 * Fixed issue with npm build that was supposed to be npm install 2021-05-01 16:28:59 -07:00
shockrah
4218bc396a - Removing changes tracker for now
! Even though this mains we're going to cargo build a lot more than normal
it also means pipeline status won't be fucked for no reason(hopefully)
2021-05-01 16:16:08 -07:00
shockrah
5498766c1e + Adding in script to setup python package requirements
* Also I've updated the docker image that this pipeline uses as it didn't have node
and pip installed for some reason
Link to relevant docker image: https://hub.docker.com/r/shockrah/fc-pipeline
2021-05-01 15:46:17 -07:00
shockrah
1805023afd * Changing target docker to pipeline docker image
* Increasing expries_in flags to be 30 minutes from 15
+ Adding build-keys job which builds hmac keys
+ build-rtc-server: simple build job
* Moving cargo-test-json-api (unit tests) to the bottom with the other tests

! full-mock-tests are now implemented so its time to watch them fail horribly
2021-05-01 15:10:18 -07:00
shockrah
85660e2fc9 - Removing old scripts that aren't useful to anyone but myself
+ Adding new bootstrapping script for Docker testing pipeline
This build-database script is what is going to setup things like our tables for us
so that we can actually run our test queries

! Basically turning off the ci right now since its going through some large breaking changes
It's going to be broken for a while so there's no point in running it into
a wall of predictable failures
2021-04-29 21:32:43 -07:00
shockrah
33716e5b7b Only building wiki if changes are detected 2021-03-03 17:39:55 -08:00
shockrah
e893800dab removing empty artifacts section from build-wiki job 2021-02-23 22:19:12 -08:00
shockrah
c4db03f962 Merging new wiki into master 2021-02-18 16:30:16 -08:00
shockrah
c896870397 Reformatting of wiki:
* Adding endpoint docs and correcting some typesetting mistakes
* Change qs params to match documentation
* Splitting up articles to geneate the sidebar links properly'
* Bad baseurl issue fixed in previous patch
2021-02-18 16:29:29 -08:00
shockrah
035fdd6a36 new job for channer build
- removing unused code
2021-02-17 17:24:28 -08:00
shockrah
d4d6f19c5f fixing busted html output from hugo 2021-02-16 13:48:26 -08:00
shockrah
fc5d925c60 Pre script for ssh agent 2021-02-15 21:16:05 -08:00
shockrah
9983824e15 using latest build from shockrah/website docker images 2021-02-15 21:11:12 -08:00
shockrah
974506e4d7 using blog image for wiki deployment/builds 2021-02-15 21:01:00 -08:00
shockrah
3ca34ec099 uploading wiki to personal vps because why not 2021-02-15 20:59:24 -08:00
shockrah
376d307a61 no clue if this will work but let's find out 2021-02-13 19:06:59 -08:00
shockrah
d2144ef7e9 Yolo: adding cargo_home to arti's and copying over run restricts to test-json-api job 2021-02-13 18:57:32 -08:00
shockrah
5392e0e69a fixed mssing ref key in only restriction 2021-02-13 18:48:11 -08:00
shockrah
d243623202 only building json on actual changes 2021-02-13 18:46:23 -08:00
shockrah
fb9a1e05f5 Setting up recursive submodule strategy 2021-02-13 18:30:44 -08:00
shockrah
b5ebb04e80 moving docs pages to build stage 2021-02-13 18:22:11 -08:00
shockrah
fbf4880d46 Starting content to test deployment 2021-02-13 18:14:42 -08:00
shockrah
0a06b56da0 Moving docs building to master since its such a cheap procedure 2021-02-13 18:11:10 -08:00
shockrah
89e213b2c1 -r added to cp 2021-02-13 17:25:02 -08:00
shockrah
41e5a21699 amending the incorrect docker image issu 2021-02-13 17:22:18 -08:00
shockrah
d2f6ca8c62 Fixing needs relationship for test-json-api 2021-02-13 17:19:46 -08:00
shockrah
c1809e706a fixing wrong branch name in pipeline 2021-02-13 17:15:28 -08:00
shockrah
4b346c60e6 Starting content to test deployment 2021-02-13 17:14:41 -08:00
shockrah
bd684a8f5d Fixing target artifact for test job to use 2021-02-11 20:27:38 -08:00
shockrah
a876aa7ccf Passing deps from build task to test task(hopefully) 2021-02-11 20:12:53 -08:00
shockrah
4ef274d302 using newly updated docker image 2021-02-10 17:43:25 -08:00
shockrah
2a3210e819 using base rust image for building for sizing reasons 2021-02-10 17:40:26 -08:00
shockrah
8dd42606bd New pipeline script for master branch updated to support new project structure 2021-02-09 14:58:20 -08:00
shockrah
8a0b2cb190 switching to new testing scheme in gitlab-ci.yml 2020-08-22 15:43:19 -07:00
shockrah
489fdb69b8 target/ directory was being ignore so we override that in the cache section
also changed the key to the ci_job_name
diesel setup now happens before we build the release binary
2020-08-10 17:15:29 -07:00
shockrah
0cee67ce69 using release builds instead of debug builds to make tests run faster
Added /server/target to cache
2020-08-10 14:04:58 -07:00
shockrah
7895eca99e fixed indentation issue 2020-08-10 13:45:47 -07:00
shockrah
e4c6c46061 Proper build caching and updating needs field for testing stage 2020-08-10 13:44:18 -07:00
shockrah
baae2caaf0 testing cargo run as it never really starts up 2020-08-09 23:39:03 -07:00
shockrah
ed8f15b17c fixed broken array for needs field in testing stage 2020-08-09 23:29:02 -07:00