-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proctor version 2 #86
Open
jasoet
wants to merge
282
commits into
gojek:master
Choose a base branch
from
gopaytech:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
282 commits
Select commit
Hold shift + click to select a range
4b5aacf
[Jasoet|Bimozx] V2: Finish Watch pod Status
jasoet d3891a0
[Jasoet|Bimozx] V2: Fix test after adding watch pod
jasoet b00f5ea
[Jasoet|Bimozx] V2: Add integration test for execution service
jasoet adcf8f6
[Jasoet|Bimozx] V2: Change makefile adds integration test
jasoet bbfa18c
[Jasoet|Bimozx] V2: Implement Execution Http Handler
jasoet bd0f997
[bimo.horizon|jasoet] Renamed http handler to just http
dc6fbf8
[bimo.horizon|jasoet] Fix insufficient mock
72ff223
[bimo.horizon|jasoet] Add test for execution handler
d70c055
[bimo.horizon|jasoet] Change assert expectations location to be neare…
49c7c84
[bimo.horizon|jasoet] Add not found test of job execution status handler
54e1567
[bimo.horizon|jasoet] Swap job execution related routes to use the ne…
9feebe9
[bimo.horizon|jasoet] Change imports placement on router according to…
99f2654
[Jasoet|Bimozx] V2: Change Router route
jasoet 2bf96aa
[bimo.horizon|jasoet] Change store to repo in schedule handler
76796e0
[Jasoet|Bimozx] V2: Migrate middleware to server
jasoet 2c26b75
[bimo.horizon|jasoet] Add handler status constants
06944a6
[bimo.horizon|jasoet] Update dependency
bca22a3
[bimo.horizon|jasoet] Rename metadata handler to maintain consistency
aa15d88
[bimo.horizon|jasoet] Change handler method name
b6a7aed
[Jasoet|Bimozx] V2: Fix race condition
jasoet ca2a1b9
[bimo.horizon|jasoet] Add json notation to schedule model
2ae7331
[bimo.horizon|jasoet] Swap constant usage with a more specific handle…
321ca30
[bimo.horizon|jasoet] Change handler name to be more descriptive
9789a0c
[bimo.horizon|jasoet] Update schedule handler
cb9e74c
[bimo.horizon|jasoet] Add schedule handler test
f51d62f
Merge branch 'hexa' of github.com:jasoet/proctor into hexa
e7839dd
[bimo.horizon|jasoet] Add missing schedule handler test
89a5473
[bimo.horizon] Change inconsistent 'id' naming to 'ID' instead
d8f1b93
[bimo.horizon] Update dependencies
5ab3078
[bimo.horizon] Change mailer send method to use execution context and…
3cbb3e6
[bimo.horizon] Add worker service
fb2a68f
[bimo.horizon|mazbergaz] Move scheduler start to worker
175f05c
[bimo.horizon|mazbergaz] Remove scheduler and move the start function…
c7ff333
[bimo.horizon|mazbergaz] Swap out audit log persistence on test to ex…
c28db60
[bimo.horizon|mazbergaz] Move docs into service
a3d5e13
[bimo.horizon|mazbergaz] Remove unneeded app proctord
81b740e
[bimo.horizon|mazbergaz] Move worker email to worker
dcbb2ea
[bimo.horizon|mazbergaz] Change Http instance to HTTP to follow prope…
bc5f9e9
[Jasoet] Add wait time on integration test
jasoet d639d1e
[bimo.horizon] Fix incorrect routes
8a96f1a
Merge branch 'hexa' of github.com:jasoet/proctor into hexa
22863ba
[bimo.horizon] Change binary name
53c643e
[Jasoet] Fix cmd folder name and Makefile
jasoet e934aed
[Jasoet] Merge utility helper to particular app
jasoet 1ce5136
[Jasoet] Fix goreleaser build config
jasoet 58fec01
[Jasoet|Bimo.horizon] Functional Test: add script to package procs an…
jasoet 5abcaa7
[Jasoet|Bimo.horizon] Add Gracefull Shutdown for Proctor Server
jasoet 61f83dc
[Jasoet|Bimo.horizon] Tyding Go Mod
jasoet 563569e
[Jasoet] fix validate client middleware bug
jasoet 2c06061
[Jasoet|Bimo.horizon] Fixing Proctor CLI
jasoet 551408a
Fix some failing tests
c662fd1
[Jasoet|Bimo.horizon] Fix Failed Test
jasoet fcffb87
[Jasoet|Bimo.horizon] Make CLI message more descriptive
jasoet aa9deb3
[Jasoet|Bimo.horizon] Store image tag from metadata
jasoet 6a6f153
Add log command
22d6c2f
Change test mock value
3dec7b2
[Jasoet] Create new table for ScheduleContext
jasoet 30b7dac
[Jasoet] Add test for Schedule Context Table
jasoet 91c7387
[Jasoet] Fix test for Schedule Worker
jasoet ceea1e1
[Jasoet] Move Worker into Schedule
jasoet f6c0604
[Jasoet] Add Insert Schedule Context on Worker
jasoet 5215b60
[Jasoet|Bimo.horizon] Change mechanism to persist when execute job
jasoet d92642f
[bimo.horizon] Add updated at on execution result model
c0ced64
[bimo.horizon] Split get status method into two method with polling a…
2ed331d
[bimo.horizon] Tidy import order
ba14065
[bimo.horizon] Add id generation on insert and delete
a32994e
[bimo.horizon] Add status cmd
0e66060
[bimo.horizon] Add missing make command
f2a3795
Merge branch 'master' of github.com:jasoet/proctor
5f42a29
[bimo.horizon] Remove unneeded tests
b387375
[bimo.horizon] Fix failing test caused by moved execution id generation
0e849f5
[bimo.horizon] Add missing mocks
2c7006b
[bimo.horizon] Fix failing test because weird log behavior
e7de4cd
[Jasoet] Set integration to disable parallel build
jasoet 7915d05
[Jasoet] Move printer to cli
jasoet c4d8fef
[bimo.horizon] Reduce integration test waiting time
dfc5bf3
[Jasoet] Add Security Service
jasoet 1cca83a
[Jasoet] Add test for Verify Auth
jasoet efde137
[bimo.horizon] Add yaml dependency
621b364
[bimo.horizon] Move schedule flags declaration from root to its own c…
98f7d06
[bimo.horizon] Fix executioner help grammar
6c0e1be
[bimo.horizon] Move args parsing to its own utility
b073ff3
[bimo.horizon] Add yaml parsing support on executioner command
f00fb02
[bimo.horizon] Add example yaml file for testing
6e3b9d8
[bimo.horizon] Add make entry of executing with yaml
8cc23d8
[Jasoet] Enable Integration test for plugin
jasoet 1983073
[Jasoet] Change Config Mechanism
jasoet 4ee383a
[Jasoet] Add Reset Mechanism for Config() using atomic boolean
jasoet 76bbaad
[Jasoet] Remove unused log
jasoet fab4852
[Jasoet] Change config mechanism for gate
jasoet be9cce9
Merge branch 'master' into plugin
jasoet 1dc2c6e
[GOJ-100075] Add template command
12536e1
Add template to root command
ba97067
Add WriteYAML to utility
6e5950e
[Dembo] Refactor cli daemon client test to extract method for mock li…
walbertus b75c806
[Dembo] Refactor cli daemon client test to extract method for mock ex…
walbertus 4c7c393
[Dembo] Refactor cli daemon client test to extract method for mock sc…
walbertus 115cef3
[Dembo] Refactor cli daemon client test to extract method for mock ex…
walbertus 6aa5496
[Dembo] Refactor cli daemon client test to extract method for mock de…
walbertus 4e458a4
[Dembo] Refactor cli daemon client test to extract method for mock li…
walbertus 23ab010
[Dembo] Refactor cli daemon client test to extract method for mock re…
walbertus d3ca03c
[Dembo] Refactor cli daemon client test to delete mock requests to ge…
walbertus 46f7ad9
[Dembo] Refactor cli daemon client test to inline specific mock request
walbertus 80cb621
[Dembo] Add test gate client get user profile success
walbertus 43b971a
Add poll count config
461b00e
Tidy up long line
f1a6c07
Tidy import entries
9209f1d
Fix type
26dee2f
Add poll count to config entry
c89b1af
Fix coverage not detected
70abd83
Add test for #Close and #GetDB method
9ad7a47
Add generic timeout error
ce469c2
Add kubernetes resource poll retries
c6d95f6
Fix test result typo
e56fa8e
[Dembo] Update test gate client get user profile success to make make…
walbertus a78047c
[Dembo] Add test gate client get user profile unauthenticated
walbertus 723a1e2
[Dembo] Add test gate client get user profile not found
walbertus e8dfa3a
[Dembo] Refactor test gate client get user profile to move variable body
walbertus accf808
[Dembo] Add test gate client get user profile server failure
walbertus f70e3f2
[Dembo] Add test gate client get user profile connection failure
walbertus 9a9e3be
[Dembo] Add test plugin gate auth success
walbertus f6aba75
[Dembo] Add test plugin gate auth wrong token
walbertus 439717a
[Dembo] Add test plugin gate auth wrong email
walbertus 6ce3a76
[Dembo] Add test plugin gate auth verify success
walbertus 1d59b36
[Dembo] Add test plugin gate auth verify inactive user
walbertus 542b0a2
[Dembo] Add test plugin gate auth verify insufficient group
walbertus 61b0ae0
[Dembo] Add integration test plugin gate client get user profile success
walbertus 70f25ee
[Dembo] Add makefile command to run plugin integration test
walbertus 8b1ab47
[Dembo] Add integration test plugin gate client get user profile unau…
walbertus 756c986
[Dembo] Add integration test plugin gate client get user profile not …
walbertus fe87699
[Dembo] Refactor test plugin gate client to extract constant message
walbertus d9b16ff
[Dembo] Update response api mock for gate get user profile
walbertus 2b8d849
[Dembo] Security middleware authentication success case
walbertus b7e32fc
[Dembo] Security middleware authentication without token case
walbertus 14c41b4
[Dembo] Security middleware authentication without email case
walbertus 2eb2fae
[Dembo] Security middleware authentication auth failed case
walbertus 8d6ca7b
[Dembo] Update security middleware authentication success case to giv…
walbertus 5ce979a
[Dembo] Security middleware authorization success case
walbertus 4b557c7
[Dembo] Security middleware authorization case without name
walbertus 4b2b099
[Dembo] Security middleware authorization case metadata error
walbertus 481635c
[Dembo] Security middleware authorization case without user detail
walbertus 41538e0
[Dembo] Security middleware authorization case authorization failed
walbertus ecaac86
[Dembo] Refactor security middleware authorization to extract job met…
walbertus 5a19ea8
[Dembo] Security middleware authorization success case for schedule
walbertus 34a11ec
Change retry mechanism of wait for ready job and pod
495af04
[Jasoet|Dembo] Set machine ID for snowflakeId
jasoet 40f6cce
[Jasoet|Dembo] Tidyup security middleware
jasoet b8f0145
[Jasoet|Dembo] Add authentication and authorization to router
walbertus aef8bcf
[Jasoet|Dembo] Integrate security service with plugin
walbertus 97948fd
[Dembo] Add env flag for auth
walbertus 1ef1d10
[Jasoet|Dembo] Merge with Master
jasoet 8dbf85b
[Jasoet|Dembo] Rename wrong config name
walbertus 01eaf97
[Jasoet|Dembo] Set auth default to false
walbertus 1bef2fc
[Dembo] Add docker capability
walbertus b81d8e8
[Dembo] Use multistage build for docker
walbertus 0100b14
Add error message when watch is throwing an error
e001efc
Merge branch 'master' of github.com:jasoet/proctor
830ccb8
[Dembo] Copy migrations to docker image
walbertus 2d9d809
[Dembo] Install ca-certificates in docker image
walbertus 98d633a
[Dembo] Change cli schedule id payload
walbertus a6f6f2e
[Dembo] Remove schedule job payload model from cli
walbertus c86016e
[Dembo] Change schedule time to cron
walbertus 2d149fd
[Dembo] Sync schedule payload model between cli and service
walbertus 710f374
Merge branch 'master' into docker
walbertus 390b676
[Dembo] Add readme content
walbertus a95aaae
[Dembo] Add travis stage to publish docker image
walbertus 666cd62
[Dembo] Change docker login on travis
walbertus d0737c0
[Dembo] Add tags to schedule
walbertus cbcbfee
[Dembo] Add tags to schedule payload
walbertus 78927e7
[Dembo] Add mechanism for middleware to ignore route
walbertus 47c30fa
[Dembo] Exclude common route from authentication
walbertus 7e90d70
[Dembo] Add content for security in README
walbertus b0a812e
[Dembo] Add configuration for kubernetes service name
walbertus c7663a5
[Dembo] Edit kubernetes execute job with custom service name
walbertus 3be5e90
[Dembo] Add notification mechanism interfaces
walbertus 4d09986
[Jasoet] Change binary name for proctor2
jasoet 81ffc87
[Jasoet] Enable prometheus metrics exporter
jasoet f9687f4
[Dembo] Add execution event
walbertus ca1861e
Merge pull request #1 from jasoet/prometheus
jasoet c7767a8
[Dembo] Add observer mock
walbertus 885e52c
[Dembo] Add slack notification client
walbertus b970e6e
[Dembo] Add standard slack notification message
walbertus 12d1f48
[Dembo] Add slack notification plugin main struct
walbertus 0735f94
[Dembo] Change observer signature to return error
walbertus c1ddb05
[Dembo] Add test for slack notification plugin on publish error
walbertus c0ebbf3
[Dembo] Change message structure to publish
walbertus 332f2c7
[Dembo] Add slack client integration test
walbertus 494a57e
[Dembo] Add proctor config for notification plugin binary and exported
walbertus fd8c804
[Dembo] Add test integration plugin with slack notification
walbertus 0025526
[Dembo] Add notification service
walbertus 5614c58
[Dembo] Add notification service to execution handler
walbertus 91e4348
[Dembo] Refactor move standard message to own package
walbertus 5a68f3e
[Dembo] Refactor extract standard message to own file
walbertus e4e9dc2
[Dembo] Refactor move formatting to message object
walbertus cc82a27
[Dembo] Add slack execution message
walbertus c17f231
[Dembo] Change slack notification to use execution message
walbertus 5d6a78f
[Dembo] Add error when slack request fail
walbertus b4e2570
[Dembo] Slack notification will send standard message for unsupported…
walbertus 8e97e63
[Dembo] Change content of standard slack message
walbertus 480adc9
[Dembo] Remove unused code
walbertus 35f73b0
[Dembo] Refactor slack notification to extract method for generate me…
walbertus 3f2b0d9
[Dembo] Update readme about plugin
walbertus 74a39d6
[Dembo] Change event type signature to return type
walbertus 1f33a58
[Dembo] Change config type for notification plugin binary
walbertus 456f621
[Dembo] Change config type for notification plugin exported name
walbertus 258cd2a
[Dembo] Add integration test for slack notification plugin
walbertus 70fef21
Merge pull request #2 from jasoet/notification
jasoet 7a9027a
[Jasoet] Enable Admin Authorization
jasoet 34a5cdf
Merge pull request #3 from jasoet/adminAuth
walbertus a8a86c5
update README for local setup
mazbergaz 5309e99
Merge pull request #4 from mazbergaz/readme-update-setup
jasoet 2ec9c09
[Jasoet] Enable Support for Yaml Config
jasoet bd9bb20
[Jasoet] Fix load env on makefile
jasoet 8bc6d05
[Jasoet] Add current directory as config path
jasoet 4dfb872
[Jasoet] Change config loader logic
jasoet c5c56d0
[Jasoet] Revert config to match current yggdrasil
jasoet bb47b6a
[Jasoet] resolve failed test
jasoet e51cc1b
Merge pull request #5 from jasoet/yaml
jasoet dd0501e
Add cli feature list on readme
walbertus 8b4aadd
[Jasoet|Dembo] fix required parameter check on CLI
jasoet 48e3276
[Jasoet|Dembo] remove documentation for yaml file flag
jasoet 27ef13f
[Jasoet|Dembo] add missing env variable on README
jasoet d12c05b
[hadrian.siregar|bimo.horizon] Inject user email to execution argumen…
hadrianbs 0278713
[hadrian.siregar|bimo.horizon] Inject context args to execution args …
hadrianbs e827d70
remove unnecessary test code
hadrianbs 91fb85f
Merge pull request #7 from jasoet/feature/add-proctor-author-to-env-var
jasoet 0257fdf
[Eko] Fix typo and hyperlink on plugin.md
ecojuntak fce7752
Merge pull request #8 from ecojuntak/master
jasoet 8ee8810
[Dembo|Hadrian.Siregar] Change order of message content for slack
walbertus 69d8eac
[Dembo|Hadrian.Siregar] Change route order to monitor correct route i…
walbertus 901c953
[Jasoet] fix(version): Fix client version checking
jasoet 757c8d8
[Jasoet] fix(version): Client Version to v2.0.2
jasoet 4ad8418
[Jasoet] fix(version): Client Version to v2.0.3
jasoet 30c7e6f
[Jasoet] script(goreleaser): setup binary target
jasoet 1ab8ff9
[william.dembo] test(cli-version): update broken test for version cli
walbertus a2e8cf9
[william.dembo] fix(schedule-worker): fix wrong config for mailer
walbertus a096965
[william.dembo] chore(travis): add travis-ci to run test on pipeline
walbertus a3d1c74
Bump version 2.0.4
walbertus c06e2bd
[william.dembo] feat(config): add config for redis password
walbertus cdfa4cf
[william.demo] feat(redis): able to use password for redis connection
walbertus f65e2c4
[william.dembo] chore(env): set default redis password to empty
walbertus 2bd2506
Bump version 2.0.5
walbertus 77117f6
[Jasoet] feat(metadata): Show jobs list now depends on user's authent…
jasoet 3b6ce1f
Bump version 2.0.6
walbertus 6e38b40
[william.dembo] feat(authentication): Add context to check authentica…
walbertus ae0f798
[william.dembo] feat(metadata): handle case when authentication is di…
walbertus dc49f52
Bump version 2.0.7
walbertus 8393bef
[Ralibi] fix(schedule-handler) Add optional second before cron valida…
d4fa37e
Bump version 2.0.8
0293cb8
[Ralibi] script(goreleaser): Updated config file
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
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,10 @@ | ||
.env | ||
scripts/proctor.rb | ||
_output/* | ||
|
||
*.swp | ||
*.swo | ||
.idea | ||
.DS_Store | ||
.vscode/ | ||
dist/ |
This file was deleted.
Oops, something went wrong.
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,34 +1,38 @@ | ||
export ENVIRONMENT=test | ||
export PROCTOR_KUBE_CONFIG=out-of-cluster | ||
export PROCTOR_KUBE_CONTEXT=minikube | ||
export PROCTOR_LOG_LEVEL=debug | ||
export PROCTOR_APP_PORT=5000 | ||
export PROCTOR_DEFAULT_NAMESPACE=default | ||
export PROCTOR_REDIS_ADDRESS=localhost:6379 | ||
export PROCTOR_REDIS_PASSWORD= | ||
export PROCTOR_REDIS_MAX_ACTIVE_CONNECTIONS=10 | ||
export PROCTOR_KUBE_JOB_ACTIVE_DEADLINE_SECONDS=60 | ||
export PROCTOR_KUBE_JOB_RETRIES=0 | ||
export PROCTOR_KUBE_SERVICE_ACCOUNT_NAME=default | ||
export PROCTOR_LOGS_STREAM_READ_BUFFER_SIZE=140 | ||
export PROCTOR_LOGS_STREAM_WRITE_BUFFER_SIZE=4096 | ||
export PROCTOR_KUBE_CLUSTER_HOST_NAME=localhost:8001 | ||
export PROCTOR_KUBE_POD_LIST_WAIT_TIME=5 | ||
export PROCTOR_KUBE_CA_CERT_ENCODED=LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCmNlcnRpZmljYXRlCi0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K | ||
export PROCTOR_KUBE_BASIC_AUTH_ENCODED=YWRtaW46cGFzc3dvcmQK | ||
export PROCTOR_KUBE_WAIT_FOR_RESOURCE_POLL_COUNT=5 | ||
export PROCTOR_KUBE_LOG_PROCESS_WAIT_TIME=60 | ||
export PROCTOR_POSTGRES_USER=postgres | ||
export PROCTOR_POSTGRES_PASSWORD= | ||
export PROCTOR_POSTGRES_HOST=localhost | ||
export PROCTOR_POSTGRES_PORT=5432 | ||
export PROCTOR_POSTGRES_DATABASE=proctord_test | ||
export PROCTOR_POSTGRES_MAX_CONNECTIONS=50 | ||
export PROCTOR_POSTGRES_CONNECTIONS_MAX_LIFETIME=30 | ||
export PROCTOR_NEW_RELIC_APP_NAME="PROCTORD" | ||
export PROCTOR_NEW_RELIC_LICENCE_KEY="nrnrnrnrnrnrnrnrnrnrnrnrnrnrnrnrnrnrnrnr" | ||
export PROCTOR_MIN_CLIENT_VERSION="v0.2.0" | ||
export PROCTOR_SCHEDULED_JOBS_FETCH_INTERVAL_IN_MINS="5" | ||
export PROCTOR_MAIL_USERNAME="user@mail.com" | ||
export PROCTOR_MAIL_PASSWORD="password" | ||
export PROCTOR_MAIL_SERVER_HOST="smtp.mail.com" | ||
export PROCTOR_MAIL_SERVER_PORT="123" | ||
export PROCTOR_JOB_POD_ANNOTATIONS="{\"key.one\":\"true\"}" | ||
export PROCTOR_SENTRY_DSN="foo" | ||
export PROCTOR_DOCS_PATH="/path/to/docs/dir" | ||
|
||
export PROCTOR_NEW_RELIC_APP_NAME=PROCTORD | ||
export PROCTOR_NEW_RELIC_LICENCE_KEY=0123456789012345678901234567890123456789 | ||
export PROCTOR_MIN_CLIENT_VERSION=v2.0.0 | ||
export PROCTOR_SCHEDULED_JOBS_FETCH_INTERVAL_IN_MINS=5 | ||
export PROCTOR_MAIL_USERNAME=user@mail.com | ||
export PROCTOR_MAIL_PASSWORD=password | ||
export PROCTOR_MAIL_SERVER_HOST=smtp.mail.com | ||
export PROCTOR_MAIL_SERVER_PORT=123 | ||
export PROCTOR_JOB_POD_ANNOTATIONS={\"key.one\":\"true\"} | ||
export PROCTOR_DOCS_PATH=/path/to/docs/dir | ||
export PROCTOR_AUTH_PLUGIN_BINARY= | ||
export PROCTOR_AUTH_PLUGIN_EXPORTED=GateAuth | ||
export PROCTOR_AUTH_ENABLED=false | ||
export PROCTOR_NOTIFICATION_PLUGIN_BINARY= | ||
export PROCTOR_NOTIFICATION_PLUGIN_EXPORTED=SlackNotification | ||
export PROCTOR_REQUIRED_ADMIN_GROUP=proctor_admin |
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,16 +1,12 @@ | ||
|
||
|
||
homebrew-gojek | ||
scripts/proctor.rb | ||
_output/* | ||
|
||
proctord | ||
.env | ||
|
||
proctord | ||
|
||
*.swp | ||
*.swo | ||
.idea | ||
.DS_Store | ||
.vscode/ | ||
.vscode/ | ||
dist/ |
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,4 +1,6 @@ | ||
# Proctor Team | ||
|
||
* [Akshat](//github.com/olttwa) | ||
* [Jasoet](//github.com/jasoet) | ||
* [Bimo Horizon](//github.com/bimozx) | ||
|
||
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,18 @@ | ||
FROM golang:1.12 AS builder | ||
WORKDIR /go/src/app | ||
COPY . . | ||
RUN make plugin.auth | ||
RUN make plugin.slack | ||
RUN make server | ||
|
||
FROM ubuntu:latest | ||
RUN apt-get update | ||
RUN apt-get install -y ca-certificates | ||
WORKDIR /app/ | ||
COPY --from=builder /go/src/app/_output/bin/server . | ||
COPY --from=builder /go/src/app/_output/bin/plugin/auth.so . | ||
COPY --from=builder /go/src/app/_output/bin/plugin/slack.so . | ||
COPY --from=builder /go/src/app/migrations ./migrations | ||
|
||
ENTRYPOINT ["./server"] | ||
CMD ["s"] |
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add William Dembo + all users from git history