Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Levick <[email protected]>
  • Loading branch information
rylev committed Sep 24, 2024
1 parent 15e6a32 commit 8a808eb
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion containerd-shim-spin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spin-trigger = { git = "https://github.com/fermyon/spin", rev = "485b04090644ecf
] }
spin-trigger-http = { git = "https://github.com/fermyon/spin", rev = "485b04090644ecfda4d0034891a5feca9a90332c" }
spin-trigger-redis = { git = "https://github.com/fermyon/spin", rev = "485b04090644ecfda4d0034891a5feca9a90332c" }
trigger-mqtt = { git = "https://github.com/rylev/spin-trigger-mqtt", rev = "4f6bf7e6783833dc344078d3096b171b43e09f57" }
trigger-mqtt = { git = "https://github.com/spinkube/spin-trigger-mqtt", rev = "4c76e52dc5d3e7961c7b4d4933543c1adb2778cf" }
trigger-sqs = { git = "https://github.com/fermyon/spin-trigger-sqs", rev = "71877907ebd822bb1aacf7a20065733b7cd188dc" }
trigger-command = { git = "https://github.com/fermyon/spin-trigger-command", rev = "db55291552233e04189275a2dd82c07e5fa4fdf2" }
spin-manifest = { git = "https://github.com/fermyon/spin", rev = "485b04090644ecfda4d0034891a5feca9a90332c" }
Expand Down
5 changes: 3 additions & 2 deletions containerd-shim-spin/src/engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,6 @@ impl SpinEngine {
app: LockedApp,
app_source: Source,
) -> Result<()> {
let mut futures_list = Vec::new();
let mut trigger_type_map = Vec::new();
let mut loader = spin_trigger::loader::ComponentLoader::default();
match app_source {
Source::Oci => unsafe {
Expand All @@ -167,6 +165,9 @@ impl SpinEngine {
// `spin registry push`
Source::File(_) => {}
};

let mut futures_list = Vec::new();
let mut trigger_type_map = Vec::new();
for trigger_type in trigger_types.iter() {
let app = spin_app::App::new("TODO", app.clone());
let f = match trigger_type.as_str() {
Expand Down
4 changes: 2 additions & 2 deletions containerd-shim-spin/src/trigger.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ use spin_trigger::{
};
use spin_trigger_http::HttpTrigger;
use spin_trigger_redis::RedisTrigger;

use crate::constants::{RUNTIME_CONFIG_PATH, SPIN_TRIGGER_WORKING_DIR};
use trigger_command::CommandTrigger;
use trigger_mqtt::MqttTrigger;
use trigger_sqs::SqsTrigger;

use crate::constants::{RUNTIME_CONFIG_PATH, SPIN_TRIGGER_WORKING_DIR};

pub(crate) const HTTP_TRIGGER_TYPE: &str = <HttpTrigger as Trigger<TriggerFactors>>::TYPE;
pub(crate) const REDIS_TRIGGER_TYPE: &str = <RedisTrigger as Trigger<TriggerFactors>>::TYPE;
pub(crate) const SQS_TRIGGER_TYPE: &str = <SqsTrigger as Trigger<TriggerFactors>>::TYPE;
Expand Down
1 change: 1 addition & 0 deletions images/spin_dotnet/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
obj

0 comments on commit 8a808eb

Please sign in to comment.