You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+39-1Lines changed: 39 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,45 @@
2
2
3
3
All notable changes to the Carbon Aware SDK will be documented in this file.
4
4
5
-
## [1.1.0] - 2023-18-07
5
+
## [1.2.0] - 2024-01
6
+
7
+
### Added
8
+
9
+
-[#381 Add Helm chart and workflow](https://github.com/Green-Software-Foundation/carbon-aware-sdk/pull/381)
10
+
- New package release for Helm charts available at https://github.com/Green-Software-Foundation/carbon-aware-sdk/pkgs/container/charts%2Fcarbon-aware-sdk
11
+
12
+
### Fixed
13
+
14
+
-[#232 Generating SDK client does not work on linux](https://github.com/Green-Software-Foundation/carbon-aware-sdk/issues/232)
- Improved process leveraging the project boards at https://github.com/orgs/Green-Software-Foundation/projects/15/views/2
39
+
40
+
41
+
For more details, checkout [https://github.com/Green-Software-Foundation/carbon-aware-sdk/issues/232](https://github.com/Green-Software-Foundation/carbon-aware-sdk/issues?q=label%3Av1.2+is%3Aclosed+)
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+40-8Lines changed: 40 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,25 +1,52 @@
1
1
# GSF Member Contribution Guide
2
2
3
-
Welcome to the GSF Carbon Aware SDK, and thank you for contributing to this
3
+
Welcome to the GSF Carbon Aware SDK, and thank you for your interest in contributing to this
4
4
project. This guide outlines the steps for working within the Carbon Aware SDK
5
5
and the approved contribution process that members should follow.
6
6
7
-
**Please contact the project owners for individual contributions. Working Group
8
-
meetings and the internal communication channels are only open to GSF Members.**
7
+
#### _Before contributing, please read the [GSF Opensource Working Group charter](https://github.com/Green-Software-Foundation/charter/blob/main/charter.md). Any contributions must comply with the charter._ ####
9
8
10
9
## Table of Contents
11
10
12
11
-[GSF Member Contribution Guide](#gsf-member-contribution-guide)
-[Collaborating with the OSWG](#collaborating-with-the-opensource-working-group)
16
18
17
-
## Summary Steps
19
+
## Current Opportunities
20
+
We have opportunities for both code and non code contributors.
18
21
19
-
For the following:
22
+
We're currently looking for contributions in the following areas:
23
+
1. Sample Creation
24
+
2. Documentation Updates, including getting docusaurus up and running
25
+
3. Video Content Creation (how to enable, demos etc)
26
+
4. Slide Deck Creation, available for presenter use, including real time video demo
27
+
28
+
## How To Get Started
29
+
Introduce yourself on on our [discussions page](https://github.com/orgs/Green-Software-Foundation/discussions/65) and let us know where you think you can help.
30
+
Find the Project Key contacts in the [Confluence page](https://greensoftwarefoundation.atlassian.net/wiki/spaces/~612dd45e45cd76006a84071a/pages/17137665/Opensource+Carbon+Aware+SDK).
31
+
32
+
If you are a GSF member organisation employee, you should:
33
+
Fill out the [Onboarding form](https://greensoftware.foundation/onboarding/) if you are new to the GSF; or
34
+
Fill out the [Subscribe form](https://greensoftware.foundation/subscribe/) if you are already part of the GSF but want to join this project.
35
+
Following this, you'll receive an invite to join the Carbon Aware SDK Weekly Meeting.
36
+
Only members of the foundation can join meetings and internal conversations.
37
+
38
+
If you are NOT a GSF member organisation employee, individual contributions are still welcome on our public Github repo eg. raising PRs, joining discussions.
39
+
40
+
Only our Project Leads have the right to merge PRs.
41
+
42
+
Any questions, email help@greensoftware.foundation.
43
+
44
+
## Code Contribution Steps
45
+
46
+
For the following code contribution:
20
47
21
48
"Member and "Contributor" refer to the GSF member looking to make a feature
22
-
contribution. "Chair" refers to the Chair, Co-Chair or other accountable
49
+
code contribution. "Chair" refers to the Chair, Co-Chair or other accountable
23
50
authority within GSF.
24
51
25
52
1. Submit a Public Issue using the Issue Template
@@ -34,6 +61,11 @@ authority within GSF.
34
61
for Review" state
35
62
7. If the Chair accepts the PR, it merges into `GSF/carbon-aware-sdk/dev`
36
63
64
+
### Project Release Schedule:
65
+
At most once per month.
66
+
As frequent as possible.
67
+
We prioritise Security release over Feature release. Documentation release is not restricted.
68
+
37
69
## Public Issues
38
70
39
71
All contributions to the GSF are tracked through public issues. Please make a
@@ -43,7 +75,7 @@ issue serves as a commitment by the contributor to developing the feature.
43
75
The Issue is **not** a feature request, but tracks expected feature work. Please
44
76
do **not** open an issue to request features.
45
77
46
-
## Collaborating With the WG
78
+
## Collaborating With The [Opensource Working Group](https://github.com/Green-Software-Foundation/opensource-wg)
`values.yaml` should contain `appsettings.json` which would be used in Web API at least. It should include data source definitions and their credentials. It would be stored as `Secret` resource.
234
+
235
+
```yaml
236
+
appsettings: |-
237
+
{
238
+
"DataSources": {
239
+
"EmissionsDataSource": "WattTime",
240
+
"ForecastDataSource": "WattTime",
241
+
"Configurations": {
242
+
"WattTime": {
243
+
"Type": "WattTime",
244
+
"Username": "username",
245
+
"Password": "password",
246
+
"BaseURL": "https://api2.watttime.org/v2/"
247
+
}
248
+
}
249
+
}
250
+
}
251
+
```
252
+
253
+
Also you can include following configuration into `values.yaml`.
# You can set specified tag (equivalent with the SDK version in here)
263
+
tag: latest
264
+
265
+
# Set the value if you want to override the name.
266
+
nameOverride: ""
267
+
fullnameOverride: ""
268
+
269
+
serviceAccount:
270
+
# Specifies whether a service account should be created
271
+
create: true
272
+
# Annotations to add to the service account
273
+
annotations: {}
274
+
# The name of the service account to use.
275
+
# If not set and create is true, a name is generated using the fullname template
276
+
name: ""
277
+
278
+
podAnnotations: {}
279
+
280
+
podSecurityContext: {}
281
+
# fsGroup: 2000
282
+
283
+
securityContext: {}
284
+
# capabilities:
285
+
# drop:
286
+
# - ALL
287
+
# readOnlyRootFilesystem: true
288
+
# runAsNonRoot: true
289
+
# runAsUser: 1000
290
+
291
+
service:
292
+
type: ClusterIP
293
+
port: 80
294
+
295
+
ingress:
296
+
enabled: false
297
+
className: ""
298
+
annotations: {}
299
+
hosts:
300
+
- host: carbon-aware-sdk.local
301
+
paths:
302
+
- path: /
303
+
pathType: ImplementationSpecific
304
+
tls: []
305
+
# - secretName: carbon-aware-sdk-tls
306
+
# hosts:
307
+
# - carbon-aware-sdk.local
308
+
309
+
resources: {}
310
+
# limits:
311
+
# cpu: 100m
312
+
# memory: 128Mi
313
+
# requests:
314
+
# cpu: 100m
315
+
# memory: 128Mi
316
+
317
+
autoscaling:
318
+
enabled: false
319
+
minReplicas: 1
320
+
maxReplicas: 100
321
+
targetCPUUtilizationPercentage: 80
322
+
# targetMemoryUtilizationPercentage: 80
323
+
324
+
nodeSelector: {}
325
+
326
+
tolerations: []
327
+
328
+
affinity: {}
329
+
330
+
# appsettings.json
331
+
appsettings: |-
332
+
{
333
+
"DataSources": {
334
+
"EmissionsDataSource": "ElectricityMaps",
335
+
"ForecastDataSource": "WattTime",
336
+
"Configurations": {
337
+
"WattTime": {
338
+
"Type": "WattTime",
339
+
"Username": "username",
340
+
"Password": "password",
341
+
"BaseURL": "https://api2.watttime.org/v2/",
342
+
"Proxy": {
343
+
"useProxy": true,
344
+
"url": "http://10.10.10.1",
345
+
"username": "proxyUsername",
346
+
"password": "proxyPassword"
347
+
}
348
+
},
349
+
"ElectricityMaps": {
350
+
"Type": "ElectricityMaps",
351
+
"APITokenHeader": "auth-token",
352
+
"APIToken": "myAwesomeToken",
353
+
"BaseURL": "https://api.electricitymap.org/v3/"
354
+
}
355
+
}
356
+
}
357
+
}
358
+
```
359
+
360
+
The video in below is demonstration to install Carbon Aware SDK via Helm. Note that installing the SDK from local directory ( ~/github-forked/carbon-aware-sdk/helm-chart ), not an OCI container.
361
+
362
+
[!Demonstration to intall Carbon Aware SDK from local with Helm](https://github.com/Green-Software-Foundation/carbon-aware-sdk/assets/7421132/b09d8ab1-642b-442a-882f-abc802153070)
0 commit comments