Andrey Melnikov
467f7f71dd
fix: add missing comment
2021-10-26 15:29:12 -07:00
Andrey Melnikov
11fc055ee3
feat: cache artifactRepositoryType
2021-10-26 15:23:47 -07:00
Andrey Melnikov
d226028b33
feat: separate files from workflow and add endpoint to get pre-signed url
2021-07-30 12:52:50 -07:00
Andrey Melnikov
96fde4e005
feat: update templates to add node pool argument (WIP)
2020-12-25 16:32:15 -08:00
Andrey Melnikov
ec2a0f58ff
feat: increased default timeout for kubernetes to be 3 minutes as testing shows 1 minute happens fairly often
2020-12-16 21:33:10 -08:00
Andrey Melnikov
701d31cb74
feat: update kubernetes timeout to be set via environment variable
2020-12-08 13:22:19 -08:00
Andrey Melnikov
e29b6266e4
fix: added timeout to k8s so it doesn't wait forever.
2020-12-08 12:14:15 -08:00
Andrey Melnikov
b129a1da7d
fix: moved token to be inside client instead of sysconfig as it is not a system config value, but it is applicable to the current client.
...
This fixes some concurrency issues since you could have multiple requests handled at the same time that try to read and modify the system values.
2020-10-30 23:48:51 -07:00
Andrey Melnikov
b7d37586a8
fix: add method to get client with a provided db
2020-10-16 09:45:51 -07:00
Andrey Melnikov
7150f24631
feat: update incoming token to be a JWT token that takes in username
2020-10-12 16:07:12 -07:00
Andrey Melnikov
25049535e3
feat: Added generator for web routes. Added url for workflow executions.
2020-07-28 11:12:19 -07:00
Aleksandr Melnikov
8da35695de
Another comments adjustment.
2020-07-22 16:57:19 -07:00
Aleksandr Melnikov
fc7cdb5681
Another comments adjustment.
2020-07-22 16:46:14 -07:00
Aleksandr Melnikov
7bbeba544d
Fixing comments per Codacy.
2020-07-22 16:37:55 -07:00
Aleksandr Melnikov
1effb919d6
Per Codacy,
...
- Adding comments
- Refactoring variables names
- Fixing return variable order
2020-07-22 16:23:24 -07:00
Aleksandr Melnikov
7f6f58884a
Per discussion, combining Config structs into Provider.
2020-07-22 16:01:33 -07:00
Aleksandr Melnikov
16274dd946
Moving some attributes form S3Config to S3Provider.
2020-07-22 15:32:38 -07:00
Aleksandr Melnikov
6c0d3fe598
Refactored GCS client creation.
...
Added GetObject function to be consistent with S3 functionality.
Note
- pkg/client.go, line 88 passes in the JSON.
If ArtifactRepositoryGCSCondig was imported inside gcs.NewClient
code, an import cycle would be created.
2020-07-14 14:05:31 -07:00
Aleksandr Melnikov
7936eac98d
Adding a way to store the location of the secret and the secret key to use.
...
Adding another field to struct, which will store the ServiceAccountJSON.
- This will be generated by the API and used by the API for the GCS client.
2020-07-10 17:53:25 -07:00
Aleksandr Melnikov
2cd3f76299
Adding GetGCSClient function.
...
- Returns client that can interact with google cloud storage.
2020-07-08 12:51:45 -07:00
Andrey Melnikov
1e3a5d4faf
clean: Updated DB to be a struct with convenience functions for getting data.
2020-06-20 13:18:52 -07:00
Andrey Melnikov
5f6b995564
chore: added comments to some modified methods
2020-06-10 22:38:32 -07:00
Andrey Melnikov
483c79abb3
update: cache system config for entire application and not just per request
2020-06-10 14:19:33 -07:00
Andrey Melnikov
8cd3cc5836
update: cache system config
2020-06-08 14:03:59 -07:00
rushtehrani
3f5108121b
remove unused methods
2020-05-18 21:43:02 -07:00
rushtehrani
674c4f81e5
inject default artifact repository
2020-05-18 15:48:38 -07:00
rushtehrani
cf7d52bb19
namespace config updates
2020-05-18 12:34:05 -07:00
rushtehrani
c121116b9d
move envfrom to util
2020-05-14 00:33:46 -07:00
rushtehrani
3edbc809de
use EnvFrom for mounting env vars in workflows
2020-05-13 21:53:33 -07:00
rushtehrani
fd3dcdec9c
fix constant name
2020-05-13 21:34:07 -07:00
rushtehrani
2a5905d13b
store workspace information in database
2020-04-27 14:51:15 -07:00
Aleksandr Melnikov
8b459f882c
Fixing formatting.
2020-04-23 16:59:39 -07:00
Aleksandr Melnikov
be99db4ffc
Due to adjustments in manifests, and how S3 is stored,
...
we need to parse the new configuration and set it up to be available
as the code expects.
2020-04-23 16:59:26 -07:00
Aleksandr Melnikov
946849c6b6
Updating constants to look in new places for S3
2020-04-23 16:58:11 -07:00
Aleksandr Melnikov
c5c1179d64
Added function to GetBearerToken.
2020-04-15 10:10:45 -07:00
rushtehrani
ef5105201f
get database password from correct secret
2020-02-26 15:14:36 -08:00
rushtehrani
e3413d0669
v1.Client cleanup
2020-02-25 17:36:00 -08:00
rushtehrani
b40663948b
system config
2020-02-25 13:36:37 -08:00
rushtehrani
a01df001e7
use logrus grpc middleware
2020-02-20 11:52:40 -08:00
rushtehrani
4d0910846c
fix secrets
2020-02-19 14:44:54 -08:00
rushtehrani
9163f506cf
move s3 to pkg/util
2020-02-19 14:42:48 -08:00
rushtehrani
e0b2a5c1bb
fix secret encoding
2020-02-19 14:42:48 -08:00
rushtehrani
b928eb660d
fix s3 secret getter
2020-02-19 14:42:48 -08:00
rushtehrani
2e0ae10d56
move reusable components to pkg
2020-02-19 14:42:48 -08:00