-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: added docker for actions #270
Conversation
Atlas Lint ReportAnalyzed migrations2
Migrations automatically reviewed by Atlas |
|
Atlas Lint ReportAnalyzed migrations
Migrations automatically reviewed by Atlas |
Atlas detected changes to the desired schemaMigration Plan (View on Atlas Cloud)-- Create "t1" table
CREATE TABLE `t1` (
`c1` integer NOT NULL
);
-- Create "t2" table
CREATE TABLE `t2` (
`c1` integer NOT NULL
);
-- Create "t3" table
CREATE TABLE `t3` (
`c1` integer NOT NULL,
`c2` integer NOT NULL
); Atlas lint results
📝 Steps to edit this migration plan1. Run the following command to pull the generated plan to your local workstation: atlas schema plan pull --url "atlas://atlas-action/plans/pr-267-R1cGcSfo" > pr-267-R1cGcSfo.plan.hcl 2. Open 3. Push the updated plan to the registry using the following command: atlas schema plan push --pending --env test --file pr-267-R1cGcSfo.plan.hcl 4. Re-trigger the gh run rerun 12276272324 |
7f9ab3b
to
19234a3
Compare
@@ -67,7 +67,7 @@ func (v VersionFlag) BeforeReset(app *kong.Kong) error { | |||
|
|||
// RunActionCmd is a command to run one of the Atlas GitHub Actions. | |||
type RunActionCmd struct { | |||
Action string `help:"Command to run" required:""` | |||
Action string `help:"Command to run" required:"" env:"ATLAS_ACTION"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change allows invoking the action via the env variable, which is convenient for BB case.
docker run -e CI=true -e ATLAS_ACTION=schema/push arigaio/atlas-action
No description provided.