File tree Expand file tree Collapse file tree 10 files changed +108
-3
lines changed
experimenter/experimenter/features/manifests Expand file tree Collapse file tree 10 files changed +108
-3
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ jetstream_config:
98
98
rm -Rf experimenter/experimenter/segments/metric-hub-main/.script/
99
99
100
100
feature_manifests : build_dev
101
- $(COMPOSE_RUN ) -e GITHUB_BEARER_TOKEN=$(GITHUB_BEARER_TOKEN ) experimenter /experimenter/bin/manifest-tool.py fetch $(FETCH_ARGS )
101
+ $(COMPOSE_RUN ) --no-deps - e GITHUB_BEARER_TOKEN=$(GITHUB_BEARER_TOKEN ) experimenter /experimenter/bin/manifest-tool.py fetch $(FETCH_ARGS )
102
102
103
103
install_nimbus_cli : # # Install Nimbus client
104
104
mkdir -p $(CLI_DIR )
@@ -283,7 +283,7 @@ CIRRUS_COVERAGE_JSON := $(TEST_RESULTS_DIR)/$(TEST_FILE_PREFIX)unit__coverage.js
283
283
CIRRUS_JUNIT_XML := $(TEST_RESULTS_DIR ) /$(TEST_FILE_PREFIX ) integration__results.xml
284
284
285
285
cirrus_build : build_megazords
286
- $(CIRRUS_ENABLE ) $(DOCKER_BUILD ) --target deploy -f cirrus/server/Dockerfile -t cirrus:deploy cirrus/server/
286
+ $(CIRRUS_ENABLE ) $(DOCKER_BUILD ) --target deploy -f cirrus/server/Dockerfile -t cirrus:deploy --build-context=fml=experimenter/experimenter/features/manifests/ cirrus/server/
287
287
288
288
cirrus_build_test : build_megazords
289
289
$(CIRRUS_ENABLE ) $(COMPOSE_TEST ) build cirrus
Original file line number Diff line number Diff line change @@ -51,6 +51,9 @@ COPY --from=python-builder /usr/local/bin /usr/local/bin
51
51
52
52
ENV PYTHONPATH=$PYTHONPATH:/application-services
53
53
54
+ # Copy fml files
55
+ COPY --from=fml . /fml/
56
+
54
57
# Copy all other files into the container's working directory
55
58
COPY . .
56
59
Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ version: "3"
3
3
services :
4
4
cirrus :
5
5
build :
6
+ additional_contexts :
7
+ - fml=experimenter/experimenter/features/manifests/
6
8
context : cirrus/server/
7
9
dockerfile : Dockerfile
8
10
env_file : .env
Original file line number Diff line number Diff line change @@ -22,7 +22,8 @@ services:
22
22
cirrus :
23
23
env_file : .env.test
24
24
build :
25
+ additional_contexts :
26
+ - fml=experimenter/experimenter/features/manifests/
25
27
context : cirrus/server/
26
28
dockerfile : Dockerfile
27
29
working_dir : /cirrus
28
-
Original file line number Diff line number Diff line change @@ -133,3 +133,11 @@ firefox_desktop:
133
133
- " release"
134
134
- " esr115"
135
135
- " esr128"
136
+
137
+ experimenter_cirrus :
138
+ slug : " experimenter"
139
+ repo :
140
+ type : " github"
141
+ name : " mozilla/experimenter"
142
+ default_branch : relud-cirrus-fml
143
+ fml_path : " experimenter/experimenter/features/manifests/experimenter/nimbus.fml.yaml"
Original file line number Diff line number Diff line change
1
+ ---
2
+ version : 1.0.0
3
+ about :
4
+ description : Nimbus Feature Manifest for Experimenter Web testing
5
+ channels :
6
+ - dev
7
+ features :
8
+ example-feature :
9
+ description : An example feature.
10
+ variables :
11
+ emoji :
12
+ description : An emoji to show for this treatment.
13
+ type : Option<String>
14
+ default : ❤️
15
+ enabled :
16
+ description : If the feature is enabled.
17
+ type : Boolean
18
+ default : false
Original file line number Diff line number Diff line change
1
+ ---
2
+ example-feature :
3
+ description : An example feature.
4
+ hasExposure : true
5
+ exposureDescription : " "
6
+ variables :
7
+ emoji :
8
+ type : string
9
+ description : An emoji to show for this treatment.
10
+ enabled :
11
+ type : boolean
12
+ description : If the feature is enabled.
Original file line number Diff line number Diff line change
1
+ about :
2
+ description : Nimbus Feature Manifest for Experimenter Web testing
3
+ channels :
4
+ - dev
5
+ - staging
6
+ - production
7
+ features :
8
+ example-feature :
9
+ description : An example feature.
10
+ variables :
11
+ emoji :
12
+ description : An emoji to show for this treatment.
13
+ type : Option<String>
14
+ default : ❤️
15
+ enabled :
16
+ description : If the feature is enabled.
17
+ type : Boolean
18
+ default : false
19
+ defaults :
20
+ - channel : dev
21
+ value : { "enabled": false }
22
+ - channel : staging
23
+ value : { "enabled": false }
24
+ - channel : production
25
+ value : { "enabled": false }
Original file line number Diff line number Diff line change
1
+ ---
2
+ version : 1.0.0
3
+ about :
4
+ description : Nimbus Feature Manifest for Experimenter Web testing
5
+ channels :
6
+ - production
7
+ features :
8
+ example-feature :
9
+ description : An example feature.
10
+ variables :
11
+ emoji :
12
+ description : An emoji to show for this treatment.
13
+ type : Option<String>
14
+ default : ❤️
15
+ enabled :
16
+ description : If the feature is enabled.
17
+ type : Boolean
18
+ default : false
Original file line number Diff line number Diff line change
1
+ ---
2
+ version : 1.0.0
3
+ about :
4
+ description : Nimbus Feature Manifest for Experimenter Web testing
5
+ channels :
6
+ - staging
7
+ features :
8
+ example-feature :
9
+ description : An example feature.
10
+ variables :
11
+ emoji :
12
+ description : An emoji to show for this treatment.
13
+ type : Option<String>
14
+ default : ❤️
15
+ enabled :
16
+ description : If the feature is enabled.
17
+ type : Boolean
18
+ default : false
You can’t perform that action at this time.
0 commit comments