pagerduty-slack-ic-sync

command module
v0.0.0-...-ad16c33 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

README

pagerduty-slack-ic-sync

Sync a given slack handle to update to who is oncall

Docker Repository on Quay

Installation

You can choose from the following three options:

  1. go install
  2. run in a container
  3. build from source
Go install

The go way, requires you to have a working go installation. After that you can run the following command:

go install github.com/RiRa12621/pagerduty-slack-ic-sync@latest

If you have you $GOPATH added to your $PATH, you will be able to use it right away. Otherwise, you still need to move it to your path.

Container

There is a container image available for you to use like so:

docker run -ti --rm quay.io/rira12621/pagerduty-slack-ic-sync <flags>
From Source

You can build the tool from source and then run it:

git clone git@github.com:RiRa12621/pagerduty-slack-ic-sync.git
cd pagerduty-slack-ic-sync
go build -o pagerduty-slack-ic-sync
./pagerduty-slack-ic-sync

Running

This tool requires a chunk of parameters that are all mandatory:

  • --schedule=
  • --pd-token=
  • --slack-toke=
  • --alias=

With those parameters set, you can run the tool:

pagerduty-slack-ic-sync --schedule=ABCD --pd-token=asda123541asdf --slack-token=asdf987987asdf987asdf --alias=ASDFF

Documentation

Overview

Copyright © 2022 Rick Rackow <rick+cobra@rackow.io>

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL