Skip to content

Commit

Permalink
Merge branch 'main' into fix-oidc-timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
Vad1mo authored Oct 8, 2023
2 parents c9e04be + 950f19e commit f4fa502
Show file tree
Hide file tree
Showing 61 changed files with 3,508 additions and 3,160 deletions.
2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ git fetch $USER
```
**NOTES:** Note that GOPATH can be any directory, the example above uses $HOME/go. Change $USER above to your own GitHub username.

### Build Project

To build the project, please refer the [build](https://goharbor.io/docs/edge/build-customize-contribute/compile-guide/) guideline.

### Repository Structure
Expand Down
1 change: 1 addition & 0 deletions make/migrations/postgresql/0130_2.10.0_schema.up.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DROP TABLE IF EXISTS harbor_resource_label;
6 changes: 3 additions & 3 deletions make/photon/prepare/migrations/version_2_8_0/harbor.yml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,10 @@ storage_service:
{% elif key == 'redirect' %}
# # set disable to true when you want to disable registry redirect
redirect:
{% if value.disabled is not none %}
disable: {{ value.disabled }}
{% if storage_service.redirect.disabled is defined %}
disable: {{ storage_service.redirect.disabled | lower}}
{% else %}
disable: {{ value.disable }}
disable: {{ storage_service.redirect.disable | lower}}
{% endif %}
{% else %}
# # storage backend, default is filesystem, options include filesystem, azure, gcs, s3, swift and oss
Expand Down
6 changes: 3 additions & 3 deletions make/photon/prepare/migrations/version_2_9_0/harbor.yml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,10 @@ storage_service:
{% elif key == 'redirect' %}
# # set disable to true when you want to disable registry redirect
redirect:
{% if value.disabled is not none %}
disable: {{ value.disabled }}
{% if storage_service.redirect.disabled is defined %}
disable: {{ storage_service.redirect.disabled | lower}}
{% else %}
disable: {{ value.disable }}
disable: {{ storage_service.redirect.disable | lower}}
{% endif %}
{% else %}
# # storage backend, default is filesystem, options include filesystem, azure, gcs, s3, swift and oss
Expand Down
130 changes: 0 additions & 130 deletions src/common/dao/resource_label.go

This file was deleted.

100 changes: 0 additions & 100 deletions src/common/dao/resource_label_test.go

This file was deleted.

1 change: 0 additions & 1 deletion src/common/models/base.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import (
func init() {
orm.RegisterModel(
new(Role),
new(ResourceLabel),
new(OIDCUser),
)
}
43 changes: 0 additions & 43 deletions src/common/models/label.go

This file was deleted.

Loading

0 comments on commit f4fa502

Please sign in to comment.